mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 03:02:11 +01:00
commit
b4ec7caa85
@ -6,14 +6,15 @@ package fr.neatmonster.nocheatplus.permissions;
|
|||||||
public class Permissions {
|
public class Permissions {
|
||||||
private static final String NOCHEATPLUS = "nocheatplus";
|
private static final String NOCHEATPLUS = "nocheatplus";
|
||||||
|
|
||||||
|
// Access to all commands and debug info.
|
||||||
private static final String ADMINISTRATION = NOCHEATPLUS + ".admin";
|
private static final String ADMINISTRATION = NOCHEATPLUS + ".admin";
|
||||||
// Debug permission, for player spam (not in plugin.yml, currently).
|
|
||||||
public static final String ADMINISTRATION_DEBUG = ADMINISTRATION + ".debug";
|
public static final String ADMINISTRATION_DEBUG = ADMINISTRATION + ".debug";
|
||||||
|
|
||||||
// Bypasses held extra from command permissions.
|
// Bypasses held extra from command permissions.
|
||||||
private final static String BYPASS = NOCHEATPLUS + ".bypass";
|
private final static String BYPASS = NOCHEATPLUS + ".bypass";
|
||||||
public static final String BYPASS_DENY_LOGIN = BYPASS + "denylogin";
|
public static final String BYPASS_DENY_LOGIN = BYPASS + "denylogin";
|
||||||
|
|
||||||
|
// Bypass command filter.
|
||||||
private static final String FILTER = NOCHEATPLUS + ".filter";
|
private static final String FILTER = NOCHEATPLUS + ".filter";
|
||||||
public static final String FILTER_COMMAND = FILTER + ".command";
|
public static final String FILTER_COMMAND = FILTER + ".command";
|
||||||
public static final String FILTER_COMMAND_NOCHEATPLUS = FILTER_COMMAND + ".nocheatplus";
|
public static final String FILTER_COMMAND_NOCHEATPLUS = FILTER_COMMAND + ".nocheatplus";
|
||||||
@ -23,27 +24,26 @@ public class Permissions {
|
|||||||
|
|
||||||
// Command permissions.
|
// Command permissions.
|
||||||
public static final String COMMAND = NOCHEATPLUS + ".command";
|
public static final String COMMAND = NOCHEATPLUS + ".command";
|
||||||
public static final String COMMAND_BAN = COMMAND + ".ban";
|
|
||||||
public static final String COMMAND_DELAY = COMMAND + ".delay";
|
|
||||||
|
|
||||||
public static final String COMMAND_EXEMPT = COMMAND + ".exempt";
|
|
||||||
public static final String COMMAND_UNEXEMPT = COMMAND + ".unexempt";
|
|
||||||
public static final String COMMAND_EXEMPTIONS = COMMAND + ".exemptions";
|
|
||||||
public static final String COMMAND_NOTIFY = COMMAND + ".notify";
|
|
||||||
public static final String COMMAND_INFO = COMMAND + ".info";
|
|
||||||
public static final String COMMAND_COMMANDS = COMMAND + ".commands";
|
public static final String COMMAND_COMMANDS = COMMAND + ".commands";
|
||||||
public static final String COMMAND_KICK = COMMAND + ".kick";
|
public static final String COMMAND_EXEMPT = COMMAND + ".exempt";
|
||||||
public static final String COMMAND_KICKLIST = COMMAND + ".kicklist";
|
public static final String COMMAND_EXEMPTIONS = COMMAND + ".exemptions";
|
||||||
|
public static final String COMMAND_INFO = COMMAND + ".info";
|
||||||
|
public static final String COMMAND_INSPECT = COMMAND + ".inspect";
|
||||||
public static final String COMMAND_LAG = COMMAND + ".lag";
|
public static final String COMMAND_LAG = COMMAND + ".lag";
|
||||||
|
public static final String COMMAND_NOTIFY = COMMAND + ".notify";
|
||||||
public static final String COMMAND_RELOAD = COMMAND + ".reload";
|
public static final String COMMAND_RELOAD = COMMAND + ".reload";
|
||||||
public static final String COMMAND_REMOVEPLAYER = COMMAND + ".removeplayer";
|
public static final String COMMAND_REMOVEPLAYER = COMMAND + ".removeplayer";
|
||||||
|
public static final String COMMAND_UNEXEMPT = COMMAND + ".unexempt";
|
||||||
|
public static final String COMMAND_VERSION = COMMAND + ".version";
|
||||||
|
|
||||||
|
// Auxiliary Command permissions.
|
||||||
|
public static final String COMMAND_BAN = COMMAND + ".ban";
|
||||||
|
public static final String COMMAND_DELAY = COMMAND + ".delay";
|
||||||
|
public static final String COMMAND_KICK = COMMAND + ".kick";
|
||||||
|
public static final String COMMAND_KICKLIST = COMMAND + ".kicklist";
|
||||||
public static final String COMMAND_TELL = COMMAND + ".tell";
|
public static final String COMMAND_TELL = COMMAND + ".tell";
|
||||||
public static final String COMMAND_TEMPKICK = COMMAND + ".tempkick";
|
public static final String COMMAND_TEMPKICK = COMMAND + ".tempkick";
|
||||||
public static final String COMMAND_UNKICK = COMMAND + ".unkick";
|
public static final String COMMAND_UNKICK = COMMAND + ".unkick";
|
||||||
public static final String COMMAND_VERSION = COMMAND + ".version";
|
|
||||||
|
|
||||||
public static final String COMMAND_INSPECT = COMMAND + ".inspect";
|
|
||||||
|
|
||||||
|
|
||||||
// Permissions for the individual checks.
|
// Permissions for the individual checks.
|
||||||
public static final String CHECKS = NOCHEATPLUS + ".checks";
|
public static final String CHECKS = NOCHEATPLUS + ".checks";
|
||||||
@ -123,6 +123,7 @@ public class Permissions {
|
|||||||
public static final String MOVING_SURVIVALFLY_SPRINTING = MOVING_SURVIVALFLY + ".sprinting";
|
public static final String MOVING_SURVIVALFLY_SPRINTING = MOVING_SURVIVALFLY + ".sprinting";
|
||||||
public static final String MOVING_SURVIVALFLY_STEP = MOVING_SURVIVALFLY + ".step";
|
public static final String MOVING_SURVIVALFLY_STEP = MOVING_SURVIVALFLY + ".step";
|
||||||
|
|
||||||
|
// Permissions for the individual client mods.
|
||||||
private static final String MODS = NOCHEATPLUS + ".mods";
|
private static final String MODS = NOCHEATPLUS + ".mods";
|
||||||
|
|
||||||
private static final String CJB = MODS + ".cjb";
|
private static final String CJB = MODS + ".cjb";
|
||||||
@ -138,13 +139,12 @@ public class Permissions {
|
|||||||
private static final String REI = MODS + ".rei";
|
private static final String REI = MODS + ".rei";
|
||||||
public static final String REI_CAVE = REI + ".cave";
|
public static final String REI_CAVE = REI + ".cave";
|
||||||
public static final String REI_RADAR = REI + ".radar";
|
public static final String REI_RADAR = REI + ".radar";
|
||||||
public static final String REI_RADAR_PLAYER = REI_RADAR + ".player";
|
|
||||||
public static final String REI_RADAR_ANIMAL = REI_RADAR + ".animal";
|
public static final String REI_RADAR_ANIMAL = REI_RADAR + ".animal";
|
||||||
|
public static final String REI_RADAR_PLAYER = REI_RADAR + ".player";
|
||||||
public static final String REI_RADAR_MOB = REI_RADAR + ".mob";
|
public static final String REI_RADAR_MOB = REI_RADAR + ".mob";
|
||||||
|
public static final String REI_RADAR_OTHER = REI_RADAR + ".other";
|
||||||
public static final String REI_RADAR_SLIME = REI_RADAR + ".slime";
|
public static final String REI_RADAR_SLIME = REI_RADAR + ".slime";
|
||||||
public static final String REI_RADAR_SQUID = REI_RADAR + ".squid";
|
public static final String REI_RADAR_SQUID = REI_RADAR + ".squid";
|
||||||
public static final String REI_RADAR_OTHER = REI_RADAR + ".other";
|
|
||||||
|
|
||||||
|
|
||||||
private static final String SMARTMOVING = MODS + ".smartmoving";
|
private static final String SMARTMOVING = MODS + ".smartmoving";
|
||||||
public static final String SMARTMOVING_CLIMBING = SMARTMOVING + ".climbing";
|
public static final String SMARTMOVING_CLIMBING = SMARTMOVING + ".climbing";
|
||||||
@ -155,8 +155,8 @@ public class Permissions {
|
|||||||
public static final String SMARTMOVING_SWIMMING = SMARTMOVING + ".swimming";
|
public static final String SMARTMOVING_SWIMMING = SMARTMOVING + ".swimming";
|
||||||
|
|
||||||
private static final String ZOMBE = MODS + ".zombe";
|
private static final String ZOMBE = MODS + ".zombe";
|
||||||
|
public static final String ZOMBE_CHEAT = ZOMBE + ".cheat";
|
||||||
public static final String ZOMBE_FLY = ZOMBE + ".fly";
|
public static final String ZOMBE_FLY = ZOMBE + ".fly";
|
||||||
public static final String ZOMBE_NOCLIP = ZOMBE + ".noclip";
|
public static final String ZOMBE_NOCLIP = ZOMBE + ".noclip";
|
||||||
public static final String ZOMBE_CHEAT = ZOMBE + ".cheat";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user