* Fixed logic problems with vanish + added tab recalculate system when luckperms fires UserDataRecalculateEvent
* Fix for https://github.com/WiIIiam278/Velocitab/issues/120 .
Fix for rgb nametags with legacy formatter.
Fix for players with escape characters in their name.
Fix for when a player is kicked from a server while staying online, tablist wasn't updated for that player.
Fix for vanish, wrong variable used.
Fix for negative values as input for tab sorting, min value is now 0.
Added PlayerAddedToTabEvent, improved PlayerTabList performance and added the possibility to reload the plugin without breaking the tab list. This is only for dev purposes. Bumped version to 1.5.2
Fixed a few problems.
* Added support for VanishIntegration
* Merged
* Added API and improved vanish system
* Fixed problem with API
* Fixed import problem
* Commit with requested changes
* first test
* Added NotNull missing annotations
* Fixed all requested changes
* Fixed logic problem
* Revert "first test"
This reverts commit 1be3c47d9c.
* Hide nametag if the prefix & suffix are empty.
* Fixes for conversations.
* Added missing @NotNull
* Adjust repo order; use `elytrium` over `exceptionflug`
---------
Co-authored-by: William <will27528@gmail.com>
* Added SortingManager.
* Fixed initialization problem + added cache for team name
* Improved code readability
* Commit with the requested changes.
* Update src/main/java/net/william278/velocitab/Velocitab.java
Co-authored-by: William <will27528@gmail.com>
---------
Co-authored-by: William <will27528@gmail.com>
* Added regex check for placeholders to avoid useless requests.
Added support for custom nametags. Due to minecraft limit only legacy chatcolor are supported.
Team names now are unique, so 1 team can have max 1 player.
Fixed problem with luckperms event bus while reloading the plugin.
* Update src/main/java/net/william278/velocitab/config/Placeholder.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/hook/LuckPermsHook.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/config/Formatter.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/UpdateTeamsPacket.java
Co-authored-by: William <will27528@gmail.com>
* Fixed problem while updating display names. Changed a few method signature as requested in pr. Applied changes of pr.
* Added support for placeholders as sorting system
* Code reformat
* Update logging, task scheduling and player rosters
Modified logging in the ScoreboardManager to represent playerNames as an array for readability. Ensured all tasks scheduled by Velocitab are canceled on proxy shutdown to prevent unwanted behavior. Reworked player roster management in PlayerTabList to correctly update player roles and decrease asynchronicity, enhancing performance and preventing possible race conditions.
* Fixed problems after merging with upstream, fixed problem with player team color on join.
* Fixed problems with pr-merge. Added sorting system with placeholders.
* Update src/main/java/net/william278/velocitab/packet/UpdateTeamsPacket.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/config/Formatter.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/player/TabPlayer.java
Co-authored-by: William <will27528@gmail.com>
* Fix username replacement in scoreboard and code typo
This commit resolves two issues. Firstly, changed the variable that we split the nametag on in `ScoreboardManager` from a hardcoded string to the player's specific username. This rectifies an issue where incorrect splitting occurred if the username wasn't exactly "%username%". Secondly, fixed a miswritten method call in `Formatter` from '..legacySection()' to '.legacySection()', correcting a syntax error. Lastly, removed superfluous replacement in `TabPlayer's` getNametag method as it was already handled in `ScoreboardManager`.
* Reformat code
* Changed logic with only one plugin message request.
* Update src/main/java/net/william278/velocitab/sorting/SortingManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/hook/LuckPermsHook.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Fixed requested changes
* Changed docs
---------
Co-authored-by: William <will27528@gmail.com>
* Added regex check for placeholders to avoid useless requests.
Added support for custom nametags. Due to minecraft limit only legacy chatcolor are supported.
Team names now are unique, so 1 team can have max 1 player.
Fixed problem with luckperms event bus while reloading the plugin.
* Update src/main/java/net/william278/velocitab/config/Placeholder.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/hook/LuckPermsHook.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/config/Formatter.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/UpdateTeamsPacket.java
Co-authored-by: William <will27528@gmail.com>
* Fixed problem while updating display names. Changed a few method signature as requested in pr. Applied changes of pr.
* Fixed problems after merging with upstream, fixed problem with player team color on join.
* Update src/main/java/net/william278/velocitab/packet/UpdateTeamsPacket.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/packet/ScoreboardManager.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/config/Formatter.java
Co-authored-by: William <will27528@gmail.com>
* Update src/main/java/net/william278/velocitab/player/TabPlayer.java
Co-authored-by: William <will27528@gmail.com>
* Fix username replacement in scoreboard and code typo
This commit resolves two issues. Firstly, changed the variable that we split the nametag on in `ScoreboardManager` from a hardcoded string to the player's specific username. This rectifies an issue where incorrect splitting occurred if the username wasn't exactly "%username%". Secondly, fixed a miswritten method call in `Formatter` from '..legacySection()' to '.legacySection()', correcting a syntax error. Lastly, removed superfluous replacement in `TabPlayer's` getNametag method as it was already handled in `ScoreboardManager`.
---------
Co-authored-by: William <will27528@gmail.com>