Enum Class FlickFeature

java.lang.Object
java.lang.Enum<FlickFeature>
net.flick.serverapi.FlickFeature
All Implemented Interfaces:
Serializable, Comparable<FlickFeature>, Constable

public enum FlickFeature extends Enum<FlickFeature>
Server API categories a player can individually refuse in Flick's client settings. The client reports its choices in hello.allow; messages of a refused category are ignored by the client. Module disabling has no per-category switch — a player can only turn the whole API off (then the client never identifies itself, and FlickAPI.isFlick(Player) is false).
  • Enum Constant Details

  • Method Details

    • values

      public static FlickFeature[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlickFeature valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • wire

      public String wire()
      Key in hello.allow.