#Can someone explain to me how to add a variable to the Player.
5 messages · Page 1 of 1 (latest)
The easiest is probably using the data attachment API. I'm not sure if you attach it to the player entity or the game profile though.
I've got an example for a sheep, which is kinda close. One sec.
Found a better example