Class PluginMessageEvent

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

public final class PluginMessageEvent extends Object implements ResultedEvent<PluginMessageEvent.ForwardResult>
This event is fired when a plugin message is sent to the proxy, either from a client (Player) or a server (ServerConnection). Velocity will wait on this event to finish firing before discarding the sent plugin message (if handled) or forwarding it to the server.