Package net.citizensnpcs.api.util
Class Messaging
java.lang.Object
net.citizensnpcs.api.util.Messaging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configure
(File debugFile, boolean debug, String messageColour, String highlightColour, String errorColour) static void
static void
static boolean
static void
static void
static Object
static String
parseComponents
(String raw) static void
send
(CommandSender sender, Object... msg) static void
sendColorless
(CommandSender sender, Object... msg) static void
sendError
(CommandSender sender, Object... msg) static void
sendErrorTr
(CommandSender sender, String key, Object... msg) static void
sendTr
(CommandSender sender, String key, Object... msg) static void
sendTrColorless
(CommandSender sender, String key, Object... msg) static void
sendWithNPC
(CommandSender sender, Object msg, NPC npc) static void
sendWithNPCColorless
(CommandSender sender, Object msg, NPC npc) static void
static void
static String
stripColor
(String raw) static String
static String
tryTranslate
(Object possible) static void
-
Constructor Details
-
Messaging
public Messaging()
-
-
Method Details
-
configure
-
debug
-
idebug
-
isDebugging
public static boolean isDebugging() -
log
-
logTr
-
minecraftComponentFromRawMessage
-
parseComponents
-
send
-
sendColorless
-
sendError
-
sendErrorTr
-
sendTr
-
sendTrColorless
-
sendWithNPC
-
sendWithNPCColorless
-
severe
-
severeTr
-
stripColor
-
tr
-
tryTranslate
-
warn
-