Don't use player.setPlayerListName(); anymore! You do not need it anymore. Just work with scoreboards.
- You do not need to create instances anymore. Use
NickPlugin.getPlugin().getAPI(). If you do not want it, just create your own instance of NickAPI
- Fixes massive of bugs which bugged with another plugins -
player.setPlayerListName is no longer required. Do NOT use it. Just work with scoreboards.
- Added 3 new methods that could be dangerous for your server:
API::setGameProfileName, API::resetGameProfileName, API::getOriginalGameProfile, API::getGameProfileName. You can set the new nicked name into the GameProfile. Advantage: The player is nicked and can't be resolved through tab or something else.
Warning: I do not recommend to use it, use API::setTabCompleteStatus. The player CANNOT be identified through player.getName(). I do
not support it, if you have problems with it. The plugin automatically calls the resetGameProfile method on Kick & QuitEvent and on onDisable method.
-
The plugin can now loaded with PlugMan or something else. The plugin DOES NOT need any kind of restarts anymore. - Used #substring for nicked names. On the previous version, if you used > 16 letters, players are gonna be kicked. It is fixed now. - Fixed a bug whether some things didn't get restored after sending RespawnPacket - Delayed API:refreshPlayer (Scheduler) to prevent bugs. It costed me a lot of work doing it perfectly. Please test the update and rate it on SpigotMC.org. (Will upload it in a few minutes)