• Hey! Register here to create your account, engage with the community, and talk about what is new!

make heads in plot icons stay after skin changes

Moonyl

New member
Joined
Jul 3, 2022
Messages
3
Reaction score
0
Currently if you set a plot icon to your head it will change if u change your skin because it looks at the name of the head not the value with the NBT being {"SkullOwner": {"Id": [[id]],"Name": "[name]","Properties": {"textures": [{"Signature": "[signature]","Value": "[value]"}]}}}, you could change the name in the NBT to "-" since it's impossible to make an account with that name and keep the value the same since that's what the skin is actually linked to if the username is invalid because if u decode it from base64 it points to the URL of the skin and isn't linked to the username so if u changed it, the item would stay the same.

You could get the value from the head they're holding or by getting the value of the head they inputted with /p icon [head].

Basically you just need to change the name in the NBT to "-"

1674857555035.png
top is before changing name, bottom is after
left wasn't changed, right has name in NBT set to "-"
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
919
Reaction score
300
The problem is, the value is too big, it will take a lot of storage considering that a lot of players might use heads.
 

Moonyl

New member
Joined
Jul 3, 2022
Messages
3
Reaction score
0
The problem is, the value is too big, it will take a lot of storage considering that a lot of players might use heads.
the nbt has the value anyway tho and the value i had was 408 bytes if there were 10000 plots which used heads then that would only be 4.08mb
 
Last edited:

ac720

New member
Joined
Oct 28, 2022
Messages
8
Reaction score
1
The problem is, the value is too big, it will take a lot of storage considering that a lot of players might use heads.
can't you just use the uuid?
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
919
Reaction score
300
can't you just use the uuid?
no, cuz people can change their skin without changing their uuid, the suggestion is stating that it should store the value of the head rather than the owner (aka the uuid)
 
Top Bottom