Class BagEffects

java.lang.Object
valorless.havenbags.features.BagEffects
All Implemented Interfaces:
org.bukkit.event.Listener

public class BagEffects extends Object implements org.bukkit.event.Listener
  • Field Details

  • Constructor Details

    • BagEffects

      public BagEffects()
  • Method Details

    • init

      public static void init()
    • reload

      public static void reload()
    • shutdown

      public static void shutdown()
    • loadEffects

      public static void loadEffects()
    • hasEffect

      public static boolean hasEffect(String id)
    • getEffect

      public static BagEffects.BagEffect getEffect(String id)
    • getEffectDisplayname

      public static String getEffectDisplayname(String id)
    • getEffectNames

      public static List<String> getEffectNames()
    • getPotionType

      public static org.bukkit.potion.PotionEffectType getPotionType(String key) throws Exception
      Throws:
      Exception
    • onPlayerJoin

      public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e)
    • onPlayerQuit

      public void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent e)
    • createTask

      public static void createTask(org.bukkit.entity.Player player)