> ## Documentation Index
> Fetch the complete documentation index at: https://lationscripts.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Scuba Diving - Changelog

> A chronological log of every release, feature addition, and bug fix

<Update label="2.2.1">
  * **Performance Improvements**
    * A complete refactor has been done to the item metadata handling system. As a result of this change, we've measured a nearly \~99% reduction in server-side usage during load.
    * This update is non-vital. However, if you have a high population server (150+ players) it is recommended to update. For anyone else, it's not important, but still a nice improvement and reduction on your server resources.

  ```text changed-files theme={null}
  client/functions.lua
  client/main.lua
  server/functions.lua
  server/main.lua
  fxmanifest.lua
  ```
</Update>

<Update label="2.2.0">
  * Added tgiann-inventory & jaksam\_inventory support
  * Added MrNewbVehicleKeys support
  * Added a new empty `DivingStopped()` function for custom integrations
  * Added a new empty `CanOpenMenu()` function for custom integrations
  * Added a new config option to assign max group member limit
  * Added a new config option for distance checks when adding members to your group (*to require every player to be at the diving start location, disabled by default*)

  ```Changed changed-files theme={null}
  bridge/client.lua
  bridge/server.lua
  client/functions.lua
  client/main.lua
  server/functions.lua
  server/main.lua
  config/shared.lua
  locales/*.json
  fxmanifest.lua
  ```
</Update>

<Update label="2.1.0" description="Oct 5, 2025">
  Added hideNames option in config\
  Added crate collected empty function\
  Added config option to enable/disable continue diving prompt\
  Added exports.lation\_diving:isGearEquipped() export
</Update>

<Update label="2.0.6" description="Aug 17, 2025">
  Added optional pawn shop (sell shop)\
  Added de & nl.json translation(s)\
  Fixed miscalculation on cords
</Update>

<Update label="2.0.5" description="Jul 2, 2025">
  Maintenance release for lation\_ui
</Update>

<Update label="2.0.4" description="May 15, 2025">
  Fixed female clothing not working as expected\
  Fixed typo\
  Added highlight crate(s) when nearby (optional)
</Update>

<Update label="2.0.3" description="Apr 21, 2025">
  Fix flawed conditional logic in completePurchase function to allow for custom peds/opening menu/using shop
</Update>

<Update label="2.0.2" description="Apr 14, 2025">
  Added getLevelData export\
  Fix errors when disabling default start ped (coords = false)
</Update>

<Update label="2.0.1" description="Apr 3, 2025">
  Incorrect distance check
</Update>

<Update label="2.0.0" description="Apr 2, 2025">
  Initial v2 release
</Update>
