Pufferfish 1.21.1 whitelist not adding
That player does not exist. Using latest 1.21.1 build of pufferfish.
57 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 ashanki#0
do they exist?
Yes.
It's a real ign
Worked on my other servers (different host)
Wepwawet moment?
what if you manually add them to the whitelist?
We had this issue, I think we just ended up manually adding the UUIDs
I've been doing that, it's frustrating
Give Simple Whitelist plugin a try
Or using Maintenance plugin with maintenance mode on, it behaves like vanilla whitelist when adding players
Were you able to fix it?
Pastebin
const { Client, Events, GatewayIntentBits } = require('discord.js')...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Made this bot
But it doesn't seem to work π€
Don't exactly know why
Also if I add someone to the whitelist via command (turn off whitelist, let them join, whitelist, turn on whitelist) the whitelist.json gets reloaded (changes from the bot aren't saved)
Anyone wanna look at my shitcode π
Basically just requests Mojang API and adds the thing to whitelist.json via sftp
...
!ask
Just ask whatever you want to ask!
https://dontasktoask.com/
If you want to improve your responses further still, you can follow Maddy's guide.
Admincraft Canned Responses
what happens
I thought I mentioned it... Welp guess not
It adds to whitelist.json correctly and whitelist reload is ran but whitelist is seemingly not reloaded properly
Whitelisted user is still unable to join
Tried doing it manually, same result
what does
/whitelist list
in game show?Doesn't show the ign I just added
if you manually run /whitelist reload then do /whitelist list, does it change anything?
^^ via bot or json manually
Even after whitelist reload was ran
I've quadruple checked the json formatting to make sure its not dying cuz of a linting error
Nope
Imma try troubleshooting it again l8r, will chat again in a few hrs. Gtg for now
are you sure the file name/path is right?
Very, I'm able to check sftp in ptero and the UUID shows up there as intended
It's whitelist.json in the root dir right?
well, it's /home/container/
not the root directory
unsure what it shows up as for sftp
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
whitelist.json
Requested by ashanki
tbh, the easiest thing I had for whitelisting players was just disabling the whitelist, allowing them to join once and then whitelisting them after they joined
(and re-enabling the whitelist)
That's what I've been xoing
I'm not having fun doing it π
is this paper or forge/fabric
Paper
just make a plugin for it
Note that J4ckpot_ isn't there in the list, but in the json
What would it do?
/uuidwhitelist <uuid>
which will just call Bukkit.getOfflinePlayer(UUID).setWhitelist(true)
Cool π
it'll call a different mojang api afaik
New Reminder | ID:76013592
Alright ashanki, I'll remind you in 2 days about:
Make plugin
!solved
Closed post!
Your post has been marked as solved!
Requested by ashanki#0
@Ashank https://github.com/funniray/UUIDWhitelist
it doesn't set the name field, but it works fine (I legitimately tried getting the name field working, but it won't work. I'd either have to directly write to the json file, or I'd have to use craftbukkit)
GitHub
GitHub - funniray/UUIDWhitelist: Paper plugin to whitelist players ...
Paper plugin to whitelist players by UUID. Contribute to funniray/UUIDWhitelist development by creating an account on GitHub.
Oh, ty π
Mind giving me a jar? I'm on mobile rn and can't compile
that's wildly trusting of you
Mf ayt fine, guess I'm getting on gh workspaces
Got my paranoia acting up
I dm'd you
it uses the vanilla whitelist perm
(i think)
Am I misunderstanding
yeah, it wonβt show in that list because it gets added without a βnameβ
Ah alr
but they should be able to join
Cool
like I said, I do resolve their username, but I think paper has a bug where it doesnβt use cached usernames when adding offline players to the whitelist
I see.
I could probably fix it with reflection/nms, but thats too much effort
Yeah I'll PR it maybe
you can probably even use the vanilla whitelist command on that username now
Lemme try
should be cached
Yup
Says player is already whitelisted
πππ
Tysm