Allows players with permission to be teleported back "home" on disconnect.

Supported Games
GameServerKingsGameServerKings

Disconnect To Home allows players with permission to be teleported back to their home foundation or floor when they disconnect.

Permissions

  • disconnecttohome.use - Gives players the permission to use the plugin commands.

Commands

  • /disconnecthere (set/remove) - Sets or removes the players disconnect location.

Localization

{
  "BuildingBlocked": "You are building blocked and may not set your disconnect location.",
  "LocationSetAlready": "You have already set a location. If you wish to update it, please type /disconnecthere remove then set it again.",
  "ValidArgs": "/disconnecthere set - Sets your disconnect location.\n/disconnecthere remove - Removes your disconnect location.",
  "DisconnectRemoved": "Your disconnect location has been removed.",
  "DisconnectAdded": "Your disconnect location has been set as your current location.",
  "LocationNotSet": "You have not yet set a location! Please do /disconnecthere set.",
  "HomeTeleported": "You have been teleported back to your set location.",
  "NoPerm": "You do not have the permissions to use this command.",
  "FoundationOrFloor": "You must be on a foundation or a floor."
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

MIT License

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.