Commit Graph

52 Commits

Author SHA1 Message Date
William
84ae7a9437
feat: Add configuration for server links (#201)
* feat: add server URLs

* refactor: cleanup imports

* fix: only send server links to 1.21 clients

* feat: update server links on reload

* refactor: minor cleanup

* docs: add docs for server links

* fix: protocol version check issue

* Improved ServerUrl#resolve

---------

Co-authored-by: AlexDev_ <56083016+alexdev03@users.noreply.github.com>
2024-06-18 22:42:50 +01:00
William
fac0ccdcbb
docs: Polymer by Patbox is not compatible
I'm not sure why tbh.
2024-05-15 13:54:13 +01:00
William
5f7f5a64be
docs: document Vanilla pet nametags functionality/workaround 2024-04-26 16:33:35 +01:00
Connor W
720fca942f
docs: document regex servers being supported (#187) 2024-04-25 01:29:21 +01:00
William278
8c02dfa296
docs: further improve Nametags docs 2024-04-24 10:40:11 +01:00
William278
4d98b24c02
docs: clarify Nametag limitations 2024-04-24 10:32:10 +01:00
William
c23fdd1ff6
feat: Add support for Minecraft 1.20.5 (#186)
* feat: support Minecraft 1.20.5

* build: bump to 1.6.5

* refactor: optimize imports

* docs: update about menu author credits

* docs: update velocity meta author credits

* docs: update URL

* refactor: use Minedown from new repo

* docs: shorten name of Plugin Message API docs page

* deps: bump minimum Velocity version to 380
2024-04-23 16:23:36 +01:00
AlexDev_
b7c353a0ec
feat: add show_all_players_from_all_groups config option (#183)
Code refactor
Improved system that handles latency
2024-03-29 23:25:38 +00:00
AlexDev_
48b3b2af48
fix: inconsistencies when players kicked/redirected on servers (#180)
Added onlyListPlayersInSameServer inside groups
Removed onlyListPlayersInSameGroup from config
Fixed problems with regex for servers
Fixed other problems
2024-03-14 22:08:02 +00:00
AlexDev_
4e2749ac9e
Added regex system and fixed ghost players bug (#176)
* Added regex system for TabGroup's servers.
Fixed ghost player after kick/disconnect.

* Fixed config docs with missing entries

* Bumped version
2024-03-11 18:43:34 +00:00
AlexDev_
3064aad4f3
docs: correct Plugin Message API docs (#169) 2024-02-27 22:04:49 +00:00
William
6a3d2abb8c
docs: add Plugin Message API Examples to sidebar 2024-02-19 18:04:18 +00:00
AlexDev_
4efc5797b3
feat: add plugin message api, GROUP_PLAYERS_ONLINE placeholder (#157)
* Added plugin message api & added LOCAL_GROUP_PLAYERS_ONLINE placeholders

* Fixed conversations, added placeholders to docs and fixed a few bugs

* Solved conversation

* Fixed possible charset problem and moved channels to a map instead of a set

* Changed docs

* Fixed kick issue and fixed problem header/footer on join
2024-02-09 23:58:15 +00:00
AlexDev_
89a1f7add3
refactor: internals refactor, fix logic, new configs, spectator fix (#138)
* Started refactor

* more work

* Bug fixes and more work

* Fixed task problem

* More work on providers + fixed relocation problem

* Added providers + relocated snakeyaml

* Fixed relocation problem + removed org.json

* maps instantiation refactored

* Fixed reload problem

* Fixed logic problem

* More work on refactoring PlayerTabList

* Using lombok for procteded values

* More work

* Fixed cache problem + more work on refactor

* Fix for https://github.com/WiIIiam278/Velocitab/issues/35

* fixed conversations

* Code refactor

* Fixed problem while using minimessage

* Added more javadocs and removed kick handling as velocity fixed that problem

* Added username_lower placeholder and removed useless libraries

* Updated docs

* Added option to remove spectator effect in tablist
2024-01-16 21:09:46 +00:00
William
f16dd54a7f
feat: Add support for Minecraft 1.20.3/1.20.4 (#126)
* docs: Minor comment tweak

* Prepare 1.20.3 support pending Velocity

* 1.20.3/1.20.4 & java 17 (#128)

* Improved PacketAdapter system + added support for 1.20.3/1.20.4

* Changed java version to 17, updated velocity dependencies, improved packet adapters & added support for 1.20.3/4.

* Fixed compile error with adventure

* deps: Bump `netty-codec-http` to 4.1.103

* ci: Upgrade dependabot config

* ci: Update CI & Docs with new requirements

* refactor: Rename `LUCK_PERMS_META` -> `LUCKPERMS_META`

* docs: Document `%luckperms_meta_(key)%`

---------

Co-authored-by: AlexDev_ <56083016+alexdev03@users.noreply.github.com>
2023-12-14 23:00:04 +00:00
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