2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-05-15 09:26:50 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
ham1255 287f037774 Remove generics used for events in PlayerData 2025-01-28 20:14:45 +04:00
ham1255 c633f1a106 properly cache last online and its invalidation 2025-01-28 20:14:45 +04:00
ham1255 0050575aff update okhttp 2025-01-28 20:14:45 +04:00
ham1255 6eab4ef602 move gradle plugins to libs file 2025-01-28 20:14:44 +04:00
ham1255 12acc16376 build system improvement & update adventure 2025-01-28 20:14:44 +04:00
Dawid Sawicki 81bf06e2df Allow to customize ping events priority via handle-motd-order (#108)
Currently, the bungee implementation is using NORMAL priority for the
ping event handler, while the velocity implementation is using LAST.
Regardless of which choice may be the better one, this is an
inconsistency that this patch addresses by using NORMAL as the default
for both platforms.

Additionally to addressing the inconsistency, this patch adds a new
config option `handle-motd-order` which uses velocity's event priority
nomenclature to allow configuring the behavior of the MOTD handling on
both platforms.

In cases where there is a MOTD plugin that incorrectly overrides a
player count using the local player count, one may choose to use order
LAST to override the value back to the global player count.

In cases where there is a MOTD plugin that relies on a player count
value from the ping response, one may choose to use order FIRST to make
sure the response will have the correct global player count.

Fixes https://github.com/ProxioDev/ValioBungee/issues/107
2025-01-28 20:14:44 +04:00
ham1255 dab5f26e2c fix event double firing in velocity 2024-09-26 19:24:38 +04:00
ham1255 c622bc7b63 move destroyProxyMembers to correct place
fixes null network id
2024-09-26 19:10:32 +04:00
ham1255 69e91c3e42 check if player is really on the proxy when connecting
this prevents logged in error if somehow proxy shutdowns at weird time
2024-09-26 13:43:33 +04:00
Joël | NoPermission d8704c8a8f Fixed null when fetching server id. (#118)
(cherry picked from commit 219a4ab360)
2024-09-26 12:18:46 +04:00
Efe Kurban 981d42d4a8 Added null-check for server keys (#106)
Fixes https://github.com/ProxioDev/ValioBungee/issues/105

(cherry picked from commit be0c6be2aa)
2024-09-26 12:18:24 +04:00
ham1255 e0bca62cdb reintroduce 1 hour cache 2024-05-18 15:02:14 +04:00
md5nake 9ebfafbeef Invalidate serversToPlayersCache on player updates (#103)
This closes #102
2024-05-18 14:59:24 +04:00
ham1255 70eebdc9ec Revert "reintroduce 1 hour cache, remove servers to player cache due changes can happen fast."
This reverts commit e85e18dad8.
2024-05-18 14:58:02 +04:00
ham1255 e85e18dad8 reintroduce 1 hour cache, remove servers to player cache due changes can happen fast. 2024-05-18 14:46:23 +04:00
ham1255 995c9045df 0.12.4 | fix send command to proxies not executing on sender proxy 2024-05-16 02:57:49 +04:00
ham1255 32735466d6 Deprecate old apis for removal in 0.13.0 2024-05-14 20:52:45 +04:00
ham1255 765e6fe122 redo module system 2024-05-13 01:54:50 +04:00