public static void sendMessageFormatted( String playerName, String worldName, String message, Player[] players) { // TODO: Throw player not found exception. sendMessageWithouSync(format(BaseFormat, playerName, worldName, message), players); Synchronizer.sendMessage( new FormattedChatMessage_Players(BaseFormat, playerName, worldName, message, players)); }
public static void sendMessage(String msg, String[] permmisions) { sendMessageWithouSync(msg, permmisions); Synchronizer.sendMessage(new ChatMessage_Permmissions(msg, permmisions)); }
public static void sendMessage(String msg, Player[] players) { sendMessageWithouSync(msg, players); Synchronizer.sendMessage(new ChatMessage_Players(msg, players)); }
public static void sendMessage(String msg) { sendMessageWithouSync(msg); Synchronizer.sendMessage(new ChatMessage(msg)); }
public static void sendMessageFormatted(Player player, String message, String[] permmisions) { sendMessageWithouSync(format(BaseFormat, player, message), permmisions); Synchronizer.sendMessage( new FormattedChatMessage_Permmisions(BaseFormat, player, message, permmisions)); }
public static void sendMessageFormatted(Player player, String message) { sendMessageWithouSync(format(BaseFormat, player, message)); Synchronizer.sendMessage(new FormattedChatMessage(BaseFormat, player, message)); }