1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reseting players uuid

Discussion in 'Requests' started by IiIthe_oneIiI, Jul 28, 2022.

  1. IiIthe_oneIiI

    IiIthe_oneIiI Member

    Nov 6, 2021
    Likes Received:
    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!
    --- Double Post Merged, Jul 28, 2022, Original Post Date: Jul 28, 2022 ---
    boost ig
  2. Bit

    Bit Member

    Jan 26, 2021
    Likes Received:
    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 (Text):
    1. on join:
    2.     if {clearInv::%player's uuid%} is not set:
    3.         clear player's inventory
    4.         set {clearInv::%player's uuid%} to true

Share This Page