Class Hooks

java.lang.Object
studio.magemonkey.codex.hooks.Hooks

public class Hooks extends Object
  • Field Details

  • Constructor Details

    • Hooks

      public Hooks()
  • Method Details

    • getPermGroup

      @NotNull public static String getPermGroup(@NotNull org.bukkit.entity.Player p)
    • getPermissionGroups

      @NotNull public static Set<String> getPermissionGroups(@NotNull org.bukkit.entity.Player p)
    • getGroupValueLong

      public static long getGroupValueLong(@NotNull org.bukkit.entity.Player player, @NotNull Map<String,Long> map, boolean isNegaBetter)
    • getGroupValueInt

      public static int getGroupValueInt(@NotNull org.bukkit.entity.Player player, @NotNull Map<String,Integer> map, boolean isNegaBetter)
    • getGroupValueDouble

      public static double getGroupValueDouble(@NotNull org.bukkit.entity.Player player, @NotNull Map<String,Double> map, boolean isNegaBetter)
    • getPrefix

      @NotNull public static String getPrefix(@NotNull org.bukkit.entity.Player p)
    • getSuffix

      @NotNull public static String getSuffix(@NotNull org.bukkit.entity.Player p)
    • isNPC

      public static boolean isNPC(@NotNull org.bukkit.entity.Entity e)
    • isMythic

      public static boolean isMythic(@NotNull org.bukkit.entity.Entity e)
    • hasPlugin

      public static boolean hasPlugin(@NotNull String plugin)
    • hasPlaceholderAPI

      public static boolean hasPlaceholderAPI()
    • canFights

      public static boolean canFights(@NotNull org.bukkit.entity.Entity attacker, @NotNull org.bukkit.entity.Entity victim)