Multiple servers in `Hooks:sendPlayerTo` option to be able to have prioritized list.
Baterka opened this issue ยท 0 comments
Is your feature request related to a problem? Please describe.
I have a Bungeecord server and three Spigot servers: auth
, lobby
, survival
.
Let's say that I am not using some fancy system to have dynamic or multiple lobbies in network and when the lobby
server is full players won't be redirected from the auth
server to the lobby
server automatically by Hooks:sendPlayerTo
config value.
I would like to redirect the player directly to survival
or a different server in network.
Describe the solution you'd like
Would be nice to have a check if you are able to connect to the first server and if you're not, then redirect to another server in list.
This means having Hooks:sendPlayerTo
option as a list where servers in that list will have descending priority (top with top priority).
This would give us a chance to connect to another server if we fail to move player to the first server in the list.