Closed chiralpenguin closed 4 years ago
This feature will probably need to make use of the ServerConnectEvent
and ServerConnectedEvent
as the ServerSwitchEvent
is called after the switch has taken place. This implementation may require changes to the current handlers as well, more investigation required.
Implemented in https://github.com/nitricspace/MatsuQueue/commit/dea8ecb951b89348ce908b70ff02729ce156c7e3 along with additional functionality.
Description
Currently, if you switch server you will need to relog to be re-queued or sent to the destination server if there is a space available.
How it will work
Implement a handler for the SwitchServerEvent that checks if the destination server needs queuing and sends you to the queue server if necessary.