Prevents players from accessing / glitching through the nether roof
Features:
- Add as many commands as you'd like
- Change the roofs Y level based on your liking
- Plugin is toggleable via config, useful if you want to disable the plugin temporarily
- All of the plugins messages are configurable.
- No dependencies, Lightweight
config.yml:
Code (YAML):
# Enable the plugin
enabled
: true
# Set it to the y location of the nether roof based on your world.
# Default is 127
threshold
: 127
# Command to execute when the player is on the roof, Available placeholder: %player%
cmdToExecute
:
-
"spawn %player%"
# - 'sudo %player% home'
# All plugin messages, all messages plugin use can be found here
Message:
prefix
:
"&7&lTD&8 »&r "
# message to send if the player attempts to go on the nether roof %player% %limit%
notallowed
:
"&cYou are not allowed on the nether roof"
# "You can't go above y:%limit% in the nether"
adminnotify
:
"&6%player% tried to go on the nether roof!"
consolenotify
:
"&6%player% tried to go on the nether roof!"
# internal messages
startup
:
"&cEnabled AntiNetherRoof by TheUnkn0wnDev"
noperms
:
"&6You don't have permission to execute this command!"
reloaded
:
"&aReloaded AntiNetherRoof"
error
:
"&4Oops, an Error occured"
plugin
:
-
"&5AntiNetherRoof by TheUnkn0wnDev"
-
"&8/&aantinetherroof &7- shows this message"
-
"&f&l└ &areload &7- reloads the plugin config "
-
"&5-------------------------------"
Permissions:
Code (YAML):
antinetherroof
# default permission, set it to false if you don't want your players accessing the plugins' command
antinetherroof.bypass
# bypasses nether roof restrictions
antinetherroof.notify
# alerts staffs with this permission when a player goes to the nether roof
antinetherroof.*
# gives a player all the plugin permissions