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:
@@ -205,23 +205,23 @@ public class NoCheat extends JavaPlugin implements Listener
|
|||||||
String message = "";
|
String message = "";
|
||||||
if (!p.hasPermission(Permissions.ZOMBES_FLY))
|
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))
|
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))
|
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))
|
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))
|
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);
|
p.sendMessage(message);
|
||||||
}
|
}
|
||||||
|
@@ -15,19 +15,6 @@ commands:
|
|||||||
/<command> reload: fast reload of NoCheats configuration file(s) - needs additional permissions
|
/<command> reload: fast reload of NoCheats configuration file(s) - needs additional permissions
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
nocheat.mod.all:
|
|
||||||
description: Various simple cheat mods which they player may or may not be allowed to use
|
|
||||||
children:
|
|
||||||
nocheat.mod.zombes.fly:
|
|
||||||
description: Allow the use of the Zombes fly hack
|
|
||||||
nocheat.mod.zombes.cheat:
|
|
||||||
description: Allow the use of the Zombes cheat hack, includes xray
|
|
||||||
nocheat.mod.cjb.fly:
|
|
||||||
description: Allow the use of CJB's fly hack
|
|
||||||
nocheat.mod.cjb.xray:
|
|
||||||
description: Allow the use of CJB's xray
|
|
||||||
nocheat.mod.cjb.minimap:
|
|
||||||
description: Allow the use of CJB's minimap
|
|
||||||
nocheat:
|
nocheat:
|
||||||
description: Allow a player to bypass all checks and give him all admin permissions
|
description: Allow a player to bypass all checks and give him all admin permissions
|
||||||
children:
|
children:
|
||||||
@@ -40,6 +27,19 @@ permissions:
|
|||||||
description: allow use of the "nocheat" commands (may be given to players to allow them to check statistics)
|
description: allow use of the "nocheat" commands (may be given to players to allow them to check statistics)
|
||||||
nocheat.admin.reload:
|
nocheat.admin.reload:
|
||||||
description: allow access to the special "nocheat reload" command (only intended for the actual server administrator)
|
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:
|
||||||
|
nocheat.mod.zombes.fly:
|
||||||
|
description: Allow the use of the Zombes fly hack
|
||||||
|
nocheat.mod.zombes.cheat:
|
||||||
|
description: Allow the use of the Zombes cheat hack, includes xray
|
||||||
|
nocheat.mod.cjb.fly:
|
||||||
|
description: Allow the use of CJB's fly hack
|
||||||
|
nocheat.mod.cjb.xray:
|
||||||
|
description: Allow the use of CJB's xray
|
||||||
|
nocheat.mod.cjb.minimap:
|
||||||
|
description: Allow the use of CJB's minimap
|
||||||
nocheat.checks:
|
nocheat.checks:
|
||||||
description: Allow the player to bypass all checks
|
description: Allow the player to bypass all checks
|
||||||
children:
|
children:
|
||||||
|
Reference in New Issue
Block a user