2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-14 00:38:01 +00:00
RedisBungee/api
Dawid Sawicki 001d20c775
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-07-05 04:22:39 +04:00
..
src/main Allow to customize ping events priority via handle-motd-order (#108) 2024-07-05 04:22:39 +04:00
build.gradle.kts redo module system 2024-05-13 01:54:50 +04:00