Uses of Interface
io.papermc.paper.connection.PlayerConnection
Packages that use PlayerConnection
Package
Description
This package contains events related to player connections, such as joining and leaving the server.
Common connection events.
Classes dedicated to specialized plugin to client protocols.
-
Uses of PlayerConnection in io.papermc.paper.connection
Subinterfaces of PlayerConnection in io.papermc.paper.connectionModifier and TypeInterfaceDescriptioninterface
Represents a connection that has properties shared between the GAME and CONFIG stage.interface
interface
interface
interface
interface
-
Uses of PlayerConnection in io.papermc.paper.event.connection
Methods in io.papermc.paper.event.connection that return PlayerConnectionModifier and TypeMethodDescriptionPlayerConnectionValidateLoginEvent.getConnection()
Gets the connection of the player in this event.Constructors in io.papermc.paper.event.connection with parameters of type PlayerConnectionModifierConstructorDescriptionPlayerConnectionValidateLoginEvent
(PlayerConnection connection, @Nullable Component kickMessage) -
Uses of PlayerConnection in org.bukkit.plugin.messaging
Methods in org.bukkit.plugin.messaging with parameters of type PlayerConnectionModifier and TypeMethodDescriptionvoid
Messenger.dispatchIncomingMessage
(@NotNull PlayerConnection source, @NotNull String channel, byte @NotNull [] message) Dispatches the specified incoming message to any registered listeners.void
StandardMessenger.dispatchIncomingMessage
(@NotNull PlayerConnection source, @NotNull String channel, byte @NotNull [] message) default void
PluginMessageListener.onPluginMessageReceived
(@NotNull String channel, @NotNull PlayerConnection connection, byte @NotNull [] message) A method that will be invoked when a PluginMessageSource sends a plugin message on a registered channel.