Package studio.magemonkey.codex.hooks
Class Hooks
java.lang.Object
studio.magemonkey.codex.hooks.Hooks
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanFights(org.bukkit.entity.Entity attacker, org.bukkit.entity.Entity victim) static doublegetGroupValueDouble(org.bukkit.entity.Player player, Map<String, Double> map, boolean isNegaBetter) static intgetGroupValueInt(org.bukkit.entity.Player player, Map<String, Integer> map, boolean isNegaBetter) static longgetGroupValueLong(org.bukkit.entity.Player player, Map<String, Long> map, boolean isNegaBetter) static StringgetPermGroup(org.bukkit.entity.Player p) getPermissionGroups(org.bukkit.entity.Player p) static StringgetPrefix(org.bukkit.entity.Player p) static StringgetSuffix(org.bukkit.entity.Player p) static booleanstatic booleanstatic booleanisMythic(org.bukkit.entity.Entity e) static booleanisNPC(org.bukkit.entity.Entity e)
-
Field Details
-
VAULT
- See Also:
-
CITIZENS
- See Also:
-
PLACEHOLDER_API
- See Also:
-
MYTHIC_MOBS
- See Also:
-
WORLD_GUARD
- See Also:
-
-
Constructor Details
-
Hooks
public Hooks()
-
-
Method Details
-
getPermGroup
-
getPermissionGroups
-
getGroupValueLong
-
getGroupValueInt
-
getGroupValueDouble
-
getPrefix
-
getSuffix
-
isNPC
public static boolean isNPC(@NotNull org.bukkit.entity.Entity e) -
isMythic
public static boolean isMythic(@NotNull org.bukkit.entity.Entity e) -
hasPlugin
-
hasPlaceholderAPI
public static boolean hasPlaceholderAPI() -
canFights
public static boolean canFights(@NotNull org.bukkit.entity.Entity attacker, @NotNull org.bukkit.entity.Entity victim)
-