bukkit wait for action of player code example
Example: java action every player bukkit
for(Player all : Bukkit.getServer().getOnlinePlayers())
{
all.something(something)
}
for(Player all : Bukkit.getServer().getOnlinePlayers())
{
all.something(something)
}