Sueta

UUID catcher

1.8.8-1.13.2

A Plugin help you to manage player changing namens

·Plugin

The plugin UUID catcher, adding one new Event called
PlayerChangeNameEvent, witch is useful when you want to react
on a name change in your own plugin.
You only have to download my plugin UUIDcatcher.jar. place it in your plugin folder. Now you can add the plugin as an archiv to our own plugin.

You can create a new Event and ready. The uuid catcher works. Now its your turn to react in your own way to a name change maybe eding your config or sending the player a message like event.getPlayer().sendMessage("Oh you have changed your name" + event.getPlayername());

bild1.jpg

event.getPlayer() returns the player, joining the sever
"removed" event.getChange() return a boolean. True means player changed the name
event.getOldname() return the old username.
event.getNewname() return the new username
event.getAllnames() return a String[] containing all the usernamens a player had, however it print also the current username.
event.getPlayer() return the player joining the server
event.getPlayername() return the name of the player joining the server
event.getPlayeruuid() return the Uuid of the player joining the server

bild2.jpg

I hope you like my Plugin, and maybe could use it in your own :p.
If you find bugs please report it in the comments below and i will fix it.

Similar projects

Plugin →