Easily convert your database player names to UUIDs!

Discussion in 'Bukkit Tools' started by PhilipsNostrum, Apr 16, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    I made a litte thing to convert all of the player names on my MySQL databases to UUIDs and decided to share it with you guys. This TECHNICALLY is a plugin, but I don't want to post it on BukkitDev and stuff since it will only be useful until 1.8, so I'm not sure if this is the right place to post it :/.

    Anyway, here's How it works:

    1. Drag and drop the jar to your plugins folder (no configuration required)
    2. Start the server
    3. Make sure the column you want to switch to UUIDs has the maximum size set to at least 36
    4. Type /convert username:hostname:password:databasename:tablename columnname - being those your MySQL database connection details and the column name the column which has the player names stored
    5. Appreciate the spam on your console and in game and wait until it finishes.

    It basically first loads all of the player names, stores them on a HashMap with their UUID (which it gets using the getServer().getOfflinePlayer(playername).getUniqueId().toString()method) and then updates all records on that table.
    DOWNLOAD: <Edit by Moderator: Redacted mediafire url>
    Have fun and feel free to ask for help if you have any problem ;)

    PS: the :p after hostname is : password without a space
    Last edited by a moderator: Nov 3, 2016
Thread Status:
Not open for further replies.

Share This Page