Uses of Class
com.velocitypowered.api.event.connection.PreLoginEvent.PreLoginComponentResult
Packages that use PreLoginEvent.PreLoginComponentResult
Package
Description
Provides events for handling incoming connections to the proxy and logins.
-
Uses of PreLoginEvent.PreLoginComponentResult in com.velocitypowered.api.event.connection
Methods in com.velocitypowered.api.event.connection that return PreLoginEvent.PreLoginComponentResultModifier and TypeMethodDescriptionPreLoginEvent.PreLoginComponentResult.allowed()
Returns a result indicating the connection will be allowed through the proxy.Denies the login with the specified reason.PreLoginEvent.PreLoginComponentResult.forceOfflineMode()
Returns a result indicating the connection will be allowed through the proxy, but the connection will be forced to use offline mode even when the proxy is running in online mode.PreLoginEvent.PreLoginComponentResult.forceOnlineMode()
Returns a result indicating the connection will be allowed through the proxy, but the connection will be forced to use online mode provided that the proxy is in offline mode.PreLoginEvent.getResult()
Methods in com.velocitypowered.api.event.connection with parameters of type PreLoginEvent.PreLoginComponentResultModifier and TypeMethodDescriptionvoid
PreLoginEvent.setResult
(@NonNull PreLoginEvent.PreLoginComponentResult result)