public enum ChatRestrictionLevel extends java.lang.Enum<ChatRestrictionLevel>
| Enum Constant and Description |
|---|
DISABLED
The chat window will not show at all, unless you have the
PlayerPermission.OPERATOR permission set in your abilities. |
DROPPED
The chat window will appear, but all messages will be dropped.
|
NONE
Default behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
static ChatRestrictionLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatRestrictionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatRestrictionLevel NONE
public static final ChatRestrictionLevel DROPPED
public static final ChatRestrictionLevel DISABLED
PlayerPermission.OPERATOR permission set in your abilities.public static ChatRestrictionLevel[] values()
for (ChatRestrictionLevel c : ChatRestrictionLevel.values()) System.out.println(c);
public static ChatRestrictionLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null