示例#1
0
 /**
  * Send a message to administrators </br> This function is designed for API usage.
  *
  * @param plugin The plugin sending the message
  * @param sender The name of the sender to display in the chat
  * @param message The message to send
  */
 public static void sendAdminChat(Plugin plugin, String sender, String message) {
   ChatManager.handleAdminChat(plugin, sender, sender, message);
 }
示例#2
0
 /**
  * Send a message to all members of a party </br> This function is designed for API usage.
  *
  * @param plugin The plugin sending the message
  * @param sender The name of the sender to display in the chat
  * @param party The name of the party to send to
  * @param message The message to send
  */
 public static void sendPartyChat(Plugin plugin, String sender, String party, String message) {
   ChatManager.handlePartyChat(plugin, PartyManager.getParty(party), sender, sender, message);
 }