Skip to content

Commit

Permalink
Block/unblock pending commands for non-superadmins
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JeromSar committed May 30, 2015
1 parent 580ba0a commit 901a327
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions buildnumber.properties
Original file line number Diff line number Diff line change
@@ -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
15 changes: 9 additions & 6 deletions src/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:_'
Expand All @@ -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:_'
Expand All @@ -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:_'
Expand All @@ -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
Expand Down

0 comments on commit 901a327

Please sign in to comment.