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);
- List<Integer> if8134_taken = new ArrayList<Integer>();
- for (Player player : World.getPlayers()) {
- if(player == null) {
- continue;
- }
- System.out.println("[Interface 8134] " + player.getUsername());
- if8134_loop: {
- for (int i = 0; i < Constants.QUEST_FRAMES.length; i++) {
- if(Constants.QUEST_FRAMES[i] != 8145 && !if8134_taken.contains(Constants.QUEST_FRAMES[i]))
- {
- actionSender.sendString(player.getUsername(), Constants.QUEST_FRAMES[i]);
- System.out.println("[Interface 8134] " + player.getUsername() + "; " + Constants.QUEST_FRAMES[i]);
- if8134_taken.add(Constants.QUEST_FRAMES[i]);
- break if8134_loop;
- }
- }
- }
- }
- 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