Uses of Interface
com.velocitypowered.api.proxy.ServerConnection
Packages that use ServerConnection
Package
Description
Provides events for handling actions performed by players.
Provides an interface to interact with the proxy at a low level.
-
Uses of ServerConnection in com.velocitypowered.api.event.player
Methods in com.velocitypowered.api.event.player that return ServerConnectionModifier and TypeMethodDescriptionServerLoginPluginMessageEvent.getConnection()ServerResourcePackRemoveEvent.getServerConnection()Returns the server that tries to remove a resource pack from player or clear all of them.ServerResourcePackSendEvent.getServerConnection()Constructors in com.velocitypowered.api.event.player with parameters of type ServerConnectionModifierConstructorDescriptionServerLoginPluginMessageEvent(ServerConnection connection, ChannelIdentifier identifier, byte[] contents, int sequenceId) Constructs a newServerLoginPluginMessageEvent.ServerResourcePackRemoveEvent(UUID packId, ServerConnection serverConnection) Instantiates this event.ServerResourcePackSendEvent(ResourcePackInfo receivedResourcePack, ServerConnection serverConnection) Constructs a new ServerResourcePackSendEvent. -
Uses of ServerConnection in com.velocitypowered.api.event.player.configuration
Methods in com.velocitypowered.api.event.player.configuration that return ServerConnectionModifier and TypeMethodDescriptionPlayerConfigurationEvent.server()Returns the value of theserverrecord component.PlayerEnterConfigurationEvent.server()Returns the value of theserverrecord component.PlayerEnteredConfigurationEvent.server()Returns the value of theserverrecord component.@NotNull ServerConnectionPlayerFinishConfigurationEvent.server()Returns the value of theserverrecord component.@NotNull ServerConnectionPlayerFinishedConfigurationEvent.server()Returns the value of theserverrecord component.Constructors in com.velocitypowered.api.event.player.configuration with parameters of type ServerConnectionModifierConstructorDescriptionPlayerConfigurationEvent(@NotNull Player player, ServerConnection server) Creates an instance of aPlayerConfigurationEventrecord class.PlayerEnterConfigurationEvent(@NotNull Player player, ServerConnection server) Creates an instance of aPlayerEnterConfigurationEventrecord class.PlayerEnteredConfigurationEvent(@NotNull Player player, ServerConnection server) Creates an instance of aPlayerEnteredConfigurationEventrecord class.PlayerFinishConfigurationEvent(@NotNull Player player, @NotNull ServerConnection server) Creates an instance of aPlayerFinishConfigurationEventrecord class.PlayerFinishedConfigurationEvent(@NotNull Player player, @NotNull ServerConnection server) Creates an instance of aPlayerFinishedConfigurationEventrecord class. -
Uses of ServerConnection in com.velocitypowered.api.proxy
Methods in com.velocitypowered.api.proxy that return types with arguments of type ServerConnectionModifier and TypeMethodDescriptionPlayer.getCurrentServer()Returns the server that the player is currently connected to.