mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +00:00
Merge pull request #59 from mbax/perms2
Permission update for plugin.yml
This commit is contained in:
commit
46e0f5c159
2 files changed
+50
-54
No files matched your search
@@ -40,17 +40,13 @@ public enum Permission
|
|||||||
|
|
||||||
public boolean get(CommandSender cs)
|
public boolean get(CommandSender cs)
|
||||||
{
|
{
|
||||||
return cs.hasPermission(parsePermissionNode());
|
return cs.hasPermission(toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private String parsePermissionNode()
|
@Override
|
||||||
|
public String toString()
|
||||||
{
|
{
|
||||||
return "anticheat." + parse();
|
return "anticheat." + this.name().toLowerCase().replace("_", ".");
|
||||||
}
|
|
||||||
|
|
||||||
private String parse()
|
|
||||||
{
|
|
||||||
return this.name().toLowerCase().replace("_", ".");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -47,95 +47,95 @@ permissions:
|
|||||||
anticheat.system.reload: true
|
anticheat.system.reload: true
|
||||||
anticheat.system.reset: true
|
anticheat.system.reset: true
|
||||||
anticheat.system.update: true
|
anticheat.system.update: true
|
||||||
anticheat.zombe.fly:
|
anticheat.check.zombe.fly:
|
||||||
description: Allow players to use zombe flymod
|
description: Allow players to use zombe flymod
|
||||||
default: false
|
default: false
|
||||||
anticheat.zombe.noclip:
|
anticheat.check.zombe.noclip:
|
||||||
description: Allow players to use zombe noclip hack
|
description: Allow players to use zombe noclip hack
|
||||||
default: false
|
default: false
|
||||||
anticheat.zombe.cheat:
|
anticheat.check.zombe.cheat:
|
||||||
description: Allow players to use zombe cheat hack
|
description: Allow players to use zombe cheat hack
|
||||||
default: false
|
default: false
|
||||||
anticheat.fly:
|
anticheat.check.fly:
|
||||||
description: Allow players to fly
|
description: Allow players to fly
|
||||||
default: false
|
default: false
|
||||||
anticheat.waterwalk:
|
anticheat.check.waterwalk:
|
||||||
description: Allow players to walk on water
|
description: Allow players to walk on water
|
||||||
default: false
|
default: false
|
||||||
anticheat.noswing:
|
anticheat.check.noswing:
|
||||||
description: Allow players to not ever swing their arm
|
description: Allow players to not ever swing their arm
|
||||||
default: false
|
default: false
|
||||||
anticheat.fastbreak:
|
anticheat.check.fastbreak:
|
||||||
description: Allow players to quickly break blocks
|
description: Allow players to quickly break blocks
|
||||||
default: false
|
default: false
|
||||||
anticheat.fastplace:
|
anticheat.check.fastplace:
|
||||||
description: Allow players to use build hacks and fastplace
|
description: Allow players to use build hacks and fastplace
|
||||||
default: false
|
default: false
|
||||||
anticheat.spam:
|
anticheat.check.spam:
|
||||||
description: Allow players to spam the server
|
description: Allow players to spam the server
|
||||||
default: false
|
default: false
|
||||||
anticheat.sprint:
|
anticheat.check.sprint:
|
||||||
description: Allow players to sprint when hungry
|
description: Allow players to sprint when hungry
|
||||||
default: false
|
default: false
|
||||||
anticheat.sneak:
|
anticheat.check.sneak:
|
||||||
description: Allow players to use auto-sneak
|
description: Allow players to use auto-sneak
|
||||||
default: false
|
default: false
|
||||||
anticheat.speed:
|
anticheat.check.speed:
|
||||||
description: Use this with anticheat.flyhack to allow more speed
|
description: Use this with anticheat.check.flyhack to allow more speed
|
||||||
default: false
|
default: false
|
||||||
anticheat.spider:
|
anticheat.check.spider:
|
||||||
description: Allow players to climb non-climbable surfaces
|
description: Allow players to climb non-climbable surfaces
|
||||||
default: false
|
default: false
|
||||||
anticheat.nofall:
|
anticheat.check.nofall:
|
||||||
description: Allow players to avoid fall damage
|
description: Allow players to avoid fall damage
|
||||||
default: false
|
default: false
|
||||||
anticheat.fastbow:
|
anticheat.check.fastbow:
|
||||||
description: Allow players to quickly fire bows
|
description: Allow players to quickly fire bows
|
||||||
default: false
|
default: false
|
||||||
anticheat.fasteat:
|
anticheat.check.fasteat:
|
||||||
description: Allow players to eat food instantly
|
description: Allow players to eat food instantly
|
||||||
default: false
|
default: false
|
||||||
anticheat.fastheal:
|
anticheat.check.fastheal:
|
||||||
description: Allow players to heal up instantly
|
description: Allow players to heal up instantly
|
||||||
default: false
|
default: false
|
||||||
anticheat.forcefield:
|
anticheat.check.forcefield:
|
||||||
description: Allow players to use a forcefield
|
description: Allow players to use a forcefield
|
||||||
default: false
|
default: false
|
||||||
anticheat.xray:
|
anticheat.check.xray:
|
||||||
description: Allow players to bypass xray stats
|
description: Allow players to bypass xray stats
|
||||||
default: false
|
default: false
|
||||||
anticheat.longreach:
|
anticheat.check.longreach:
|
||||||
description: Allow players to use longreaching hacks
|
description: Allow players to use longreaching hacks
|
||||||
default: false
|
default: false
|
||||||
anticheat.projectile:
|
anticheat.check.projectile:
|
||||||
description: Allow players to quickly launch projectiles
|
description: Allow players to quickly launch projectiles
|
||||||
default: false
|
default: false
|
||||||
anticheat.itemspam:
|
anticheat.check.itemspam:
|
||||||
description: Allow players to use inventory drop spam hacks
|
description: Allow players to use inventory drop spam hacks
|
||||||
default: false
|
default: false
|
||||||
anticheat.exempt:
|
anticheat.check.exempt:
|
||||||
description: Total exemption from checks
|
description: Total exemption from checks
|
||||||
default: false
|
default: false
|
||||||
children:
|
children:
|
||||||
anticheat.zombe.fly: true
|
anticheat.check.zombe.fly: true
|
||||||
anticheat.zombe.noclip: true
|
anticheat.check.zombe.noclip: true
|
||||||
anticheat.zombe.cheat: true
|
anticheat.check.zombe.cheat: true
|
||||||
anticheat.fly: true
|
anticheat.check.fly: true
|
||||||
anticheat.waterwalk: true
|
anticheat.check.waterwalk: true
|
||||||
anticheat.noswing: true
|
anticheat.check.noswing: true
|
||||||
anticheat.fastbreak: true
|
anticheat.check.fastbreak: true
|
||||||
anticheat.fastplace: true
|
anticheat.check.fastplace: true
|
||||||
anticheat.spam: true
|
anticheat.check.spam: true
|
||||||
anticheat.sprint: true
|
anticheat.check.sprint: true
|
||||||
anticheat.sneak: true
|
anticheat.check.sneak: true
|
||||||
anticheat.speed: true
|
anticheat.check.speed: true
|
||||||
anticheat.spider: true
|
anticheat.check.spider: true
|
||||||
anticheat.nofall: true
|
anticheat.check.nofall: true
|
||||||
anticheat.fastbow: true
|
anticheat.check.fastbow: true
|
||||||
anticheat.fasteat: true
|
anticheat.check.fasteat: true
|
||||||
anticheat.fastheal: true
|
anticheat.check.fastheal: true
|
||||||
anticheat.forcefield: true
|
anticheat.check.forcefield: true
|
||||||
anticheat.xray: true
|
anticheat.check.xray: true
|
||||||
anticheat.longreach: true
|
anticheat.check.longreach: true
|
||||||
anticheat.projectile: true
|
anticheat.check.projectile: true
|
||||||
anticheat.itemspam: true
|
anticheat.check.itemspam: true
|
||||||
Reference in new issue
Block a user