Block/unblock pending commands for non-superadmins

Blocked /jail, /unjail and /blockdata for non-superadmins
Moved /clearhistory, /save-all, /save-on and /save-off to non-autoeject section

Resolves #671, Resolves #670, Resolves #656
This commit is contained in:
JeromSar 2015-05-30 19:57:51 +02:00
parent 580ba0a357
commit 901a327b1e
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Wed May 13 14:56:19 CEST 2015
build.number=1040
#Sat May 30 19:54:04 CEST 2015
build.number=1041

View File

@ -86,7 +86,6 @@ blocked_commands:
# Disabled commands
- 'n:b:/time:Server-side time changing is disabled. Please use /ptime to set your own personal time.'
- 'n:b:/gamemode:Use /creative and /survival to set your gamemode.'
- 'n:b:/gamerule:_'
- 'n:b:/ban:_'
- 'n:b:/pardon:_'
- 'n:b:/ban-ip:_'
@ -96,6 +95,11 @@ blocked_commands:
- 'n:b:/enderchest:_'
- 'n:b:/spreadplayers:_'
- 'n:b:/execute:_'
- 'n:b:/blockdata:_'
- 'n:b:/clearhistory:_'
- 'n:b:/save-all:_'
- 'n:b:/save-on:_'
- 'n:b:/save-off:_'
# Superadmin commands
- 's:b:/kick:_'
@ -108,7 +112,6 @@ blocked_commands:
- 's:b:/size:_'
- 's:b://mask:_'
- 's:b:/mat:_'
- 's:b:/tool:_'
- 's:b://butcher:_'
- 's:b:/scoreboard:_'
- 's:b:/setspawn:_'
@ -129,12 +132,12 @@ blocked_commands:
- 's:b:/tpall:_'
- 's:b:/setblock:_'
- 's:b:/green:_'
- 'n:b:/gamerule:_'
- 'n:b:/jail:_'
- 'n:b:/unjail:_'
# Superadmin commands - Auto-eject
- 's:a:/save-all:_'
- 's:a:/save-on:_'
- 's:a:/save-off:_'
- 's:a:/clearhistory:_'
- 's:a:/stop:_'
- 's:a:/restart:_'
# Automatically wipe dropped objects