Class ServerLoginPluginMessageEvent

java.lang.Object
com.velocitypowered.api.event.player.ServerLoginPluginMessageEvent
All Implemented Interfaces:
ResultedEvent<ServerLoginPluginMessageEvent.ResponseResult>

public class ServerLoginPluginMessageEvent extends Object implements ResultedEvent<ServerLoginPluginMessageEvent.ResponseResult>
Fired when a server sends a login plugin message to the proxy. Plugins have the opportunity to respond to the messages as needed. Velocity will wait on this event to finish. The server will be responsible for continuing the login process once the server is satisfied with any login plugin responses sent by proxy plugins (or messages indicating a lack of response).