Does a big whitelist (50k+ users) cause performance issues?
Was wondering if a big whitelist cause performance issues.
18 Replies
First question: why do you need a 50k whitelist β οΈ
for private event or school smp?
whats the problem
in most case, no
thanks
I want to make registration in the server a little more difficult so players choose other servers in the network :)
So you host a server, and you donβt want people to play on it
Isnβt this conflicting
yeah, it's like owning two homes with really old electronics, it's expensive to use them so it's better to get the people to your other home with new electronics that are far more efficient and then less expensive
the thing is that players join this server and as so little people plays there, they end up leaving the server
I donβt understand, if itβs not profitable and people donβt like it, why not just close it
You donβt want people to play on it, and yet you still want it to have people play on it
because some people like it
but I don't want new players :)
I won't close it since a lot of players invested so much time in it
if the vanilla whitelist implementation is too slow, you could probably get someone to implement a whitelist solution based on sqlite that would perform better, but I think vanilla's whitelist implementation should be fine at 50k players
XD
thank you
yeah, I didn't want to go spending a lot of time whitelisting players for nothing
please don't manually whitelist 50k users
please...
You can always get AI to help you. It can give you a json file to copy and paste into the whitelist.json file on your server
well, it was like 95k, I used ChatGPT to make a plugin
oh my god π
personally id use some sort of actual database for this
so i wouldnt end up with an obese whitelist.json
but you do you
holy...
What the fuckβ¦
I mean, if the json file is internally loaded as a hashmap with the uuid as a key, there wonβt be any performance issues
I know on vanilla it is an issue but if you're on paper you're fine