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());
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
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 →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta