If I enter "/ is warp" on a Skyblock server in the chat and then press Tab, then I request an auto-complete from the server (as with any other command, even if I press Tab.). He then sends me a list of thousands of player names. Now the question: could I crash the server if I repeatedly enter the command? Are thousands of player names read out of the database every time? Or is the whole thing cached somewhere and just copied from there?
The players are off the server list (if you press [TAB] ingame) …
You won't be able to crash much with it
However, he does not hold it down but requests it each time
No, they are not from the server list, but from a file.
And from what file?
That would be kind of stupid… This is from the server list…
I meant the server list… It is also called with TAB…
With thousands of player names?
Honestly the questioner should just try it out, see what comes out ^^
He's not going through anything with players.
It just sends the server list.
The server goes through every time a command has its own tab completer. He always goes through e.g. Permissions through.
Moreover:
I have never seen thousands of players on one server.
Ok, hundreds… But is there a little difference?
I have never seen thousands of players on one server.
That's why I said it because the questioner says he gets thousands of player names sent which can't be if you only get the server list sent
This can only happen on servers with bungeecord.
When a plugin polls the player list of Bungeecord and then sends it.
But it's exactly the same as a normal server… It's just the server list
I then guess that his Internet connection would break rather than the server crash if you are right with your statement
The command / is warp…
When I press the tab, shows me all players who have previously created a Skyblock island on the server. And that's thousands.
This has nothing to do with the server list / the name you normally see on the tab.
So as I said: is in a file, not in the list of online players.
Nevertheless, the server does not go through every single player…
How else?
He sends me a list of thousands of names.
Why should the server go through the names?
I doubt you go through a 500 page book you don't care about before handing it over to someone?
The server sends you the content and you're done. There's nothing wrong with it
You don't have to do all the queries, you can also e.g. / is warp b [tab], then you will not be shown all players but only those with the first letter b
Unfortunately I do not know now whether the server goes through this and only sends the one with b or whether it sends everything and the client sorts it