@heinrich5991 here is another attempt to request an increase in the size of the JSON accepted by the master server to 32KB. Currently, if I don't send the skin, send an empty clan, and set the score to zero, I can fit about 134 players. Without these tricks, the maximum is around 89 players. The remaining fields are mandatory and cannot be removed; otherwise, the client will drop the server information. I plan to compress the JSON later by removing line breaks, but unfortunately, even that won't be enough.
I made approximate calculations without considering the JSON limitations, focusing more on the size of server data:
Approximate maximum size of server information: 410 bytes
Approximate maximum size of information per player: 256 bytes
Thus, in the maximum case:
64 players: 410 + 256 * 64 = 16,794 bytes
128 players: 33,178 bytes
256 players: 65,949 bytes
If compression is applied:
64 players: 13,209 bytes (345 + 201 * 64)
128 players: 26,073 bytes
256 players: 51,801 bytes
Since the client sorts players by score, I can optimize this by sorting on the server side and sending, for example, only the top 64 players with skins, while the rest are sent without skins. This could reduce the information for 256 players to 35,162 bytes (410 + 12,864 + 21,888). If only 32 skins are sent, the total would be 32,378 bytes.