コード例 #1
0
 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));
 }
コード例 #2
0
 public static void sendMessage(String msg, String[] permmisions) {
   sendMessageWithouSync(msg, permmisions);
   Synchronizer.sendMessage(new ChatMessage_Permmissions(msg, permmisions));
 }
コード例 #3
0
 public static void sendMessage(String msg, Player[] players) {
   sendMessageWithouSync(msg, players);
   Synchronizer.sendMessage(new ChatMessage_Players(msg, players));
 }
コード例 #4
0
 public static void sendMessage(String msg) {
   sendMessageWithouSync(msg);
   Synchronizer.sendMessage(new ChatMessage(msg));
 }
コード例 #5
0
 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));
 }
コード例 #6
0
 public static void sendMessageFormatted(Player player, String message) {
   sendMessageWithouSync(format(BaseFormat, player, message));
   Synchronizer.sendMessage(new FormattedChatMessage(BaseFormat, player, message));
 }