how would i send a message to evryone on the server? i know how to send to one player but not how to send to evryone also please have a look at another problem i am having http://forums.bukkit.org/threads/another-problem.725/
Hey..... I couldn't find a direct way to do it, so this is what I do: Code: Player [] playerList = server.getOnlinePlayers(); for(Player p: playerList) { p.sendMessage("Message"); } I used Plugin.getServer(); to get the server object... Hope this helps Michael --- merged: Jan 16, 2011 6:00 PM --- Oh, that would be better then my method