Sueta

CommandDoesNotExistBC

1.3.0

BungeeCord version of CommandDoesNotExist

·Plugin

This is the BungeeCord version of CommandDoesNotExist .

This plugin allow the server owners to register any command and/or words (for command's argument) to be blocked. You can use this plugin to prevent any commands to be used by regular users.

It also blocks tab-completion and associated command listing.

New features from v3.0.0

  • It now supports "/". If you register "/" as a blocked command, it will block ALL commands unless a player has a permission node "cdne./"

Default Blocked commands:

  • '?'
  • help
  • ehelp
  • pl
  • plugin
  • plugins
  • ver
  • version
  • about
  • eabout
  • info
  • seed
  • locate
  • bukkit:
  • essentials:

If you want more commands, which you don't want your players to use, just use the

/cdne add <cmd ....>

command to register more commands to be blocked. If you include the underscore '_', you can also specify a particular combination of a command and its parameter. You can also block any words, which are used as a parameter of the command. For instance, if you don't want a player to use

/pay * 0.1

to mass spam meaningless payments, you can do

/cdne addword " *"

and/or

/cdne addword "* "

Commands:

  • /cdne | /cdne help : displays the help menu
  • /cdne list : lists currently blocked commands and words.
  • /cdne add <cmd1 cmd2 ... > : adds specified commands to the blocked list.
  • /cdne remove <cmd1 cmd2 ... > : removes specified commands from the blocked list
  • /cdne addword <word1 word2 ... > : adds specified words to the blocked list.
  • /cdne removeword <word1 word2 ... > : removes specified words from the blocked list.

Permission Node:

  • cdne.tab.use : allows you to use tab completion.
  • cdne.list.list : list currently blocked commands/words
  • cdne.list.modify : allows you to add/remove command(s)/word(s) to the blocked list.
  • cdne.xxxx : allows you to use a command /xxxx (if you need to give your server staff members access to the blocked commands, just give them permission node "cdne.xxxx", where xxxx is the blocked command name.

Installation:
Just drop CommandDoesNotExistBC.jar in your BungeeCord's plugins folder.

config.yml
# 
# option to block commands even from OP 
BlockOP: false 
# 
# Messages 
# 
Messages: 
  ErrorMessage : "&c[CDNE] : Some error occured." 
  CDNEMessage: "&c[CDNE] : %player%, you do not have a permission to use %command%!" 
  WordNotAllowedMessage: "&c[CDNE] %word% is not allowed in parameters!" 
  TABMessage: "&c[CDNE] : You do not have a permission to tab-complete a command!" 
# 
# 
# Block Spectator mode 
BlockSpectatorMode: false 
# 
# A list of blocked commands 
# 
Commands: 
- '?' 
- help 
- ehelp 
- pl 
- plugin 
- plugins 
- ver 
- version 
- about 
- eabout 
- info 
- seed 
- "bukkit:" 
- "essentials:" 

# 
# Censored words as a parameter to a command. 
# 
Censored: 
- vk2gpz

Donation:
It would be greatly appreciated for your donation to continue providing support for this plugin.

Similar projects

Plugin →