Enum Class SoftService

java.lang.Object
java.lang.Enum<SoftService>
org.kingdoms.services.managers.SoftService
All Implemented Interfaces:
Serializable, Comparable<SoftService>, Constable

public enum SoftService extends Enum<SoftService>
TODO This class should eventually be turned into an interface that allows custom registry.
  • Enum Constant Details

    • CITIZENS

      public static final SoftService CITIZENS
      Isn't used, because the "NPC" entity metadata already takes care of that. * According to D3v1s0m and Pyr, ZNPCsPlus NPCs are purely made by packets. Server-side cant even target them.
    • MY_PET

      public static final SoftService MY_PET
    • MC_PETS

      public static final SoftService MC_PETS
    • COMBAT_PETS

      public static final SoftService COMBAT_PETS
    • SIMPLE_PETS

      public static final SoftService SIMPLE_PETS
    • MVDWPLACEHOLDERAPI

      public static final SoftService MVDWPLACEHOLDERAPI
    • PLACEHOLDERAPI

      public static final SoftService PLACEHOLDERAPI
    • PROJECT_KORRA

      public static final SoftService PROJECT_KORRA
    • WORLD_GUARD

      public static final SoftService WORLD_GUARD
    • VAULT

      public static final SoftService VAULT
    • AUTH_ME

      public static final SoftService AUTH_ME
    • DISCORDSRV

      public static final SoftService DISCORDSRV
    • LUCKPERMS

      public static final SoftService LUCKPERMS
    • MYTHIC_MOBS

      public static final SoftService MYTHIC_MOBS
    • ESSENTIALS

      public static final SoftService ESSENTIALS
    • CMI

      public static final SoftService CMI
    • SLIMEFUN

      public static final SoftService SLIMEFUN
    • NOVA

      public static final SoftService NOVA
    • DYNMAP

      public static final SoftService DYNMAP
    • BLUEMAP

      public static final SoftService BLUEMAP
    • SQUAREMAP

      public static final SoftService SQUAREMAP
    • PL3XMAP

      public static final SoftService PL3XMAP
  • Method Details

    • values

      public static SoftService[] 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 SoftService 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
    • getOnServerLoad

      public Runnable getOnServerLoad()
    • getService

      public org.kingdoms.services.Service getService()
    • getName

      public String getName()
    • reportAllStates

      public static void reportAllStates()
    • anyAvailable

      public static boolean anyAvailable(SoftService... services)
    • getPlugin

      public org.bukkit.plugin.Plugin getPlugin()
    • isAvailable

      public boolean isAvailable()
    • hook

      public void hook(boolean successful)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SoftService>