for (Player p : Bukkit.getOnlinePlayers()) {
Random random = new Random();
int give = 1000000;
int giverandom = random.nextInt(give);
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "p give " + p.getName() + giverandom);
p.sendMessage("Вы получили + " + giverandom);
}
return true;