How does player id block work?

so ive managed to understand a bit more about it but I’m still confused
so far I’ve managed to figure out

1 players joining and rejoining gives them a new id meaning each time a player joins a new id is assigned
2 the id is what I’m guessing pulled straight from the game itself it’s not like in order of player joining so instead of 1,2,3 for id’s it’s this
Screenshot 2025-04-29 11.57.04 AM
but my question is what else can you do with them? because I have a feeling there’s more to it than just that
and I still have no idea how these are assigned

1 Like

Wait, you get a new ID every time you join?

they use it so only that player can get a op item that others cant

1 Like

so basically you can make if player id = this they get smth and this is gud 4 if u make it your id it can help test ur game (meaning you can give youserlf stuff)

any more questions? btw i dont know how it is assighned

You can use it for certain player detection, so you can make ban systems or trigger systems exclusive to some players.

You could use that for the trackers.

is there any Way to have An ID that stays the same no matter what the settings change or the game the play?

I would keep this question in the topic you recently created.

nope the id doesn’t stay the same even if you rejoin as the same name
so cant be used for that
also I know how to use it in blocks ._. I just wanted to know how it worked to see if there was anything worthwhile that my half smooth brain couldn’t see

also what I meant by how are they assigned
was like how are they created and assigned to each player?
to put it simply

It is random I think,

What if one can decode that id from hex to decimal (bad idea ik, but just a thought)

i mean sure go ahead :p

Considering that makes me question how it can be used.

Ok, im back, and the hexadecimal converter gave me a very interesting result…(i used the id in the og post)
3.220700104660678e+28 was the result.

(Um, maybe I should try a uuid converter?)