UUIDLib
UUIDLib
For Server Owners
If you have been directed here by another plugin that requires this plugin to run, simply download that jar file and drop it in your plugins folder. You don't need any further information on this page.
About This Plugin
UUIDLib is a library that allows you to create an identifier using any character sequence that points to a UUID with Bukkit. This Library allows for enhanced security and ease-of-use when trying to identify players. For example, if you were creating a plugin like lockette, simply having a person's name isn't enough. Players can now change their names and so using a person's name will not guarantee that it will be the same player every time they log in. This wouldn't be a major issue, except that UUID's are very long and impractical. UUID's cannot be used by people.
To combat this issue, I have created this library. Let's say that a player creates a locket sign with the name "zachoooo". If you look up the UUID with that identifier, you will always get the same player regardless of whether or not they changed their name. This has a variety of applications besides that. You can make it easier to refer to players in commands and ensure you're performing actions to a player with a specific UUID and more.
Github
UUIDLib on Github This open source project is hosted by Github. Developers, please go there to see how to implement this library or submit tickets with feature requests of bugs.
@MCMainiac
I have already published files. It is awaiting approval on bukkit dev. If you want, you can go to gather and copy the interface file into your project so you can start coding with it. The file is available on GitHub.
When will we able to donwload it? Because, it seems to be a very useful library which i want to use.
Good job :D
@selfservice0
UUIDLib uses an identifier, not player names. If you point the identifier wayne to Player A, then wayne will always refer to player A using UUIDLib. If you point to player B using the identifier B, then UUIDLib will always point to player B.
Their name changes will have no effect on which UUID is returned by an identifier. That is the purpose of the whole thing.
What would happen in the below scenario?
Player A is named "Wayne"
Player B is named "Dwight"
Player A changes his name to "PigMan"
Player B changes his name to "Wayne"
Player A changes his name to "Dwight"
When a plugin uses UUIDlib to view the uuid for player Wayne. What would the result be?