1
0
mirror of https://bitbucket.org/HeshamTB/greet.git synced 2024-11-22 05:02:15 +01:00
This commit is contained in:
hesham 2018-05-03 15:36:22 +03:00
parent 17a161e886
commit 03909af16d

View File

@ -1,19 +0,0 @@
package i.hesh.greet;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
public class sender {
private static final String PREFIX = ChatColor.AQUA + "[" + ChatColor.BLUE + "greet" + ChatColor.AQUA + "] "; //[ greet ]
/** Sends a chat message to the Player*/
public static void sendToPlayer(Player player, String msg, ChatColor color) {
player.sendMessage( PREFIX + color + msg);
}
/**Sends a chat message to all online players*/
public static void sendToAll() {}
}