Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("[Interface 8134] " + getUsername() + " -> ::players command (start)");
- actionSender.sendString("Players Online List", 8144);
- actionSender.sendString("There are " + World.playerAmount() + " players online.", 8145);
- int i = 0;
- for(Player player : World.getPlayers()) {
- if(player == null) {
- continue;
- }
- if(Constants.QUEST_FRAMES[i] == 8145) {
- continue;
- }
- /*if(i > Constants.QUEST_FRAMES.length)
- continue;*/
- actionSender.sendString(player.getUsername(), Constants.QUEST_FRAMES[i]);
- System.out.println("[Interface 8134] " + player.getUsername() + "; " + Constants.QUEST_FRAMES[i]);
- i++;
- }
- //actionSender.sendString(getUsername(), 8147);
- actionSender.sendInterface(8134);
- actionSender.sendMessage("There are currently " + World.playerAmount() + " players online.");
- System.out.println("[Interface 8134] " + getUsername() + " -> ::players command (end)");
Advertisement
Add Comment
Please, Sign In to add comment