Commit Graph

37 Commits

Author SHA1 Message Date
William
2e5bf0f74d
docs: Minor ref formatting updates 2023-11-09 15:55:00 +00:00
AlexDev_
b8698075de Added missing key to Config-File.md 2023-11-09 16:27:16 +01:00
AlexDev_
7c61d82ce6 Fixed wrong method in docs 2023-11-07 16:02:09 +01:00
AlexDev_
3bb457f14e Docs fix 2023-11-06 11:28:19 +01:00
AlexDev_
c36e17b75e
Added PlayerAddedToTabEvent, improved PlayerTabList performance and more (#114)
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.
2023-11-05 21:15:23 +01:00
William
8d3abf7ef2
docs: Update documentation on supported MC versions 2023-10-22 17:06:54 +01:00
AlexDev_
f03b8f1819
Added an option to remove name tags if prefix & suffix are empty (#108) 2023-10-21 12:58:38 +01:00
William
887359ddd0
docs: Fixup formatting mistake in Sorting 2023-10-19 15:11:08 +01:00
AlexDev_
d0c55b9112
docs: New API documentation corrections (#107)
* Updated docs

* Improved grammar

* Added more information about vanishing a player.
2023-10-19 15:07:50 +01:00
William
ad3183fca1
docs: Add API docs 2023-10-18 19:29:31 +01:00
William278
48c2b11e30 docs: Slight nametag formatting fixes 2023-10-13 10:48:21 +01:00
William278
b40a48a987 docs: Document new placeholders 2023-10-12 13:44:29 +01:00
William
8224cd0ff1
Fixes, logic simplification, update docs for nametags (#101) 2023-10-12 11:44:27 +01:00
William278
6c8b1b8147 Update config file with new sorting key 2023-09-25 15:20:34 +01:00
William278
2afbf38ee1 Add %server_group% and %server_group_index% placeholders 2023-09-25 15:19:32 +01:00
AlexDev_
cb8a50c24f
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>
2023-09-25 15:10:45 +01:00
Nikita Obrekht
90a26f15eb
Add sorting by server group (#88)
* Add sorting by group order and group name

* Fix sorting by server group

* Use order of groups instead of config option

* Remove redundant getServerGroup in SERVER_GROUP

* Update Sorting in docs
2023-09-15 17:54:25 +01:00
William
0ca8d5185b
Fix wrong comment in config file 2023-07-25 12:27:38 +01:00
William
084cdec697
docs: Update Config-File.md page 2023-06-15 21:45:58 +01:00
William
71efba9139
Fix wrong PAPI cache time 2023-06-12 14:25:18 +01:00
William
07fd9c306a
Add role_display_name placeholder, add docs for sorting 2023-06-12 12:02:33 +01:00
William
83623eead8
docs: Fix broken link 2023-06-07 09:05:54 +01:00
William
9c7b8ac3df
docs: Add custom logos to homepage 2023-05-29 14:18:08 +01:00
William
aaae3216c8
docs: Add custom logos to sidebar 2023-05-29 14:17:51 +01:00
William
7a1cc640b3
Create Custom-Logos.md
docs: Add docs for displaying custom logos
2023-05-29 14:17:05 +01:00
William
e0fea30feb
docs: Add clarity to update rate part of Animations page 2023-05-29 13:30:54 +01:00
William
49f6f61ba6
docs: Tweak language in Formatting 2023-05-29 13:27:17 +01:00
William
eb36002f36
Fix a few issues in Setup docs 2023-05-29 13:26:15 +01:00
William
8ba66e7b56
docs: Update Formatting documentation 2023-05-06 15:49:14 +01:00
William
f773fc1a39
docs: Add footer 2023-04-21 19:00:08 +01:00
William
6995df1995
docs: Add contribution invitation 2023-04-21 15:06:48 +01:00
William
65da8556e7
docs: Clarify config file 2023-04-21 15:04:03 +01:00
William
5f090b9f77
docs: Add links to Setup.md 2023-04-21 14:39:51 +01:00
William
0cee3556f1
docs: Update Placeholders.md, tweak script 2023-04-21 14:28:46 +01:00
William
ecf0fdfe15
docs: Update Animations.md 2023-04-21 14:26:35 +01:00
William
c9d150a11d
docs: Update workflow, add link to config file from setup 2023-04-21 14:02:59 +01:00
William
e98ffaf4a6
Add docs to main repo, docs update action 2023-04-21 13:57:24 +01:00