get all online players bukkit code example
Example: bukkit for every player
for(Player all : Bukkit.getServer().getOnlinePlayers())
{
all.something(something)
}
for(Player all : Bukkit.getServer().getOnlinePlayers())
{
all.something(something)
}