CenterSpawn
DESCRIPTION:
Designed for a server called "Vintage" and now brought to you as a stand-alone plugin, this allows players with permission to create a world center specific spawn point, that of which when a player leaves the configurable spawn border they lose spawn protection, during the period of protection a player is invulnerable to all mob and player damage and the only way for the player to lose that protection is by walking past the border or attacking a player without the spawn protection tag. While within spawn border you are also unable to build or place blocks.
Clans is a soft dependent with CenterSpawn, upon teleporting to spawn around only clan member(s) the 10 second warp delay will become absent.
COMMANDS & INTERFACE:






/spawn,start - If a player enter's this command without permission 'spawn.*' they will teleport to spawn. Otherwise showing the help menu.
/spawn,start goto - default /spawn - teleport command for players with permission 'spawn.*'
/spawn,start check <player> - Checking a targeted player for spawn protection
/spawn,start set|create - If centered at 0 in the world and permission granted will set/reconfigure spawn point.
/spawn,start del|delete - If centered at 0 in the world and permission granted will remove set spawn point.
/spawn,start prefix <set> <prefix> - If permission granted will set prefix for plugin messages
/spawn,start warn <set> <East> <West> <South> <North> - If permission granted will update the border warning message distance to be displayed.
/spawn,start border <set> <East> <West> <South> <North> - If permission granted will update the border message distance to be displayed.
/spawn,start re - If permission granted will reload all plugin configuration files.
CONFIGURATION EXAMPLE:
Once you set your server's spawn point in game, a new directory called 'cords' will appear in configuration.
PERMISSION:
spawn.* - Grants permission to spawn help menu/staff access.
API:
isProtected(player)
- Boolean: Checks if a player has spawn protection. Useful for scoreboards etc.
TO-DO:
- Add configurable sounds for chat prompts
- Add command to configure worldborder in-game.
- Implement worldborder teleport event adjustments
Comments