Prevent commands from being executed, except those whitelisted
This commit is contained in:
@ -19,6 +19,9 @@ jailing:
|
||||
blockPlacePenalty: 5m
|
||||
blockPlaceProtection: true
|
||||
blockPlaceWhiteList: ['crops', 'carrot', 'potato'] # these blocks can be placed at any time by prisoners
|
||||
commandPenalty: 5m
|
||||
commandProtection: true
|
||||
commandWhitelist: ['/ping', '/list']
|
||||
countDownTimeWhileOffline: false
|
||||
explosionProtection: true
|
||||
ignoreSleeping: true
|
||||
|
@ -2,6 +2,7 @@ language:
|
||||
actions:
|
||||
blockbreaking: 'breaking a block'
|
||||
blockplacing: 'placing a block'
|
||||
command: 'trying to use a command'
|
||||
general:
|
||||
unknowncommand: '&cNo commands registered by the name of %0%.'
|
||||
nopermission: '&cInsufficient permission.'
|
||||
|
Reference in New Issue
Block a user