Class PreTransferEvent

java.lang.Object
com.velocitypowered.api.event.connection.PreTransferEvent
All Implemented Interfaces:
ResultedEvent<PreTransferEvent.TransferResult>

@AwaitingEvent @Experimental public final class PreTransferEvent extends Object implements ResultedEvent<PreTransferEvent.TransferResult>
This event is executed before sending a player to another host, either by the backend server or by a plugin using the Player.transferToHost(InetSocketAddress) method.