Convert folder with name.yml format to UUID.yml format

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

NahuLD

Feedback score
0
Posts
87
Reactions
17
Resources
0
That's a hard idea ;), considering that all the plugins has it's own methods to save the player's information
 

igztryhard

Feedback score
0
Posts
20
Reactions
6
Resources
0
That's a hard idea ;), considering that all the plugins has it's own methods to save the player's information
I do not want the information inside of the .yml to be changed. Only the name of the actual file. My name is igztryhard. The file name would be igztryhard.yml.
What I want is that file to be converted into UUID format so it would display 4d3e61bc-a214-4c92-ad37-059908a4d328.yml.
I do not see how this would be too hard, a simple python code could probably do it.
 

NahuLD

Feedback score
0
Posts
87
Reactions
17
Resources
0
If you change the name without changing the way that the plugin loads the player's information. The plugin that you were using won't read the displayname "4d3e61bc-a214-4c92-ad37-059908a4d328.yml" cause he doesn't runs with the UUID of the players, the plugin will create a new file with the name "igztryhard.yml".
 

igztryhard

Feedback score
0
Posts
20
Reactions
6
Resources
0
If you change the name without changing the way that the plugin loads the player's information. The plugin that you were using won't read the displayname "4d3e61bc-a214-4c92-ad37-059908a4d328.yml" cause he doesn't runs with the UUID of the players, the plugin will create a new file with the name "igztryhard.yml".
That's not a problem since i'm switching to a plugin that supports UUIDs. And i've already tested manually to change the name format and the plugin that supports UUIDs picked it up.
 

NahuLD

Feedback score
0
Posts
87
Reactions
17
Resources
0
The plugin that supports UUID's will take it, but the others won't.
 

NahuLD

Feedback score
0
Posts
87
Reactions
17
Resources
0
Anyway, it's possible and easy to do. If you wanna I can make a jar executable that you pick the folder and it will change all the nicknames per it's UUID
 
Status
This thread has been locked.
Top