A
Admincraftβ€’7d ago
ipozow

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 ☠️
undefined
undefinedβ€’7d ago
for private event or school smp? whats the problem in most case, no
ipozow
ipozowOPβ€’7d ago
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
ipozow
ipozowOPβ€’7d ago
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
ipozow
ipozowOPβ€’7d ago
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
Snow Kit
Snow Kitβ€’7d ago
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
ipozow
ipozowOPβ€’7d ago
XD thank you yeah, I didn't want to go spending a lot of time whitelisting players for nothing
Dawson
Dawsonβ€’7d ago
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
ipozow
ipozowOPβ€’7d ago
well, it was like 95k, I used ChatGPT to make a plugin
Dawson
Dawsonβ€’7d ago
oh my god 😭
Cooleg
Coolegβ€’7d ago
personally id use some sort of actual database for this so i wouldnt end up with an obese whitelist.json but you do you
Shadow
Shadowβ€’7d ago
holy...
Torrent
Torrentβ€’7d ago
What the fuck…
Snow Kit
Snow Kitβ€’6d ago
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
Casper
Casperβ€’6d ago
I know on vanilla it is an issue but if you're on paper you're fine

Did you find this page helpful?