SpigotVoidReturn stops players falling past a specified y-level in your world. Perfect for lobby parkour or floating island lobbies. This is all per-world so it should play nicely with other things.
Permissions
svoid.admin.toggle - /svoid enable/disable
svoid.admin.setylevel - /svoid setylevel
svoid.admin.setfallback - /svoid setfallback
svoid.admin.reload - /svoid reload
No other permissions
Per Gamemode Support
This plugin supports only enabling for certain gamemodes. This allows people in creative to build while people in survival get teleported. This can be configured.
Configuration
Every great plugin needs a good config, right?
Code (YAML):
messages:
teleport_back
:
"&cTry not to fall!"
set_y_level
:
"&aThe Y return level for {WORLD} has been set to {Y_LEVEL}."
enabled
:
"&aEnabled for `{WORLD}`. The default y-level is 0."
disabled
:
"&cDisabled for `{WORLD}`."
fallback_set
:
"&aFallback location set."
help_header
:
"&eSVR Help Message:"
help_footer
:
"&e==========="
unknown_world
:
"&cThat world was not found"
invalid_number
:
"&cThat isn't a valid number"
no_permission
:
"&cYou don't have permission to do this."
config_reloaded
:
"&eConfiguration Reloaded"
config:
ignore_in_creative
: true
ignore_in_spectator
: true
ignore_in_survival
: false
worlds_config:
world:
level
: 32
fallback:
x
: 0
y
: 0
z
: 0
pitch
: 0
yaw
: 0
Opensource
You probobly shouldn't look at the code, it might give you a headache. Anyways, here's the code:
https://github.com/liondadev/spigotvoidreturn