public enum SpecialKeys extends Enum<SpecialKeys> implements IDetectionKey<SpecialKeys>
Enum Constant and Description |
---|
BANNED_NAME |
INVALID_NAME |
MAX_PLAYER_PER_IP |
MC_LEAKS |
SERVER_CRASHER |
WORLD_DOWNLOADER |
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLED_SPECIAL_MODULES_BASE |
static Path |
MODULE_FOLDER |
Modifier and Type | Method and Description |
---|---|
Path |
getFolder() |
String |
getKey() |
Version |
getMinVersion() |
String |
getPathBundle() |
String |
toString() |
static SpecialKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecialKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
getLowerKey
compareTo
public static final SpecialKeys BANNED_NAME
public static final SpecialKeys INVALID_NAME
public static final SpecialKeys MAX_PLAYER_PER_IP
public static final SpecialKeys MC_LEAKS
public static final SpecialKeys SERVER_CRASHER
public static final SpecialKeys WORLD_DOWNLOADER
public static final String BUNDLED_SPECIAL_MODULES_BASE
public static final Path MODULE_FOLDER
public static SpecialKeys[] values()
for (SpecialKeys c : SpecialKeys.values()) System.out.println(c);
public static SpecialKeys valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKey()
getKey
in interface IDetectionKey<SpecialKeys>
public Version getMinVersion()
getMinVersion
in interface IDetectionKey<SpecialKeys>
public String toString()
toString
in class Enum<SpecialKeys>
public Path getFolder()
getFolder
in interface IDetectionKey<SpecialKeys>
public String getPathBundle()
getPathBundle
in interface IDetectionKey<SpecialKeys>