Kodowanie spigotu Jak wysłać wiadomość do gracza po Commadn
//After Command
public boolean onCommand(CommandSender sender, Command cmd, String[] args, String tag) {
if(tag.equals("test")) {
Player player = (Player)sender; //getting the player reference
player.sendMessage("Hello World!");
return true;
}
return false;
}
Yoni Yegorov