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.
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 ifRequire Permission To Be Protectedis enabled in the config. When that setting isfalse, 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-- Whentrue, only sleepers with thedeepseadisconnectprotection.usepermission are rescued. Whenfalse, every sleeper inside the Deep Sea is rescued. See PermissionsNotify Player On Reconnect-- Whentrue, rescued players receive a chat message the next time they log in, explaining their body was moved. Whenfalse, they are moved silentlyLog Rescues To Console-- Whentrue, 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."
}