UUIDSql 0.2.8
What is this plugin ?
This plugin allow you to store in a database, the UUID that correspond to the player and it real username. I made this plugin because with the recent change, some plugins are storing the username of a player with the new form. So for instance when the minecraft server is linked to a website ( via a database ), if plugins are storing the player name with this identifier, we can't have the player username that correspond to it. For example the well known plugin permissionsEx use this UUIDs to store player permissions and in my case I need to get permissions player informations in the website. That all why I made this usefull plugin ( for me it is usefull )
This plugin is not very interesting if you didn't need to work with a website.
How it work ?
That is realy simple. When a player joined the server, we add a new line in the mysql table. when the player is already in the table we simply update his UUID.
Commands ?
Since version 0.2.8, six commands are available :
- uuidsql reload.
- uuidsql getname <uuid>
- uuidsql getuuid <name>
- uuidsql purge
- uuidsql removeuuid <uuid>
- uuidsql removename <username>
This commands are available to everyone without permissions from player side and in the console.
Plugin permissions
Console didn't need permissions but peaple who wan't to execute remove command or purge or reload command need permissions. For this plugin there are 2 entity :
- uuidsql.reload -> to allow the user to reload the plugin
- uuidsql.remove -> to allow the user tu use remove and purge command
Plugin Configuration :
That realy simple. you just need to go in the config.yml file and change the database information with informations that correspond to your database.
Sources ?
The full code source is available on our github.com repos, here.
Note: THIS PLUGIN WAS CREATED AND TESTED FOR MINECRAFT 1.7.9 SO I DON'T KNOW IF IT WILL WORK WITH LOWER VERSIONS. YOU HAVE TO USE JAVA 7 OTHERWISE THE PLUGIN WON'T LOAD !