mirror of
https://bitbucket.org/HeshamTB/greet.git
synced 2024-11-22 11:32:15 +01:00
test
This commit is contained in:
parent
17a161e886
commit
03909af16d
@ -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() {}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user