Changelog
Every scuba diving release, newest first, with what it added, changed and fixed.
Lighter on the server: the air in a diver's scuba gear is now counted in memory while they're underwater and written to the item at set moments. Recommended for servers of 150 players or more.
Changed
- The air in worn scuba gear is tracked on the server while the diver is underwater and saved to the item when they surface, take the gear off, leave the server or the resource stops. The release measured close to 99% less server time spent on gear under load.
- If you edited
client/functions.luaorserver/functions.lua, merge your changes into the new files.
Two more inventories, another keys script, group limits and two functions for your own code.
Added
tgiann-inventoryandjaksam_inventory, detected on their own. See requirements.MrNewbVehicleKeysfor the rental boat's keys.start.groupLimit: the most players in a group, the leader included. Off by default.start.addMemberDistCheck: the leader and the player being added must both be at the clerk. Off by default.CanOpenMenuinclient/functions.lua: returnfalseto keep the menu shut.DivingStoppedinserver/functions.lua: called when a group's dive ends.
Changed
bridge/client.lua,bridge/server.lua,client/functions.lua,server/functions.lua,config/shared.luaand the locales changed. If you kept edited copies, merge your changes into the new files.
Hidden names in groups, a switch for the Continue Diving? prompt, and a function and an export for your own code.
Added
setup.hideNames: group members listed by server id instead of character name.start.continue: turn off the Continue Diving? prompt after the last crate.CrateCollectedinserver/functions.lua: called each time a player picks up a crate.- The client export
isGearEquipped.
Maintenance for [lation ui](/docs/ui).
The `getLevelData` export, and a fix for running without the clerk.
Added
- The client and server export
getLevelData.
Fixed
- Turning the clerk off with
start.coords = falseno longer causes errors.
The first release of version 2.
Still stuck? Ask in our Discord: the people who write the scripts answer.
Last updated