*NOTE: This was originally for my own network, but I decided to release it because I find it helpful
Commands
/wp - brings up a help menu
/wp true - enables the whitelist
/wp false - disables the whitelist
/wp permission [permission] - sets your permission (also in the config)
/wp message [message] - sets your kick message (also in the config)
/wp reload - reloads the config
Installation
1) Download the plugin
2) Put in your plugins folder
3) Restart the server
4) Edit your config.yml and /wp reload OR use /wp message // /wp permission
5) Give the correct permissions to your groups/players
Default Config
Code (Text):
###############################
# WhitelistPermission v1.0
# Coded by fote
# PLACEHOLDER: %prefix% - pull the prefix from this config file
###############################
permissions:
whitelist: wp.whitelist
reload: wp.reload
admin: wp.admin
whitelist:
enabled: false
enabled-msg: "%prefix% &fWhitelist has been &aenabled"
disabled-msg: "%prefix% &fWhitelist has been &cdisabled"
kick-msg: "%prefix% &cSorry, &f%player% &cyou dont have the correct permission to join" # %player% to pull the players name
messages:
prefix: "&9&lWP &7»"
reload: "%prefix% &cYou have reloaded the config"
no-perm: "%prefix% &4&lNo Permission!"
msg-set: "%prefix% &aYou have set the kick message!"
perm-set: "%prefix% &aYou have set the permission!"
set-perm: "%prefix% &cYou need to type a permission!"
set-msg: "%prefix% &cYou need to type a message! &7&n&o(Color codes supported!) "
Need Support?
Feel free to DM me on Spigot