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...
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...
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...
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....
Yes. I want to get the ArrayList's line 69 (lol) and be able to send the messages or teleport them and stuff.
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.
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...
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...
With a player joining a game, they are added into the arraylist*.
Instead of making the message broadcast to the entire server, I...
I was using
Before and 1Rogue said to just do what I was doing before with arr.
I don't understand...
So am I searching for a certain player in the arraylist within arr[here]?
Wait, when I try to use this, I get
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;
Separate names with a comma.