Underworld teleports admins/developer under the world when they disconnect. If configured, admins and developers will be teleported back to land and vanished after waking up. Optionally, admins and developers health, calories, and hydration can be set to max upon waking up if enabled in the config file.
Permissions
underworld.blocked
-- Block admins/devs from using the plugin if they have this permissionunderworld.use
-- Grants full access to the plugin. Does not bypass being blocked.
Chat Commands
/uw save
-- Toggle saving and stripping inventory on disconnect/uw set <x y z>
-- Set log out position. Can specify coordinates. If accepted then they will be used instead/uw reset
-- Reset log out position to be underground unless a position is configured in the config file/uw wakeup
-- Toggle waking up on land/uw noclip
-- Toggle auto noclip on reconnect/uw g
-- Teleport to the ground
Configuration
All options can be configured per user. You can override the saving of inventories by disabling it in the config file.
Saved inventories will be deleted if you log out naked, but not if you log out dead.
A blacklist is available for specific items to not be saved via the config file. Use an itemid or shortname.
{
"Settings": {
"Allow Save And Strip Admin Inventory On Disconnect": true,
"Auto Vanish On Connect": true,
"Blacklist": [
"2080339268",
"can.tuna.empty"
],
"Default Teleport To Position On Disconnect": "(0, 0, 0)",
"Set Health, Hunger and Thirst to Max": false
}
}
Stored Data
This plugin stores data in the data/Underworld.json
file to keep track of players in the underworld along with their inventory. This file should not be deleted in most cases unless you want the inventory stored there to be lost.
Localization
MIT License
Copyright (c) 2020 nivex
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.