1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-29 09:19:51 +02:00

Last ditch attempt at making work properly

This commit is contained in:
md_5
2012-03-17 20:13:38 +11:00
parent 9ea91790e1
commit 1d08e1ccda
2 changed files with 18 additions and 18 deletions

View File

@@ -205,23 +205,23 @@ public class NoCheat extends JavaPlugin implements Listener
String message = "";
if (!p.hasPermission(Permissions.ZOMBES_FLY))
{
message += "§f §f §1 §0 §2 §4"; // Zombes fly
message += "§f §f §1 §0 §2 §4 "; // Zombes fly
}
if (!p.hasPermission(Permissions.ZOMBES_CHEAT))
{
message += "§f §f §2 §0 §4 §8"; // Zombes cheat
message += "§f §f §2 §0 §4 §8 "; // Zombes cheat
}
if (!p.hasPermission(Permissions.CJB_FLY))
{
message += "§3 §9 §2 §0 §0 §1"; // CJB fly
message += "§3 §9 §2 §0 §0 §1 "; // CJB fly
}
if (!p.hasPermission(Permissions.CJB_XRAY))
{
message += "§3 §9 §2 §0 §0 §2"; // CJB xray
message += "§3 §9 §2 §0 §0 §2 "; // CJB xray
}
if (!p.hasPermission(Permissions.CJB_MINIMAP))
{
message += "§3 §9 §2 §0 §0 §3"; // CJB minimap players
message += "§3 §9 §2 §0 §0 §3 "; // CJB minimap players
}
p.sendMessage(message);
}

View File

@@ -15,6 +15,18 @@ commands:
/<command> reload: fast reload of NoCheats configuration file(s) - needs additional permissions
permissions:
nocheat:
description: Allow a player to bypass all checks and give him all admin permissions
children:
nocheat.admin:
description: Give a player all admin rights
children:
nocheat.admin.chatlog:
description: Player can see NoCheats log messages in the ingame chat
nocheat.admin.commands:
description: allow use of the "nocheat" commands (may be given to players to allow them to check statistics)
nocheat.admin.reload:
description: allow access to the special "nocheat reload" command (only intended for the actual server administrator)
nocheat.mod.all:
description: Various simple cheat mods which they player may or may not be allowed to use
children:
@@ -28,18 +40,6 @@ permissions:
description: Allow the use of CJB's xray
nocheat.mod.cjb.minimap:
description: Allow the use of CJB's minimap
nocheat:
description: Allow a player to bypass all checks and give him all admin permissions
children:
nocheat.admin:
description: Give a player all admin rights
children:
nocheat.admin.chatlog:
description: Player can see NoCheats log messages in the ingame chat
nocheat.admin.commands:
description: allow use of the "nocheat" commands (may be given to players to allow them to check statistics)
nocheat.admin.reload:
description: allow access to the special "nocheat reload" command (only intended for the actual server administrator)
nocheat.checks:
description: Allow the player to bypass all checks
children: