Open 0utplay opened 1 month ago
47 files ±0 47 suites ±0 1m 33s :stopwatch: +5s 395 tests ±0 395 :white_check_mark: ±0 0 :zzz: ±0 0 :x: ±0 726 runs ±0 726 :white_check_mark: ±0 0 :zzz: ±0 0 :x: ±0
Results for commit 4603add3. ± Comparison against base commit 3e594152.
Motivation
When players are kicked from e.g. a Lobby service, the message the Lobby kicked them with is lost. This is a problem when having issues with version mismatches or plugins kicking someone from a fallback as the kick message is lost there too.
Modification
When getting kicked from a service and no other fallback is available the player will be kicked with the kick message of the downstream service. If there is no kick message, the newly introduced "server-kick-no-other-hub" message will be used.
Also if a player joins and there is no fallback and the "proxy-join-disconnect-because-no-hub" is not set to
null
, the player will be disconnected with the set message. If the message is not set, cloudnet won't do anything. This ensures that other plugins can overwrite the decision.Result
Kick reasons are properly displayed.