1Rogue I thank you for the line of code, but I have no idea on how to use it. You may say it is one of the most basic and you should think that I...
1Rogue I scrolled through it and saw it was a number counter and did not see where that could help me at all. I will do some toying with that code...
Gater12 It's possible, but a little tricky. That is why I was using my old code to save me some time. I guess with the new updates, it no longer...
Gater12 So I can get the players that are in the game (or the arraylist) and send them messages instead of broadcasting them to the whole server....
Gater12 Yes. I want to get the ArrayList's line 69 (lol) and be able to send the messages or teleport them and stuff.
The_Doctor_123 That would only work if I was searching for a certain player inside of the array list. Not getting the player in a certain line.
1Rogue That does not help at all. I don't need to go through numbers to pick players, I need to get a certain line in the arraylist, and if it...
1Rogue Problem is I don't know how to do that. I used to just use my original line of code and it worked. I don't know how to iterate through the...
The_Doctor_123 With a player joining a game, they are added into the arraylist*. Instead of making the message broadcast to the entire server, I...
The_Doctor_123 I was using join[0].sendMessage("Test"); Before and 1Rogue said to just do what I was doing before with arr. I don't understand...
The_Doctor_123 So am I searching for a certain player in the arraylist within arr[here]?
1Rogue *Facepalm* Thanks xD 1Rogue Wait, when I try to use this, I get java.lang.ArrayIndexOutOfBoundsException: 1 at...
1Rogue So I understand that you made arr to use. But I am confused on how to use it to check for the player in a certain line and send them a message.
I am trying to get the array list Server1PL certain lines and if they equal players it sends them messages. Which should work with Object[] o =...
So I have this error: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.bukkit.entity.Player; at...
Separate names with a comma.