Class Messenger


  • public abstract class Messenger
    extends Object
    • Field Detail

      • prefix

        public static String prefix
    • Constructor Detail

      • Messenger

        public Messenger()
    • Method Detail

      • setup

        public static void setup​(org.bukkit.plugin.Plugin plugin)
      • setupDebug

        public static void setupDebug​(org.bukkit.plugin.Plugin plugin,
                                      boolean status)
      • validate

        public static boolean validate()
      • getPrefix

        public static String getPrefix()
      • setPrefix

        public static void setPrefix​(String prefix)
      • tell

        public static boolean tell​(org.bukkit.command.CommandSender sender,
                                   String msg)
      • tell

        public static boolean tell​(org.bukkit.command.CommandSender player,
                                   Object msg)
      • tell

        public static boolean tell​(org.bukkit.entity.Player player,
                                   Object msg)
      • tell

        public static boolean tell​(org.bukkit.entity.Player player,
                                   String msg)
      • tell

        public static boolean tell​(org.bukkit.command.CommandSender sender,
                                   net.md_5.bungee.api.chat.BaseComponent msg)
      • tell

        public static boolean tell​(org.bukkit.command.CommandSender sender,
                                   net.md_5.bungee.api.chat.BaseComponent... msg)
      • tell

        public static boolean tell​(org.bukkit.command.CommandSender sender,
                                   net.md_5.bungee.api.chat.TextComponent msg)
      • broadcast

        public static boolean broadcast​(net.md_5.bungee.api.chat.BaseComponent... components)
      • broadcast

        public static boolean broadcast​(net.md_5.bungee.api.chat.TextComponent msg)
      • broadcast

        public static boolean broadcast​(String msg)
      • broadcast

        public static boolean broadcast​(Object msg)
      • out

        public static void out​(Object msg)
        Outputs the raw message to console.
        Parameters:
        msg -
      • info

        public static void info​(Object msg)
        Outputs the formatted message to console.
        Parameters:
        msg -
      • warning

        public static void warning​(Object msg)
      • severe

        public static void severe​(Object msg)
      • debug

        public static void debug​(Object msg)