I have a list off UUIDs of players who have joined, how do I automatically add to whitelist?
I have a full list of all the UUIDs I want to be on my whitelist, but it seems that whitelist.json doesn't accept UUIDs without a username entry as well.
The attached image is my whitelist right now. This does not work, NONE of the whitelisted UUIDs can join.
What do I do about this?
35 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by mow_cat#0
i guess u gotta include name with uuid
is there an automated way to go through 200+ uuids and get their names?
https://mctools.org/whitelist-creator
just put usernames of people u want
no
and generate whitelist.json
i only have uuids
i need the names
not other way around
hold on
unless there may be a way to get the name of everyone who has joined. but i have only found a way to get the uuid of everyone who has joined
Minecraft UUID / Username Converter
Minecraft UUID and username lookup. Resolve, convert and view name history of any username/UUID today.
maybe?
that has to be done manually then
ok i have a different question actually
is there a not-manual way to get every username of every player who has ever joined a server?
it seems liek it would be easier to do that
if that is possible
and then just put every username in the whitelist maker
do u have this
in ur server files
that seems to display names and uuid
yes but does it contain all usernames or just the cached ones?
idk
check yourself
its only cached ones
the file should be WAY bigger otherwise
i guess this is ur only option then
i cant do that manually for 200 + usernames
theyd probably blacklist my ip after that many š
especially if i found some way to automate it and do it quickly
how many players does that file have
could save u some time
idk what else
This can probably be done is a scripting language of your choice.
Since you can query the site using the UUID in the url theb scrape the name
Beautifulsoup in python
if i have to engineer a solution in a new language, its gonna take even longer than if i did this all manually probably
PlayerDB
PlayerDB is a JSON powered player fetching and caching service. Lookup player names and IDs for Minecraft, Steam, and Xbox accounts.
If you have to learn to program then maybe
But learning pays
what about the opposite?
is there one for if i only have uuid?
Minecraft UUID / Username Converter
Minecraft UUID and username lookup. Resolve, convert and view name history of any username/UUID today.
idk
like has no one ever run into this problem before? idk what im doing
never scraped anything before
It can be overwhelming if you aren't familiar with html, rest, scripting, but it's also a pretty solid use case for scripting.
i understand, but this is also kinda time sensitive
This is the sort of thing I would code and then throw away
RIP
GG
weep, for i am making the single most stupidly written scraper known to man
where i specifically search out "username", add 3 to that index, and then just take everything between that index and the next quotation mark
not parsing the data or anything, just taking the whole webpage and searching it for a string
š
doesnt even check if the request was successful in finding a player
hooh
but thisll work i think
i hope
it works i guess
i REALLY think someone should make a plugin for this tho
like how has no one ever thought "hm im going to turn on the whitelist now but i DONT want all previous players to be stopped from entering the server" with a server that has had more than 20 people?
oh well