2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-26 22:18:01 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
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
17f67d6c32
properly cache last online and its invalidation 2024-09-28 12:41:43 +04:00
e8aa942a60
add bungeecord specific kick api 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
dab5f26e2c
fix event double firing in velocity 2024-09-26 19:24:38 +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
e8715e5399
ignore IllegalStateException thrown by ServerConnection class in velocity 2024-05-14 19:23:09 +04:00
71287055b4
fix javadocs x2 2024-05-13 02:43:47 +04:00
8b48736bc1
fix javadocs 2024-05-13 02:38:58 +04:00
a2e6aff4c2
remove java docs from proxy impl 2024-05-13 02:33:56 +04:00
7f35b64d93
stupid git 2024-05-13 02:00:31 +04:00
765e6fe122
redo module system 2024-05-13 01:54:50 +04:00