Class Messaging

java.lang.Object
net.citizensnpcs.api.util.Messaging

public class Messaging extends Object
  • Constructor Details

    • Messaging

      public Messaging()
  • Method Details

    • configure

      public static void configure(File debugFile, boolean debug, String messageColour, String highlightColour, String errorColour)
    • debug

      public static void debug(Object... msg)
    • idebug

      public static void idebug(Supplier<String> msg)
    • isDebugging

      public static boolean isDebugging()
    • log

      public static void log(Object... msg)
    • logTr

      public static void logTr(String key, Object... msg)
    • minecraftComponentFromRawMessage

      public static Object minecraftComponentFromRawMessage(String raw)
    • parseComponents

      public static String parseComponents(String raw)
    • send

      public static void send(CommandSender sender, Object... msg)
    • sendColorless

      public static void sendColorless(CommandSender sender, Object... msg)
    • sendError

      public static void sendError(CommandSender sender, Object... msg)
    • sendErrorTr

      public static void sendErrorTr(CommandSender sender, String key, Object... msg)
    • sendTr

      public static void sendTr(CommandSender sender, String key, Object... msg)
    • sendTrColorless

      public static void sendTrColorless(CommandSender sender, String key, Object... msg)
    • sendWithNPC

      public static void sendWithNPC(CommandSender sender, Object msg, NPC npc)
    • sendWithNPCColorless

      public static void sendWithNPCColorless(CommandSender sender, Object msg, NPC npc)
    • severe

      public static void severe(Object... messages)
    • severeTr

      public static void severeTr(String key, Object... messages)
    • stripColor

      public static String stripColor(String raw)
    • tr

      public static String tr(String key, Object... messages)
    • tryTranslate

      public static String tryTranslate(Object possible)
    • warn

      public static void warn(Object... string)