Uses of Class
com.velocitypowered.api.event.connection.PreTransferEvent.TransferResult
Packages that use PreTransferEvent.TransferResult
Package
Description
Provides events for handling incoming connections to the proxy and logins.
-
Uses of PreTransferEvent.TransferResult in com.velocitypowered.api.event.connection
Classes in com.velocitypowered.api.event.connection that implement interfaces with type arguments of type PreTransferEvent.TransferResultModifier and TypeClassDescriptionfinal classThis event is executed before sending a player to another host, either by the backend server or by a plugin using thePlayer.transferToHost(InetSocketAddress)method.Methods in com.velocitypowered.api.event.connection that return PreTransferEvent.TransferResultModifier and TypeMethodDescriptionPreTransferEvent.TransferResult.allowed()PreTransferEvent.TransferResult.denied()PreTransferEvent.getResult()PreTransferEvent.TransferResult.transferTo(InetSocketAddress address) Sets the result of transfer to a specific host.Methods in com.velocitypowered.api.event.connection with parameters of type PreTransferEvent.TransferResultModifier and TypeMethodDescriptionvoidPreTransferEvent.setResult(PreTransferEvent.TransferResult result)