Changelog
Sorting System with Placeholders (#94)
-
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
Files
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
AlphaVersion number
1.5-cb8a50cLoaders
Game versions
1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1Downloads
26Publication date
September 25, 2023 at 2:11 PMPublisher
WiIIiam278
Owner