chiralpenguin / MatsuQueue

Fork of MatsuQueue specifically adapted and updated for Purity Vanilla.
https://www.purityvanilla.com
MIT License
8 stars 0 forks source link

Manually enter queue without relogging #8

Closed chiralpenguin closed 4 years ago

chiralpenguin commented 4 years ago

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.

chiralpenguin commented 4 years ago

Update

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.

https://github.com/SpigotMC/BungeeCord/issues/2309

chiralpenguin commented 4 years ago

Implemented in https://github.com/nitricspace/MatsuQueue/commit/dea8ecb951b89348ce908b70ff02729ce156c7e3 along with additional functionality.