convert %player% to player's 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ECSE

Member
May 27, 2021
11
0
1
25
sorry for my poor english.

i used whole variables as %player%.
but when player's nickname changed, data was disappeared.
so i convert this variables player -> player's uuid.
how to convert them?
just change in config in skript folder?

config in skript folder:
use player UUIDs in variable names: false -> true
 
Let's hope you used list variables, you can convert them using
Code:
loop {oldvariable::*}:
    set {newvariable::%loop-index%} to loop-value

And changing the value in the config folder only works for new variables, old ones won't get converted
 
Status
Not open for further replies.