Prevent commands from being executed, except those whitelisted
This commit is contained in:
@ -7,6 +7,8 @@ public enum LangString {
|
||||
BLOCKBREAKING ("actions"),
|
||||
/** Section for when they place a block. */
|
||||
BLOCKPLACING ("actions"),
|
||||
/** Section for when they try to do a command that isn't whitelisted. */
|
||||
COMMAND ("actions"),
|
||||
|
||||
//Jailing section
|
||||
|
||||
|
@ -10,6 +10,9 @@ public enum Settings {
|
||||
BLOCKPLACEWHITELIST("jailing.during.blockPlaceWhiteList"),
|
||||
COMMANDSONJAIL("jailing.jail.commands"),
|
||||
COMMANDSONRELEASE("jailing.release.commands"),
|
||||
COMMANDPENALTY("jailing.during.commandPenalty"),
|
||||
COMMANDPROTECTION("jailing.during.commandProtection"),
|
||||
COMMANDWHITELIST("jailing.during.commandWhitelist"),
|
||||
COUNTDOWNTIMEOFFLINE("jailing.during.countDownTimeWhileOffline"),
|
||||
DEBUG("system.debug"),
|
||||
DEFAULTJAIL("jailing.jail.defaultJail"),
|
||||
|
Reference in New Issue
Block a user