Changelog
Added support for nametags and fixed a few problems (#84)
-
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
Files
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
AlphaVersion number
1.4.1-75d9f32Loaders
Game versions
1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1Downloads
24Publication date
September 22, 2023 at 4:58 PMPublisher
WiIIiam278
Owner