Class PluginChecker

java.lang.Object
studio.magemonkey.fabled.listener.FabledListener
studio.magemonkey.fabled.hook.PluginChecker
All Implemented Interfaces:
org.bukkit.event.Listener

public class PluginChecker extends FabledListener
Handler for checking whether hooked plugins are present and active before using related code.
  • Constructor Details

    • PluginChecker

      public PluginChecker()
  • Method Details

    • isVaultPermissionsActive

      public static boolean isVaultPermissionsActive()
      Checks if vault permissions is active on the server
      Returns:
      true if active with permissions plugin, false otherwise
    • isVaultEconomyActive

      public static boolean isVaultEconomyActive()
      Checks if vault economy is active on the server
      Returns:
      true if active with economy plugin, false otherwise
    • isDisguiseActive

      public static boolean isDisguiseActive()
      Checks whether Lib's Disguises is active
      Returns:
      true if active
    • isNoCheatActive

      public static boolean isNoCheatActive()
      Checks whether NoCheatPlus is active on the server
      Returns:
      true if active, false otherwise
    • isPlaceholderAPIActive

      public static boolean isPlaceholderAPIActive()
    • isBungeeActive

      public static boolean isBungeeActive()
      Checks whether bungee is present
      Returns:
      true if present, false otherwise
    • isMythicMobsActive

      public static boolean isMythicMobsActive()
    • isWorldGuardActive

      public static boolean isWorldGuardActive()
    • isProtocolLibActive

      public static boolean isProtocolLibActive()
    • isPartiesActive

      public static boolean isPartiesActive()
    • isMimicActive

      public static boolean isMimicActive()
      Checks whether Mimic is present.
    • init

      public void init()
      Overrides:
      init in class FabledListener
    • onPluginEnable

      public void onPluginEnable(org.bukkit.event.server.PluginEnableEvent event)
    • onPluginDisable

      public void onPluginDisable(org.bukkit.event.server.PluginDisableEvent event)