3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 15:20:35 +01:00

Better document how to use the login plugin message API

Dieser Commit ist enthalten in:
Andrew Steinborn 2021-12-23 15:44:19 -05:00
Ursprung 8c39d9a1e4
Commit 058014aa75

Datei anzeigen

@ -21,6 +21,12 @@ import org.checkerframework.checker.nullness.qual.Nullable;
* (for offline mode). Velocity will wait for this event to finish firing before proceeding further
* with the login process, but you should try to limit the work done in any event that fires during
* the login process.
*
* <p>
* As of Velocity 3.1.0, you may cast the {@link InboundConnection} to a
* {@link com.velocitypowered.api.proxy.LoginPhaseConnection} to allow a
* proxy plugin to send login plugin messages to the client.
* </p>
*/
@AwaitingEvent
public final class PreLoginEvent implements ResultedEvent<PreLoginEvent.PreLoginComponentResult> {