Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!
Deep Sea Disconnect Protection

Deep Sea Disconnect Protection 1.0.0

Sign in to download
Teleports sleeping players out of the Deep Sea before it wipes so they don't die offline
The Deep Sea wipes on a timer, and any player still inside when it closes is killed. Players who disconnect while inside often come back to find their sleeper was destroyed along with the monument, losing gear and loot through no fault of their own.

This plugin listens for the Deep Sea wipe event and, just before it happens, moves every sleeping player inside the zone to the main island. When those players reconnect, they spawn safely on land with their inventory intact and receive an optional notification explaining what happened.


Permissions

  • deepseadisconnectprotection.use -- Required for a sleeping player to be rescued, but only if Require Permission To Be Protected is enabled in the config. When that setting is false, all sleepers are rescued regardless of permission

Configuration

JSON:
{
  "Version": "1.0.0",
  "Require Permission To Be Protected": false,
  "Notify Player On Reconnect": true,
  "Log Rescues To Console": true
}
  • Require Permission To Be Protected -- When true, only sleepers with the deepseadisconnectprotection.use permission are rescued. When false, every sleeper inside the Deep Sea is rescued. See Permissions
  • Notify Player On Reconnect -- When true, rescued players receive a chat message the next time they log in, explaining their body was moved. When false, they are moved silently
  • Log Rescues To Console -- When true, each rescue is printed to the server console with the player's name, Steam ID, and a summary count

Stored Data

JSON:
{
  "Pending Rescue Notifications": [
    76561198000000000
  ]
}
  • Pending Rescue Notifications -- List of Steam ids for players who were rescued while offline and still need to be notified on their next connection. Once the notification is delivered, the id is removed from this list

Localization

JSON:
{
  "Info.RescuedNotice": "You were automatically teleported out of the Deep Sea before it wiped while you were offline. Your body is now on the main island."
}
Author
VisEntities
Downloads
3
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart