Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Custom Permission Messages v1.0
- #by gamingod
- #
- #----------------------------
- #
- #Config Layout:
- #'/command':
- #ignoreArguments: true
- #^ Check if the command is "/command" or if is starts with "/command"
- #
- # ignoreCase: false
- #^ Sets if should check for case sensitive
- #
- # permission: 'permission.node'
- #^ The new required permission for the command
- #
- # no_permission_message: 'you don't have permission'
- #^ The message they get if they dont have permission
- #^ Use & for color codes and {PLAYER} for player name
- #
- #----------------------------
- #
- #If you want to check for a message, don't put "/" at the start of the command.
- #To report and error, send this config, and the error you are getting.
- #
- #That is all, hope you enjoy the plugin!
- #Donate at http://goo.gl/aAcibx
- #
- #----------------------------
- '/say':
- ignoreArguments: true
- ignoreCase: false
- permission: 'command.say'
- no_permission_message: '&cYou do not have permission to use that command'
- '/warp_superKoolBase':
- ignoreArguments: false
- ignoreCase: false
- permission: 'SKP.teleport'
- no_permission_message: '&cYou do not have permission to use that command'
- 'This server sucks':
- ignoreArguments: false
- ignoreCase: true
- permission: 'server.sucks'
- no_permission_message: '&c{PLAYER}, do not lie in chat!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement