Sueta
BA

Banned Commands

1.0

Disabled commands and punish those who try!

·Plugin

[This plugin has been requested by @KirillYT2020 ]

Commands

This command requires BannedCommands.reload
/bcreload
- Reload the configuration file

config.yml
messages: 
  staff only: '&c[STAFF ONLY] %player% &7tried to use &c%command%&7, and has been banned.' # This is a message that gets sent to staff, set to 'none' to disable. 
  reloaded: '&e[Banned Commands] &7You have reloaded the configuration!' 
commands: 
  0: 
    command: '/demote' # The command that is banned 
    deny command: true # If 'true', the command gets blocked and it will not execute. 
    commands executed: # This is the list of commands that will happen when the player uses that command! 
      - 'console:ban %player% 14d Using a Banned Command!' #'console:' means the console will execute the command. 
      - 'broadcast:&c%player% &7has been banned for using a Banned Command!' #'broadcast' means it will broadcast a message to the entire server!
Permissions

BanndCommands.reload - Reload the config.yml (/bcreload)
BannedCommands.staff - Receive notifications of players using banned commands

Hope you enjoy!

Thank you for reading, if you like the plugin, please consider leaving a review!

If you have found a bug please do not leave it in the review's section, please join my support Discord and tell me the bug, or start a conversation with me on Spigot!

SUPPORT DISCORD

Similar projects

Plugin →