The plugin will listen for this event and remove players from the queue/slot cluster if they use /server to switch server. This will remove the need to rely on the PurgeQueues() and PurgeSlots() methods to account for players switching to other servers on the network, and will allow the UpdateQueues to be run less often (a separate, more frequent schedule will broadcast the queue position to players in thise case).
How it will work
There will be an event handler for ServerSwitchEvent to check if a player has left the queue or destination server using the '/server' command. If they have, they will be removed from their slot or from the queue they were in.
Description
The plugin will listen for this event and remove players from the queue/slot cluster if they use /server to switch server. This will remove the need to rely on the PurgeQueues() and PurgeSlots() methods to account for players switching to other servers on the network, and will allow the UpdateQueues to be run less often (a separate, more frequent schedule will broadcast the queue position to players in thise case).
How it will work
There will be an event handler for ServerSwitchEvent to check if a player has left the queue or destination server using the '/server' command. If they have, they will be removed from their slot or from the queue they were in.