Package org.kingdoms.services.managers
Class ServiceHandler
java.lang.Object
org.kingdoms.services.managers.ServiceHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddGlobalMessageHandler(BiConsumer<org.bukkit.entity.Player, String> handler) static voidannounce(KingdomsConfig.Chat section, com.google.common.base.Supplier<MessagePlaceholderProvider> settings) static booleanstatic booleanbankServiceNotAvailable(org.bukkit.command.CommandSender player) static StringgetGroup(org.bukkit.entity.Player player) static org.kingdoms.services.pets.PetInfogetPetInfo(org.bukkit.entity.Entity entity) static booleanisAuthenticated(org.bukkit.entity.Player player) static booleanisIgnoring(org.bukkit.entity.Player player, UUID ignoring) static booleanisInGodMode(org.bukkit.entity.Player player) static booleanisNPC(org.bukkit.entity.Entity entity) static booleanisVanished(org.bukkit.entity.Player player) static booleanisVanished(org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer offlinePlayer) static voidlogPrivateMessage(org.bukkit.entity.Player player, String str) static voidsendGlobalMessage(org.bukkit.entity.Player player, String message)
-
Constructor Details
-
ServiceHandler
public ServiceHandler()
-
-
Method Details
-
bankServiceAvailable
public static boolean bankServiceAvailable() -
announce
public static void announce(KingdomsConfig.Chat section, com.google.common.base.Supplier<MessagePlaceholderProvider> settings) -
bankServiceNotAvailable
public static boolean bankServiceNotAvailable(org.bukkit.command.CommandSender player) -
getPetInfo
public static org.kingdoms.services.pets.PetInfo getPetInfo(org.bukkit.entity.Entity entity) -
addGlobalMessageHandler
-
isVanished
public static boolean isVanished(org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer offlinePlayer) -
isVanished
public static boolean isVanished(org.bukkit.entity.Player player) -
isNPC
public static boolean isNPC(org.bukkit.entity.Entity entity) -
isIgnoring
-
isInGodMode
public static boolean isInGodMode(org.bukkit.entity.Player player) -
sendGlobalMessage
-
getGroup
-
isAuthenticated
public static boolean isAuthenticated(org.bukkit.entity.Player player) -
logPrivateMessage
-