Reseting players uuid

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

IiIthe_oneIiI

Member
Nov 6, 2021
4
0
1
24
Yo so I'm making a server and the whitelist for some reason didn't work I was able to fix that but I noticed people got items its not a huge deal other than the fact I don't anyone to have an advantage. how to reset all player's UUID? I can do the lp's and everything I just want to reset all the inventories thanks!
[doublepost=1658988872,1658980566][/doublepost]boost ig
 
This would clear all inventories once. Consider removing all the playerdata from the world instead, so everything is being completely cleared, from Enderchest, to inventory to exp.
Don't forget the possibility of Chests and Shulker Boxes, which would also need to be cleared.
Code:
on join:
    if {clearInv::%player's uuid%} is not set:
        clear player's inventory
        set {clearInv::%player's uuid%} to true