Package net.citizensnpcs.api.util
Class Messaging
java.lang.Object
net.citizensnpcs.api.util.Messaging
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(File debugFile, boolean debug, boolean resetFormattingOnColorChange, String messageColour, String highlightColour, String errorColour) static voidstatic voidstatic booleanstatic voidstatic voidstatic Objectstatic StringparseComponents(String raw) static voidsend(CommandSender sender, Object... msg) static voidsendColorless(CommandSender sender, Object... msg) static voidsendError(CommandSender sender, Object... msg) static voidsendErrorTr(CommandSender sender, String key, Object... msg) static voidsendTr(CommandSender sender, String key, Object... msg) static voidsendTrColorless(CommandSender sender, String key, Object... msg) static voidsendWithNPC(CommandSender sender, Object msg, NPC npc) static voidsendWithNPCColorless(CommandSender sender, Object msg, NPC npc) static voidstatic voidstatic StringstripColor(String raw) static Stringstatic StringtryTranslate(Object possible) static void
-
Constructor Details
-
Messaging
public Messaging()
-
-
Method Details
-
configure
-
debug
-
idebug
-
isDebugging
public static boolean isDebugging() -
log
-
logTr
-
minecraftComponentFromRawMessage
-
parseComponents
-
parseComponentsList
-
send
-
sendColorless
-
sendError
-
sendErrorTr
-
sendTr
-
sendTrColorless
-
sendWithNPC
-
sendWithNPCColorless
-
severe
-
severeTr
-
stripColor
-
tr
-
tryTranslate
-
warn
-