2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-23 04:28:01 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
674661a02c
Remove generics used for events in PlayerData 2024-09-28 12:42:56 +04:00
Dawid Sawicki
36d56fe52e
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
2024-09-28 12:42:55 +04:00
9b01ca21f6
readd pubsub method until release 2024-09-28 12:42:55 +04:00
e42fcc0d2f
invalidate clarifcation, remove unified jedis method from ProxyDataManager 2024-09-28 12:41:43 +04:00
17f67d6c32
properly cache last online and its invalidation 2024-09-28 12:41:43 +04:00
30540bc15d
Revert "driver"
This reverts commit 5aad698ff5bf659587a8339a521eb91195ea024e.
2024-09-28 12:41:43 +04:00
d79b729d79
move backward api into Bungeecord only, and remove deprecated apis added after fork 2024-09-28 12:41:43 +04:00
8bdf461214
driver 2024-09-28 12:41:43 +04:00
dab5f26e2c
fix event double firing in velocity 2024-09-26 19:24:38 +04:00
c622bc7b63
move destroyProxyMembers to correct place
fixes null network id
2024-09-26 19:10:32 +04:00
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
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
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
e85e18dad8
reintroduce 1 hour cache, remove servers to player cache due changes can happen fast. 2024-05-18 14:46:23 +04:00
995c9045df
0.12.4 | fix send command to proxies not executing on sender proxy 2024-05-16 02:57:49 +04:00
32735466d6
Deprecate old apis for removal in 0.13.0 2024-05-14 20:52:45 +04:00
765e6fe122
redo module system 2024-05-13 01:54:50 +04:00