A
Admincraftā€¢2y ago
Shadow

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?
No description
35 Replies
Admincraft Meta
Admincraft Metaā€¢2y ago
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
Zaid
Zaidā€¢2y ago
No description
Zaid
Zaidā€¢2y ago
i guess u gotta include name with uuid
Shadow
ShadowOPā€¢2y ago
is there an automated way to go through 200+ uuids and get their names?
Zaid
Zaidā€¢2y ago
https://mctools.org/whitelist-creator just put usernames of people u want
Shadow
ShadowOPā€¢2y ago
no
Zaid
Zaidā€¢2y ago
and generate whitelist.json
Shadow
ShadowOPā€¢2y ago
i only have uuids i need the names not other way around
Zaid
Zaidā€¢2y ago
hold on
Shadow
ShadowOPā€¢2y ago
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
Zaid
Zaidā€¢2y ago
Minecraft UUID / Username Converter
Minecraft UUID and username lookup. Resolve, convert and view name history of any username/UUID today.
Zaid
Zaidā€¢2y ago
maybe?
Shadow
ShadowOPā€¢2y ago
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
Zaid
Zaidā€¢2y ago
No description
Zaid
Zaidā€¢2y ago
do u have this in ur server files that seems to display names and uuid
Shadow
ShadowOPā€¢2y ago
yes but does it contain all usernames or just the cached ones?
Zaid
Zaidā€¢2y ago
idk check yourself
Shadow
ShadowOPā€¢2y ago
its only cached ones the file should be WAY bigger otherwise
Zaid
Zaidā€¢2y ago
i guess this is ur only option then
Zaid
Zaidā€¢2y ago
No description
Shadow
ShadowOPā€¢2y ago
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
Zaid
Zaidā€¢2y ago
how many players does that file have could save u some time idk what else
Nosirrom
Nosirromā€¢2y ago
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
Shadow
ShadowOPā€¢2y ago
if i have to engineer a solution in a new language, its gonna take even longer than if i did this all manually probably
Zaid
Zaidā€¢2y ago
PlayerDB
PlayerDB is a JSON powered player fetching and caching service. Lookup player names and IDs for Minecraft, Steam, and Xbox accounts.
Nosirrom
Nosirromā€¢2y ago
If you have to learn to program then maybe But learning pays
Zaid
Zaidā€¢2y ago
No description
Shadow
ShadowOPā€¢2y ago
what about the opposite? is there one for if i only have uuid?
Zaid
Zaidā€¢2y ago
Minecraft UUID / Username Converter
Minecraft UUID and username lookup. Resolve, convert and view name history of any username/UUID today.
Zaid
Zaidā€¢2y ago
idk
Shadow
ShadowOPā€¢2y ago
like has no one ever run into this problem before? idk what im doing never scraped anything before
Nosirrom
Nosirromā€¢2y ago
It can be overwhelming if you aren't familiar with html, rest, scripting, but it's also a pretty solid use case for scripting.
Shadow
ShadowOPā€¢2y ago
i understand, but this is also kinda time sensitive
Nosirrom
Nosirromā€¢2y ago
This is the sort of thing I would code and then throw away RIP GG
Shadow
ShadowOPā€¢2y ago
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

Did you find this page helpful?