Fix the permissions not being added to the jail.command.*, fixes #38

This commit is contained in:
graywolf336 2015-01-25 23:38:46 -06:00
parent cabec7791e
commit c65ca2b0ff
2 changed files with 28 additions and 33 deletions

View File

@ -14,7 +14,7 @@ import com.graywolf336.jail.enums.Lang;
minimumArgs = 1, minimumArgs = 1,
needsPlayer = false, needsPlayer = false,
pattern = "deletecells|dcs", pattern = "deletecells|dcs",
permission = "jail.command.jaildeletecell", permission = "jail.command.jaildeletecells",
usage = "/jail deletecells [jail]" usage = "/jail deletecells [jail]"
) )
public class JailDeleteCellsCommand implements Command { public class JailDeleteCellsCommand implements Command {

View File

@ -9,7 +9,6 @@ load: POSTWORLD
commands: commands:
jail: jail:
description: Jail specified player for specified amount of time. description: Jail specified player for specified amount of time.
usage: /jail [p:name] (t:time) (j:Jail name) (c:Cell name) (m:Muted) (r:Reason)
togglejaildebug: togglejaildebug:
description: Toggles whether the plugin is in debugging state or not. description: Toggles whether the plugin is in debugging state or not.
unjail: unjail:
@ -29,55 +28,55 @@ permissions:
jail.usejailstick280: true jail.usejailstick280: true
jail.canbestickjailed: true jail.canbestickjailed: true
jail.openchest: true jail.openchest: true
jail.canswear: true
jail.cantbejailed: true jail.cantbejailed: true
jail.command.*: jail.command.*:
description: access to all admin commands description: access to all admin commands
children: children:
jail.command.jailcreate: true jail.command.handcuff: true
jail.command.jailcreatecells: true
jail.command.jailremove: true
jail.command.jailremovecells: true
jail.command.jail: true jail.command.jail: true
jail.command.unjail: true
jail.command.jailtransfer: true
jail.command.jailtransferall: true
jail.command.jailcheck: true jail.command.jailcheck: true
jail.command.jailtelein: true
jail.command.jailteleout: true
jail.command.jaillist: true
jail.command.jaillistcells: true
jail.command.unjailforce: true
jail.command.jailclear: true jail.command.jailclear: true
jail.command.jailclearforce: true jail.command.jailclearforce: true
jail.command.jailcreate: true
jail.command.jailcreatecells: true
jail.command.jaildelete: true
jail.command.jaildeletecell: true
jail.command.jaildeletecells: true
jail.command.jailhelp: true
jail.command.jaillist: true
jail.command.jaillistcells: true
jail.command.jailmute: true jail.command.jailmute: true
jail.command.jailstop: true
jail.command.jailset: true
jail.command.jailcreatewe: true
jail.command.jailremovecell: true
jail.command.jailreload: true
jail.command.jailrecord: true jail.command.jailrecord: true
jail.command.jailreload: true
jail.command.jailstop: true
jail.command.jailtelein: true
jail.command.jailteleout: true
jail.command.jailtime: true jail.command.jailtime: true
jail.command.handcuff: true jail.command.jailtransfer: true
jail.command.jailtransferall: true
jail.command.jailversion: true
jail.command.toggledebug: true jail.command.toggledebug: true
jail.command.unjail: true
jail.command.unjailforce: true
jail.usercmd.*: jail.usercmd.*:
description: access to all user commands description: access to all user commands
children: children:
jail.usercmd.jailstatus: true
jail.usercmd.jailpay: true jail.usercmd.jailpay: true
jail.usercmd.jailstatus: true
jail.usercmd.jailstick: true jail.usercmd.jailstick: true
jail.usercmd.votejail: true
jail.usercmd.votejail.player: true
jail.usercmd.jailversion: true
jail.command.jail: jail.command.jail:
default: op default: op
jail.command.jailcreate: jail.command.jailcreate:
default: op default: op
jail.command.jailcreatecells: jail.command.jailcreatecells:
default: op default: op
jail.command.jailremove: jail.command.jaildelete:
default: op default: op
jail.command.jailremovecells: jail.command.jaildeletecell:
default: op
jail.command.jaildeletecells:
default: op
jail.command.jailhelp:
default: op default: op
jail.command.unjail: jail.command.unjail:
default: op default: op
@ -109,14 +108,10 @@ permissions:
default: op default: op
jail.command.jailcreatewe: jail.command.jailcreatewe:
default: op default: op
jail.command.jailremovecell:
default: op
jail.command.jailreload: jail.command.jailreload:
default: op default: op
jail.command.jailrecord: jail.command.jailrecord:
default: op default: op
jail.usercmd.jailversion:
default: true
jail.command.handcuff: jail.command.handcuff:
default: op default: op
jail.usercmd.jailvote: jail.usercmd.jailvote:
@ -140,11 +135,11 @@ permissions:
default: true default: true
jail.openchest: jail.openchest:
default: op default: op
jail.canswear:
default: op
jail.cantbejailed: jail.cantbejailed:
default: op default: op
jail.command.toggledebug: jail.command.toggledebug:
default: op default: op
jail.command.jailtime: jail.command.jailtime:
default: op
jail.command.jailversion:
default: op default: op