A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPTED - com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
The player has accepted the resource pack and is now downloading it.
- addEntry(TabListEntry) - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Adds a
TabListEntryto thePlayer's tab list. - addProperties(Iterable<GameProfile.Property>) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the properties of this object plus the specified properties. - addProperty(GameProfile.Property) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the properties of this object plus the specified property. - address() - Method in interface com.velocitypowered.api.event.lifecycle.network.ListenerBoundEvent
- address() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerBoundEventImpl
- address() - Method in interface com.velocitypowered.api.event.lifecycle.network.ListenerClosedEvent
- address() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerClosedEventImpl
- address() - Method in interface com.velocitypowered.api.network.NetworkEndpoint
-
The address the listener is listening on.
- address() - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- addToClasspath(Object, Path) - Method in interface com.velocitypowered.api.plugin.PluginManager
-
Adds the specified
pathto the plugin classpath. - alias() - Method in interface com.velocitypowered.api.command.CommandInvocation
-
Returns the alias used to invoke the command.
- aliases() - Method in interface com.velocitypowered.api.command.CommandMeta
-
Returns a non-empty collection containing the case-insensitive aliases used to execute the command.
- aliases(String...) - Method in interface com.velocitypowered.api.command.CommandMeta.Builder
-
Specifies additional aliases that can be used to execute the command.
- allow() - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- allowed() - Static method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
-
Allows the command to be sent, without modification.
- allowed() - Static method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- allowed() - Static method in class com.velocitypowered.api.event.ResultedEvent.GenericResult
- allowed(RegisteredServer) - Static method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
-
Allows the player to connect to the specified server.
- ALREADY_CONNECTED - com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
The player is already connected to this server.
- ALWAYS_FALSE - Static variable in interface com.velocitypowered.api.permission.PermissionFunction
-
A permission function that always returns
Tristate.FALSE. - ALWAYS_TRUE - Static variable in interface com.velocitypowered.api.permission.PermissionFunction
-
A permission function that always returns
Tristate.TRUE. - ALWAYS_UNDEFINED - Static variable in interface com.velocitypowered.api.permission.PermissionFunction
-
A permission function that always returns
Tristate.UNDEFINED. - arguments() - Method in interface com.velocitypowered.api.command.CommandInvocation
-
Returns the arguments after the command alias.
- asBoolean() - Method in enum com.velocitypowered.api.permission.Tristate
-
Returns the value of the Tristate as a boolean.
- asBuilder() - Method in class com.velocitypowered.api.proxy.server.ServerPing
-
Returns a copy of this
ServerPinginstance as a builder so that it can be modified. - async() - Method in annotation type com.velocitypowered.api.event.Subscribe
-
Whether the handler must be called asynchronously.
- async(Runnable) - Static method in interface com.velocitypowered.api.event.EventTask
- authors() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The author of the plugin.
- authors() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the authors of the
Pluginwithin this container.
B
- BASIC - com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType
-
Basic query asks only a subset of information, such as hostname, game type (hardcoded to
- BrigadierCommand - Class in com.velocitypowered.api.command
-
A command that uses Brigadier for parsing the command and providing suggestions to the client.
- BrigadierCommand(LiteralArgumentBuilder<CommandSource>) - Constructor for class com.velocitypowered.api.command.BrigadierCommand
-
Constructs a
BrigadierCommandfrom the node returned by the given builder. - BrigadierCommand(LiteralCommandNode<CommandSource>) - Constructor for class com.velocitypowered.api.command.BrigadierCommand
-
Constructs a
BrigadierCommandfrom the given command node. - build() - Method in interface com.velocitypowered.api.command.CommandMeta.Builder
-
Returns a newly-created
CommandMetabased on the specified parameters. - build() - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
- build() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Builds a new
QueryResponsewith the supplied data. - build() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
-
Uses the information from this builder to create a new
ServerPinginstance. - buildEntry(GameProfile, Component, int, int) - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Deprecated.Internal usage. Use
TabListEntry.Builderinstead. - builder() - Static method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Returns a
TabListEntry.Builderto create aTabListEntry. - builder() - Static method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Creates a new
QueryResponse.Builderinstance. - builder() - Static method in class com.velocitypowered.api.proxy.server.ServerPing
- buildTask(Object, Runnable) - Method in interface com.velocitypowered.api.scheduler.Scheduler
-
Initializes a new
Scheduler.TaskBuilderfor creating a task on the proxy. - byMinecraftProtocolVersion(int) - Static method in enum com.velocitypowered.api.network.ProtocolVersion
-
Gets the
ProtocolVersionfor the given protocol.
C
- cancel() - Method in interface com.velocitypowered.api.scheduler.ScheduledTask
-
Cancels this task.
- CANCELLED - com.velocitypowered.api.scheduler.TaskStatus
-
The task was cancelled with
ScheduledTask.cancel(). - CANCELLED_BY_PROXY - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- CANCELLED_BY_USER - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- CANCELLED_BY_USER_BEFORE_COMPLETE - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- channel() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- channel() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- ChannelMessageSink - Interface in com.velocitypowered.api.proxy.messages
-
Represents something that can be sent plugin messages.
- ChannelMessageSource - Interface in com.velocitypowered.api.proxy.messages
-
Indicates that this may be a source of plugin messages.
- channelRegistrar() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
ChannelRegistrarinstance. - ChannelRegistrar - Interface in com.velocitypowered.api.proxy.messages
-
Represents an interface to register and unregister
PluginChannelIds for the proxy to listen on. - channels() - Method in interface com.velocitypowered.api.event.player.PlayerChannelRegisterEvent
- channels() - Method in class com.velocitypowered.api.event.player.PlayerChannelRegisterEventImpl
- clearDelay() - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Clears the delay on this task.
- clearFavicon() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- clearHeaderAndFooter() - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Clears the tab list header and footer for the player.
- clearMods() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- clearPlayers() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Removes all players from the builder.
- clearPlugins() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Clears all currently set plugins.
- clearRepeat() - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Clears the repeat interval on this task.
- clearSamplePlayers() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- clientSettings() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's client settings.
- ClientSettings - Interface in com.velocitypowered.api.proxy.player
-
Represents the client settings for the player.
- ClientSettings.ChatMode - Enum in com.velocitypowered.api.proxy.player
- ClientSettings.MainHand - Enum in com.velocitypowered.api.proxy.player
- com.velocitypowered.api.command - package com.velocitypowered.api.command
-
Provides a command framework.
- com.velocitypowered.api.event - package com.velocitypowered.api.event
-
Provides core support for handling events with Velocity.
- com.velocitypowered.api.event.command - package com.velocitypowered.api.event.command
- com.velocitypowered.api.event.connection - package com.velocitypowered.api.event.connection
-
Provides events for handling incoming connections to the proxy and logins.
- com.velocitypowered.api.event.lifecycle - package com.velocitypowered.api.event.lifecycle
-
Provides events for handling the lifecycle of the proxy.
- com.velocitypowered.api.event.lifecycle.network - package com.velocitypowered.api.event.lifecycle.network
- com.velocitypowered.api.event.permission - package com.velocitypowered.api.event.permission
-
Provides events to handle setting up permissions for permission subjects.
- com.velocitypowered.api.event.player - package com.velocitypowered.api.event.player
-
Provides events for handling actions performed by players.
- com.velocitypowered.api.network - package com.velocitypowered.api.network
- com.velocitypowered.api.permission - package com.velocitypowered.api.permission
-
Provides the basic building blocks for a custom permission system.
- com.velocitypowered.api.plugin - package com.velocitypowered.api.plugin
-
Provides the Velocity plugin API.
- com.velocitypowered.api.plugin.annotation - package com.velocitypowered.api.plugin.annotation
-
Provides annotations to handle injecting dependencies for plugins.
- com.velocitypowered.api.plugin.meta - package com.velocitypowered.api.plugin.meta
-
Provides metadata for plugins.
- com.velocitypowered.api.proxy - package com.velocitypowered.api.proxy
-
Provides an interface to interact with the proxy at a low level.
- com.velocitypowered.api.proxy.config - package com.velocitypowered.api.proxy.config
- com.velocitypowered.api.proxy.connection - package com.velocitypowered.api.proxy.connection
- com.velocitypowered.api.proxy.messages - package com.velocitypowered.api.proxy.messages
-
Provides an interface to receive, handle, and send plugin messages on the proxy from clients and servers.
- com.velocitypowered.api.proxy.player - package com.velocitypowered.api.proxy.player
-
Provides an interface to work with players connected to the proxy.
- com.velocitypowered.api.proxy.server - package com.velocitypowered.api.proxy.server
-
Provides utilities to handle server information.
- com.velocitypowered.api.scheduler - package com.velocitypowered.api.scheduler
-
Provides utilities for scheduling tasks with a fluent builder.
- com.velocitypowered.api.util - package com.velocitypowered.api.util
-
Provides a selection of miscellaneous utilities for use by plugins and the proxy.
- command(String) - Static method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
-
Allows the command to be executed, but silently replaced old command with another.
- Command - Interface in com.velocitypowered.api.command
-
Represents a command that can be executed by a
CommandSourcesuch as aPlayeror the console. - CommandExecuteEvent - Interface in com.velocitypowered.api.event.command
-
This event is fired when someone executes a command.
- CommandExecuteEvent.CommandResult - Class in com.velocitypowered.api.event.command
- CommandExecuteEventImpl - Class in com.velocitypowered.api.event.command
-
This event is fired when someone executing command.
- CommandExecuteEventImpl(CommandSource, String) - Constructor for class com.velocitypowered.api.event.command.CommandExecuteEventImpl
-
Constructs a CommandExecuteEvent.
- CommandInvocation<T> - Interface in com.velocitypowered.api.command
-
Provides information related to the (possible) execution of a
Command. - commandManager() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
CommandManagerinstance. - CommandManager - Interface in com.velocitypowered.api.command
-
Handles the registration and execution of commands.
- CommandMeta - Interface in com.velocitypowered.api.command
-
Contains metadata for a
Command. - CommandMeta.Builder - Interface in com.velocitypowered.api.command
-
Provides a fluent interface to create
CommandMetas. - COMMANDS_ONLY - com.velocitypowered.api.proxy.player.ClientSettings.ChatMode
- CommandSource - Interface in com.velocitypowered.api.command
-
Represents something that can be used to run a
Command. - compareTo(ServerInfo) - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- configuration() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
ProxyConfiginstance. - CONFLICTING_LOGIN - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- connect() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder
-
Initiates the connection to the remote server and emits a result on the
CompletableFutureafter the user has logged on. - connectedHostname() - Method in interface com.velocitypowered.api.proxy.connection.InboundConnection
-
Returns the hostname that the user entered into the client, if applicable.
- connectedPlayers() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Retrieves all players currently connected to this proxy.
- connectedPlayers() - Method in interface com.velocitypowered.api.proxy.server.RegisteredServer
-
Returns a list of all the players currently connected to this server on this proxy.
- connectedServer() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the server that the player is currently connected to.
- connection() - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- connection() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- connection() - Method in interface com.velocitypowered.api.event.connection.ProxyPingEvent
- connection() - Method in class com.velocitypowered.api.event.connection.ProxyPingEventImpl
- connection() - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
- connection() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
- connection() - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- connection() - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- CONNECTION_CANCELLED - com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
A plugin has cancelled this connection.
- CONNECTION_IN_PROGRESS - com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
The connection is already in progress.
- ConnectionHandshakeEvent - Interface in com.velocitypowered.api.event.connection
-
This event is fired when a handshake is established between a client and the proxy.
- ConnectionHandshakeEventImpl - Class in com.velocitypowered.api.event.connection
-
This event is fired when a handshake is established between a client and the proxy.
- ConnectionHandshakeEventImpl(InboundConnection, String) - Constructor for class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- ConnectionRequestBuilder - Interface in com.velocitypowered.api.proxy.player
-
Provides a fluent interface to send a connection request to another server on the proxy.
- ConnectionRequestBuilder.Result - Interface in com.velocitypowered.api.proxy.player
-
Represents the result of a connection request.
- ConnectionRequestBuilder.Status - Enum in com.velocitypowered.api.proxy.player
-
Represents the status of a connection request initiated by a
ConnectionRequestBuilder. - connectWithIndication() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder
-
Initiates the connection to the remote server and emits a result on the
CompletableFutureafter the user has logged on. - consoleCommandSource() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Returns an instance of
CommandSourcethat can be used to determine if the command is being invoked by the console or a console-like executor. - ConsoleCommandSource - Interface in com.velocitypowered.api.command
-
Indicates that the executor of the command is the console.
- containsEntry(UUID) - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Determines if the specified entry exists in the tab list.
- Continuation - Interface in com.velocitypowered.api.event
-
Represents a continuation of a paused event handler.
- countConnectedPlayers() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Returns the number of players currently connected to this proxy.
- create(byte[]) - Static method in class com.velocitypowered.api.util.Favicon
-
Creates a new
Faviconfrom the specifiedbuffer. - create(RegisteredServer) - Static method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- create(RegisteredServer, Component) - Static method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
-
Creates a new redirect result to forward the player to the specified
server. - create(Path) - Static method in class com.velocitypowered.api.util.Favicon
-
Creates a new
Faviconby reading the image from the specifiedpath. - create(Component) - Static method in class com.velocitypowered.api.event.player.KickedFromServerEvent.DisconnectPlayer
-
Creates a new
KickedFromServerEvent.DisconnectPlayerwith the specified reason. - create(Component) - Static method in class com.velocitypowered.api.event.player.KickedFromServerEvent.Notify
-
Notifies the player with the specified message but does nothing else.
- createConnectionRequest(RegisteredServer) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Creates a new connection request so that the player can connect to another server.
- createFunction(PermissionSubject) - Method in interface com.velocitypowered.api.event.permission.PermissionsSetupEvent
-
Uses the provider function to obtain a
PermissionFunctionfor the subject. - createFunction(PermissionSubject) - Method in class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
-
Uses the provider function to obtain a
PermissionFunctionfor the subject. - createFunction(PermissionSubject) - Method in interface com.velocitypowered.api.permission.PermissionProvider
-
Creates a
PermissionFunctionfor the subject. - createMetaBuilder(BrigadierCommand) - Method in interface com.velocitypowered.api.command.CommandManager
-
Returns a builder to create a
CommandMetafor the given Brigadier command. - createMetaBuilder(String) - Method in interface com.velocitypowered.api.command.CommandManager
-
Returns a builder to create a
CommandMetawith the given alias. - createRawRegisteredServer(ServerInfo) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Creates a raw
RegisteredServerwithout tying it into the internal server map. - currentHostname() - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- currentHostname() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- currentMessage() - Method in interface com.velocitypowered.api.event.player.PlayerChatEvent
-
Returns the message currently being sent, which may be modified by plugins.
- currentMessage() - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- currentRemoteHostAddress() - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- currentRemoteHostAddress() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
D
- DataDirectory - Annotation Type in com.velocitypowered.api.plugin.annotation
-
This annotation requests that Velocity inject a
Pathinstance with a plugin-specific data directory. - DECLINED - com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
The player declined to download the resource pack.
- DEFAULT - Static variable in class com.velocitypowered.api.util.ModInfo
- delay(@org.checkerframework.common.value.qual.IntRange(from=0L) long, TimeUnit) - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Specifies that the task should delay its execution by the specified amount of time.
- delay(Duration) - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Specifies that the task should delay its execution by the specified amount of time.
- denied() - Static method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
-
Prevents the command from being executed.
- denied() - Static method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
-
Returns a result that will prevent players from connecting to another server.
- denied() - Static method in class com.velocitypowered.api.event.ResultedEvent.GenericResult
- denied(Component) - Static method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- dependencies() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The dependencies required to load before this plugin.
- dependencies() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets a
Collectionof all dependencies of thePluginwithin this container. - Dependency - Annotation Type in com.velocitypowered.api.plugin
-
Indicates that the
Plugindepends on another plugin in order to enable. - description() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The description of the plugin, explaining what it can be used for.
- description() - Method in interface com.velocitypowered.api.plugin.PluginContainer
-
Returns the plugin's description.
- description() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the description of the
Pluginwithin this container. - description() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- description(Component) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- disconnect(Component) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Disconnects the player with the specified reason.
- DisconnectEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired when a player disconnects from the proxy.
- DisconnectEvent.LoginStatus - Enum in com.velocitypowered.api.event.player
- DisconnectEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired when a player disconnects from the proxy.
- DisconnectEventImpl(Player, DisconnectEvent.LoginStatus) - Constructor for class com.velocitypowered.api.event.player.DisconnectEventImpl
- displayName() - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Returns an optional text
Component, which if present is the text displayed forthisentry in theTabList, otherwiseGameProfile.name()is shown. - displayName(Component) - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
-
Sets the displayed name of the
TabListEntry.
E
- EARLY - Static variable in enum com.velocitypowered.api.event.PostOrder
- endpoints() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Returns all the endpoints the proxy is listening on.
- ensurePluginContainer(Object) - Method in interface com.velocitypowered.api.plugin.PluginManager
- entries() - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Returns an immutable
Collectionof theTabListEntrys in the tab list. - equals(Object) - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- equals(Object) - Method in class com.velocitypowered.api.util.Favicon
- equals(Object) - Method in class com.velocitypowered.api.util.ProxyVersion
- equals(Object) - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- equals(Object) - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.DisconnectPlayer
- equals(Object) - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.Notify
- equals(Object) - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- equals(Object) - Method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
- equals(Object) - Method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- equals(Object) - Method in class com.velocitypowered.api.proxy.messages.KeyedPluginChannelId
- equals(Object) - Method in class com.velocitypowered.api.proxy.messages.PairedPluginChannelId
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.QueryResponse
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.ServerPing
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- equals(Object) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Version
- equals(Object) - Method in class com.velocitypowered.api.util.ModInfo
- equals(Object) - Method in class com.velocitypowered.api.util.ModInfo.Mod
- evaluatePermission(String) - Method in interface com.velocitypowered.api.permission.PermissionFunction
-
Evaluates whether or not the player has a permission.
- evaluatePermission(String) - Method in interface com.velocitypowered.api.permission.PermissionSubject
-
Gets the subjects setting for a particular permission.
- Event - Interface in com.velocitypowered.api.event
-
Base class for all events in the Velocity API.
- EventHandler<E extends Event> - Interface in com.velocitypowered.api.event
-
Allows a listener to receive direct dispatches of events.
- eventManager() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
EventManagerinstance. - EventManager - Interface in com.velocitypowered.api.event
-
Allows plugins to register and deregister listeners for event handlers.
- EventTask - Interface in com.velocitypowered.api.event
-
Represents a task that can be returned by a
EventHandlerwhich allows event handling to be suspended and resumed at a later time, and executing event handlers completely or partially asynchronously. - execute(CommandSource, String) - Method in interface com.velocitypowered.api.command.CommandManager
-
Attempts to asynchronously execute a command from the given
cmdLine. - execute(Continuation) - Method in interface com.velocitypowered.api.event.EventTask
-
Runs this event task with the given
Continuation. - execute(E) - Method in interface com.velocitypowered.api.event.EventHandler
- execute(I) - Method in interface com.velocitypowered.api.command.InvocableCommand
-
Executes the command for the specified invocation.
- executeImmediately(CommandSource, String) - Method in interface com.velocitypowered.api.command.CommandManager
-
Attempts to asynchronously execute a command from the given
cmdLinewithout firing aCommandExecuteEventImpl.
F
- FAILED_DOWNLOAD - com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
The player could not download the resource pack.
- failureReason() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Result
-
Returns an (optional) textual reason for the failure to connect to the server.
- FALSE - com.velocitypowered.api.permission.Tristate
-
A value indicating a negative (negated) setting.
- favicon() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- favicon(Favicon) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- Favicon - Class in com.velocitypowered.api.util
-
Represents a Minecraft server favicon.
- Favicon(String) - Constructor for class com.velocitypowered.api.util.Favicon
-
Directly create a favicon using its Base64 URL directly.
- file() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Returns the file path the plugin was loaded from.
- finalTarget() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Result
-
Returns the server we actually tried to connect to.
- FINISHED - com.velocitypowered.api.scheduler.TaskStatus
-
The task has run to completion.
- fire(E) - Method in interface com.velocitypowered.api.event.EventManager
-
Fires the specified event to the event bus asynchronously.
- fireAndForget() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder
-
Initiates the connection to the remote server without waiting for a result.
- fireAndForget(Event) - Method in interface com.velocitypowered.api.event.EventManager
-
Posts the specified event to the event bus and discards the result.
- FIRST - Static variable in enum com.velocitypowered.api.event.PostOrder
- forOfflinePlayer(String) - Static method in class com.velocitypowered.api.util.GameProfile
-
Creates a game profile suitable for use in offline-mode.
- FORWARD - Static variable in class com.velocitypowered.api.command.BrigadierCommand
-
The return code used by a
Commandto indicate the command execution should be forwarded to the backend server. - forwardToServer() - Static method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
-
Prevents the command from being executed, but forward command to server.
- forwardToServer(String) - Static method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
-
Prevents the command from being executed on proxy, but forward command to server.
- fromBoolean(boolean) - Static method in enum com.velocitypowered.api.permission.Tristate
-
Returns a
Tristatefrom a boolean. - fromInstance(Object) - Method in interface com.velocitypowered.api.plugin.PluginManager
-
Gets the plugin container from an instance.
- fromNullableBoolean(Boolean) - Static method in enum com.velocitypowered.api.permission.Tristate
-
Returns a
Tristatefrom a nullable boolean. - fromUndashed(String) - Static method in class com.velocitypowered.api.util.UuidUtils
-
Converts from an undashed Mojang-style UUID into a Java
UUIDobject. - FULL - com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType
-
Full query asks pretty much everything present on this event (only hardcoded values cannot be modified here).
G
- gameMode() - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Gets the game mode
thisentry has been set to. - gameMode(int) - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
-
Sets the game mode of the
TabListEntry. - gameProfile() - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
-
Returns the game profile that will be used to initialize the connection with.
- gameProfile() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
-
Returns the game profile that will be used to initialize the connection with.
- gameProfile() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's game profile.
- gameProfile() - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Returns the
GameProfileof the entry, which uniquely identifies the entry with the containingUUID, as well as deciding what is shown as the player head in the tab list. - GameProfile - Class in com.velocitypowered.api.util
-
Represents a Mojang game profile.
- GameProfile(String, String, List<GameProfile.Property>) - Constructor for class com.velocitypowered.api.util.GameProfile
-
Creates a new Mojang game profile.
- GameProfile(UUID, String, List<GameProfile.Property>) - Constructor for class com.velocitypowered.api.util.GameProfile
-
Creates a new Mojang game profile.
- GameProfile.Property - Class in com.velocitypowered.api.util
-
Represents a Mojang profile property.
- GameProfileRequestEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired after the
PreLoginEventImplin order to set up the game profile for the user. - GameProfileRequestEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired after the
PreLoginEventImplin order to set up the game profile for the user. - GameProfileRequestEventImpl(InboundConnection, GameProfile, boolean) - Constructor for class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
-
Creates a new instance.
- gameVersion() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get game version which will be used to reply to the query.
- gameVersion(String) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the game version for the response.
- generateOfflinePlayerUuid(String) - Static method in class com.velocitypowered.api.util.UuidUtils
-
Generates a UUID for use for offline mode.
- getAttemptConnectionOrder() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the order of servers that players will be connected to.
- getBase64Url() - Method in class com.velocitypowered.api.util.Favicon
-
Returns the Base64-encoded URI for this image.
- getChatMode() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns the chat setting for the client.
- getCompressionLevel() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the level of compression that packets will be compressed to.
- getCompressionThreshold() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the minimum compression threshold for packets.
- getConnectTimeout() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get how long this proxy will wait for a connection to be established before timing it out.
- getDependency(String) - Method in interface com.velocitypowered.api.plugin.PluginDescription
- getDescription() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getFavicon() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the proxy favicon shown in the tablist.
- getFavicon() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getForcedHosts() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get forced servers mapped to a given virtual host.
- getId() - Method in class com.velocitypowered.api.util.ModInfo.Mod
- getLocale() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns the locale of the Minecraft client.
- getLoginRatelimit() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the limit for how long a player must wait to log back in.
- getMainHand() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns the primary hand of the client.
- getMaximumPlayers() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getMods() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getMods() - Method in class com.velocitypowered.api.util.ModInfo
- getModType() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getMotd() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the MOTD component shown in the tab list.
- getName() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- getNode() - Method in class com.velocitypowered.api.command.BrigadierCommand
-
Returns the literal node for this command.
- getOnlinePlayers() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getPlugin(String) - Method in interface com.velocitypowered.api.plugin.PluginManager
-
Retrieves a
PluginContainerbased on its ID. - getQueryMap() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the map name reported to GameSpy 4 query services.
- getQueryPort() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the port GameSpy 4 queries are accepted on.
- getReadTimeout() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get how long this proxy will wait until performing a read timeout.
- getSamplePlayers() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getServer() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- getServers() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get a Map of all servers registered in
velocity.toml. - getShowMaxPlayers() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get the maximum players shown in the tab list.
- getSkinParts() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns the parts of player skins the client will show.
- getType() - Method in class com.velocitypowered.api.util.ModInfo
- getVersion() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- getVersion() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- getVersion() - Method in class com.velocitypowered.api.util.ModInfo.Mod
- getViewDistance() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns the client's view distance.
H
- handleByConnectingToServer(RegisteredServer) - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
-
Handles the event by falling back on the specified server.
- handleByDisconnecting(Component) - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
-
Handles the event by disconnecting the player with the specified
reason. - handleByNotifying(Component) - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
-
Handles the event by giving the player the specified
reason. - hasCape() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hasChatColors() - Method in interface com.velocitypowered.api.proxy.player.ClientSettings
-
Returns whether or not the client has chat colors disabled.
- hasCommand(String) - Method in interface com.velocitypowered.api.command.CommandManager
-
Returns whether the given alias is registered on this manager.
- hasHat() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hashCode() - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- hashCode() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.DisconnectPlayer
- hashCode() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.Notify
- hashCode() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- hashCode() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
- hashCode() - Method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- hashCode() - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
- hashCode() - Method in class com.velocitypowered.api.proxy.messages.KeyedPluginChannelId
- hashCode() - Method in class com.velocitypowered.api.proxy.messages.PairedPluginChannelId
- hashCode() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
- hashCode() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- hashCode() - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- hashCode() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- hashCode() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- hashCode() - Method in class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- hashCode() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Version
- hashCode() - Method in class com.velocitypowered.api.util.Favicon
- hashCode() - Method in class com.velocitypowered.api.util.ModInfo
- hashCode() - Method in class com.velocitypowered.api.util.ModInfo.Mod
- hashCode() - Method in class com.velocitypowered.api.util.ProxyVersion
- hasJacket() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hasLeftPants() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hasLeftSleeve() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hasPermission(I) - Method in interface com.velocitypowered.api.command.InvocableCommand
-
Tests to check if the source has permission to perform the specified invocation.
- hasPermission(String) - Method in interface com.velocitypowered.api.permission.PermissionSubject
-
Determines whether or not the subject has a particular permission.
- hasRightPants() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- hasRightSleeve() - Method in class com.velocitypowered.api.proxy.player.SkinParts
- HIDDEN - com.velocitypowered.api.proxy.player.ClientSettings.ChatMode
- hint(CommandNode<CommandSource>) - Method in interface com.velocitypowered.api.command.CommandMeta.Builder
-
Specifies a command node providing additional argument metadata and tab-complete suggestions.
- hints() - Method in interface com.velocitypowered.api.command.CommandMeta
-
Returns an immutable collection containing command nodes that provide additional argument metadata and tab-complete suggestions.
- hostname() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get hostname which will be used to reply to the query.
- hostname(String) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the hostname for the response.
I
- id() - Method in annotation type com.velocitypowered.api.plugin.Dependency
-
The plugin ID of the dependency.
- id() - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
-
Returns the plugin ID of this
PluginDependency. - id() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The ID of the plugin.
- id() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the qualified ID of the
Pluginwithin this container. - id() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's UUID.
- id() - Method in class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- ID_PATTERN - Static variable in interface com.velocitypowered.api.plugin.PluginDescription
-
The pattern plugin IDs must match.
- ID_TO_PROTOCOL_CONSTANT - Static variable in enum com.velocitypowered.api.network.ProtocolVersion
-
A map linking the protocol version number to its
ProtocolVersionrepresentation. - identity() - Method in class com.velocitypowered.api.util.GameProfile
- InboundConnection - Interface in com.velocitypowered.api.proxy.connection
-
Represents an incoming connection to the proxy.
- initialProfile() - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
- initialProfile() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
- initialServer() - Method in interface com.velocitypowered.api.event.player.PlayerChooseInitialServerEvent
- initialServer() - Method in class com.velocitypowered.api.event.player.PlayerChooseInitialServerEventImpl
- instance() - Method in interface com.velocitypowered.api.plugin.PluginContainer
-
Returns the created plugin if it is available.
- InvalidPluginException - Exception in com.velocitypowered.api.plugin
- InvalidPluginException() - Constructor for exception com.velocitypowered.api.plugin.InvalidPluginException
- InvalidPluginException(String) - Constructor for exception com.velocitypowered.api.plugin.InvalidPluginException
- InvalidPluginException(String, Throwable) - Constructor for exception com.velocitypowered.api.plugin.InvalidPluginException
- InvalidPluginException(Throwable) - Constructor for exception com.velocitypowered.api.plugin.InvalidPluginException
- InvocableCommand<I extends CommandInvocation<?>> - Interface in com.velocitypowered.api.command
-
A command that can be executed with arbitrary arguments.
- isActive() - Method in interface com.velocitypowered.api.proxy.connection.InboundConnection
-
Determine whether or not the player remains online.
- isAllowed() - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- isAllowed() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.DisconnectPlayer
- isAllowed() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.Notify
- isAllowed() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- isAllowed() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
- isAllowed() - Method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- isAllowed() - Method in class com.velocitypowered.api.event.ResultedEvent.GenericResult
- isAllowed() - Method in interface com.velocitypowered.api.event.ResultedEvent.Result
-
Returns whether or not the event is allowed to proceed.
- isAnnounceForge() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get whether this proxy displays that it supports Forge/FML.
- isForwardToServer() - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- isLegacy() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns whether this
ProtocolVersionis a legacy protocol. - isLoaded(String) - Method in interface com.velocitypowered.api.plugin.PluginManager
-
Checks if a plugin is loaded based on its ID.
- isOnlineMode() - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
- isOnlineMode() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
- isOnlineMode() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Get whether the proxy is online mode.
- isQueryEnabled() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Whether GameSpy 4 queries are accepted by the proxy.
- isSuccessful() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Result
-
Determines whether or not the connection request was successful.
- isSupported(int) - Static method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns whether the protocol is supported.
- isSupported(ProtocolVersion) - Static method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns whether the
ProtocolVersionis supported. - isUnknown() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns whether this
ProtocolVersionis unknown to the proxy.
K
- key() - Method in class com.velocitypowered.api.proxy.messages.KeyedPluginChannelId
- KeyedPluginChannelId - Class in com.velocitypowered.api.proxy.messages
-
Represents a modern namespaced channel identifier.
- kickedDuringServerConnect() - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
-
Returns whether or not the player got kicked while connecting to another server.
- kickedDuringServerConnect() - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
-
Returns whether or not the player got kicked while connecting to another server.
- KickedFromServerEvent - Interface in com.velocitypowered.api.event.player
-
Fired when a player is kicked from a server.
- KickedFromServerEvent.DisconnectPlayer - Class in com.velocitypowered.api.event.player
-
Tells the proxy to disconnect the player with the specified reason.
- KickedFromServerEvent.Notify - Class in com.velocitypowered.api.event.player
-
Notifies the player with the specified message but does nothing else.
- KickedFromServerEvent.RedirectPlayer - Class in com.velocitypowered.api.event.player
-
Tells the proxy to redirect the player to another server.
- KickedFromServerEvent.ServerKickResult - Interface in com.velocitypowered.api.event.player
-
Represents the base interface for
KickedFromServerEventresults. - KickedFromServerEventImpl - Class in com.velocitypowered.api.event.player
-
Fired when a player is kicked from a server.
- KickedFromServerEventImpl(Player, RegisteredServer, Component, boolean, KickedFromServerEvent.ServerKickResult) - Constructor for class com.velocitypowered.api.event.player.KickedFromServerEventImpl
-
Creates a
KickedFromServerEventinstance.
L
- LAST - Static variable in enum com.velocitypowered.api.event.PostOrder
- LATE - Static variable in enum com.velocitypowered.api.event.PostOrder
- latency(int) - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
-
Sets the latency of the
TabListEntry. - LEFT - com.velocitypowered.api.proxy.player.ClientSettings.MainHand
- LEGACY - com.velocitypowered.api.network.ProtocolVersion
- legacyChannel() - Method in class com.velocitypowered.api.proxy.messages.PairedPluginChannelId
- ListenerBoundEvent - Interface in com.velocitypowered.api.event.lifecycle.network
-
This event is fired by the proxy after a listener starts accepting connections.
- ListenerBoundEventImpl - Class in com.velocitypowered.api.event.lifecycle.network
-
This event is fired by the proxy after a listener starts accepting connections.
- ListenerBoundEventImpl(SocketAddress, ListenerType) - Constructor for class com.velocitypowered.api.event.lifecycle.network.ListenerBoundEventImpl
- ListenerClosedEvent - Interface in com.velocitypowered.api.event.lifecycle.network
-
This event is fired by the proxy before the proxy stops accepting connections.
- ListenerClosedEventImpl - Class in com.velocitypowered.api.event.lifecycle.network
-
This event is fired by the proxy before the proxy stops accepting connections.
- ListenerClosedEventImpl(SocketAddress, ListenerType) - Constructor for class com.velocitypowered.api.event.lifecycle.network.ListenerClosedEventImpl
- ListenerType - Enum in com.velocitypowered.api.network
-
Represents each listener type.
- LoginEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired once the player has been authenticated but before they connect to a server on the proxy.
- LoginEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired once the player has been authenticated but before they connect to a server on the proxy.
- LoginEventImpl(Player) - Constructor for class com.velocitypowered.api.event.player.LoginEventImpl
- loginStatus() - Method in interface com.velocitypowered.api.event.player.DisconnectEvent
- loginStatus() - Method in class com.velocitypowered.api.event.player.DisconnectEventImpl
M
- map(String) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the map that will appear in the response.
- mapName() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get map name which will be used to reply to the query.
- matchPlayer(String) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Matches all
Players whose names start with the provided partial name. - matchServer(String) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Matches all
RegisteredServers whose names start with the provided partial name. - maximum() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- MAXIMUM_VERSION - Static variable in enum com.velocitypowered.api.network.ProtocolVersion
-
Represents the highest supported version.
- maximumPlayers(int) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- maxPlayers() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get max player count which will be used to reply to the query.
- maxPlayers(int) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the maximum number of players this server purportedly can hold.
- message() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.DisconnectPlayer
- message() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.Notify
- message() - Method in class com.velocitypowered.api.event.player.KickedFromServerEvent.RedirectPlayer
- messageAsDataInput() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- messageAsDataInput() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- messageAsInputStream() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- messageAsInputStream() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- MINECRAFT - com.velocitypowered.api.network.ListenerType
- MINECRAFT_1_10 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_11 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_11_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_12 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_12_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_12_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_13 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_13_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_13_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_14 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_14_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_14_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_14_3 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_14_4 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_15 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_15_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_15_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_16 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_16_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_16_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_16_3 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_16_4 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_7_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_7_6 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_8 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_9 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_9_1 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_9_2 - com.velocitypowered.api.network.ProtocolVersion
- MINECRAFT_1_9_4 - com.velocitypowered.api.network.ProtocolVersion
- MINIMUM_VERSION - Static variable in enum com.velocitypowered.api.network.ProtocolVersion
-
Represents the lowest supported version.
- Mod(String, String) - Constructor for class com.velocitypowered.api.util.ModInfo.Mod
- modernChannelKey() - Method in class com.velocitypowered.api.proxy.messages.PairedPluginChannelId
- modifiedCommand() - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- modInfo() - Method in interface com.velocitypowered.api.event.player.PlayerModInfoEvent
- modInfo() - Method in class com.velocitypowered.api.event.player.PlayerModInfoEventImpl
- modInfo() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's mod info if they have a modded client.
- modInfo() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- ModInfo - Class in com.velocitypowered.api.util
- ModInfo(String, List<ModInfo.Mod>) - Constructor for class com.velocitypowered.api.util.ModInfo
- ModInfo.Mod - Class in com.velocitypowered.api.util
- mods(ModInfo) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
-
Uses the modified
modslist in the response. - mods(ModInfo.Mod...) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- modType(String) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- mostRecentSupportedVersion() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns the user-friendly name of the last version this protocol is valid for.
N
- name() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The human readable name of the plugin as to be used in descriptions and similar things.
- name() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the name of the
Pluginwithin this container. - name() - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- name() - Method in class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- name() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Version
- name() - Method in class com.velocitypowered.api.util.GameProfile
-
Returns the username associated with this profile.
- name() - Method in class com.velocitypowered.api.util.GameProfile.Property
- name() - Method in class com.velocitypowered.api.util.ProxyVersion
- NetworkEndpoint - Interface in com.velocitypowered.api.network
-
Represents a network listener for the proxy.
- NORMAL - Static variable in enum com.velocitypowered.api.event.PostOrder
- notModCompatible() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- nullPlayers() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
O
- of(String, String) - Static method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- online() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- onlineMode() - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- onlineMode() - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- onlineMode() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's connection status.
- onlinePlayers() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get current online player count which will be used to reply to the query.
- onlinePlayers(int) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the players that are currently claimed to be online.
- onlinePlayers(int) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- optional() - Method in annotation type com.velocitypowered.api.plugin.Dependency
-
Whether or not the dependency is not required to enable this plugin.
- optional() - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
-
Returns whether the dependency is optional for the plugin to work correctly.
- order() - Method in annotation type com.velocitypowered.api.event.Subscribe
-
The order events will be posted to this handler.
- originalHostname() - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- originalHostname() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- originalMessage() - Method in interface com.velocitypowered.api.event.player.PlayerChatEvent
-
Returns the message the player originally sent.
- originalMessage() - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- originalTarget() - Method in interface com.velocitypowered.api.event.player.ServerPreConnectEvent
-
Returns the server that the player originally tried to connect to.
- originalTarget() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
-
Returns the server that the player originally tried to connect to.
P
- PairedPluginChannelId - Class in com.velocitypowered.api.proxy.messages
-
Represents a legacy channel identifier (for Minecraft 1.12 and below) paired with a namespaced key for 1.13 and above.
- parent() - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
- partialMessage() - Method in interface com.velocitypowered.api.event.player.TabCompleteEvent
-
Returns the message being partially completed.
- partialMessage() - Method in class com.velocitypowered.api.event.player.TabCompleteEventImpl
-
Returns the message being partially completed.
- PermissionFunction - Interface in com.velocitypowered.api.permission
-
Function that calculates the permission settings for a given
PermissionSubject. - PermissionProvider - Interface in com.velocitypowered.api.permission
-
Provides
PermissionFunctions forPermissionSubjects. - PermissionsSetupEvent - Interface in com.velocitypowered.api.event.permission
-
Called when a
PermissionSubject's permissions are being setup. - PermissionsSetupEventImpl - Class in com.velocitypowered.api.event.permission
-
Called when a
PermissionSubject's permissions are being setup. - PermissionsSetupEventImpl(PermissionSubject, PermissionProvider) - Constructor for class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
- PermissionSubject - Interface in com.velocitypowered.api.permission
-
Represents a object that has a set of queryable permissions.
- ping() - Method in interface com.velocitypowered.api.event.connection.ProxyPingEvent
- ping() - Method in class com.velocitypowered.api.event.connection.ProxyPingEventImpl
- ping() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the current player's ping.
- ping() - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Returns the latency for
thisentry. - ping() - Method in interface com.velocitypowered.api.proxy.server.RegisteredServer
-
Attempts to ping the remote server and return the server list ping result.
- player() - Method in interface com.velocitypowered.api.event.command.PlayerAvailableCommandsEvent
- player() - Method in class com.velocitypowered.api.event.command.PlayerAvailableCommandsEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.DisconnectEvent
- player() - Method in class com.velocitypowered.api.event.player.DisconnectEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
- player() - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.LoginEvent
- player() - Method in class com.velocitypowered.api.event.player.LoginEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerChannelRegisterEvent
- player() - Method in class com.velocitypowered.api.event.player.PlayerChannelRegisterEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerChatEvent
-
Returns the player sending the message.
- player() - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerChooseInitialServerEvent
- player() - Method in class com.velocitypowered.api.event.player.PlayerChooseInitialServerEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerClientSettingsChangedEvent
- player() - Method in class com.velocitypowered.api.event.player.PlayerClientSettingsChangedEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerModInfoEvent
- player() - Method in class com.velocitypowered.api.event.player.PlayerModInfoEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent
-
Returns the player affected by the change in resource pack status.
- player() - Method in class com.velocitypowered.api.event.player.PlayerResourcePackStatusEventImpl
-
Returns the player affected by the change in resource pack status.
- player() - Method in interface com.velocitypowered.api.event.player.PostLoginEvent
- player() - Method in class com.velocitypowered.api.event.player.PostLoginEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.ServerConnectedEvent
- player() - Method in class com.velocitypowered.api.event.player.ServerConnectedEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.ServerPostConnectEvent
- player() - Method in class com.velocitypowered.api.event.player.ServerPostConnectEventImpl
- player() - Method in interface com.velocitypowered.api.event.player.ServerPreConnectEvent
-
Returns the player connecting to the server.
- player() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
-
Returns the player connecting to the server.
- player() - Method in interface com.velocitypowered.api.event.player.TabCompleteEvent
-
Returns the player requesting the tab completion.
- player() - Method in class com.velocitypowered.api.event.player.TabCompleteEventImpl
-
Returns the player requesting the tab completion.
- player() - Method in interface com.velocitypowered.api.proxy.connection.ServerConnection
-
Returns the player that this connection is associated with.
- player(String) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Retrieves the player currently connected to this proxy by their Minecraft username.
- player(UUID) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Retrieves the player currently connected to this proxy by their Minecraft UUID.
- Player - Interface in com.velocitypowered.api.proxy.connection
-
Represents a player who is connected to the proxy.
- PlayerAvailableCommandsEvent - Interface in com.velocitypowered.api.event.command
-
Allows plugins to modify the packet indicating commands available on the server to a Minecraft 1.13+ client.
- PlayerAvailableCommandsEventImpl - Class in com.velocitypowered.api.event.command
-
Allows plugins to modify the packet indicating commands available on the server to a Minecraft 1.13+ client.
- PlayerAvailableCommandsEventImpl(Player, RootCommandNode<?>) - Constructor for class com.velocitypowered.api.event.command.PlayerAvailableCommandsEventImpl
-
Constructs an available commands event.
- PlayerChannelRegisterEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired when a client (
Player) sends a plugin message through the register channel. - PlayerChannelRegisterEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired when a client (
Player) sends a plugin message through the register channel. - PlayerChannelRegisterEventImpl(Player, List<PluginChannelId>) - Constructor for class com.velocitypowered.api.event.player.PlayerChannelRegisterEventImpl
- PlayerChatEvent - Interface in com.velocitypowered.api.event.player
- PlayerChatEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired when a player types in a chat message.
- PlayerChatEventImpl(Player, String) - Constructor for class com.velocitypowered.api.event.player.PlayerChatEventImpl
-
Constructs a PlayerChatEvent.
- PlayerChooseInitialServerEvent - Interface in com.velocitypowered.api.event.player
-
Fired when a player has finished connecting to the proxy and we need to choose the first server to connect to.
- PlayerChooseInitialServerEventImpl - Class in com.velocitypowered.api.event.player
-
Fired when a player has finished connecting to the proxy and we need to choose the first server to connect to.
- PlayerChooseInitialServerEventImpl(Player, RegisteredServer) - Constructor for class com.velocitypowered.api.event.player.PlayerChooseInitialServerEventImpl
-
Constructs a PlayerChooseInitialServerEvent.
- PlayerClientSettingsChangedEvent - Interface in com.velocitypowered.api.event.player
- PlayerClientSettingsChangedEventImpl - Class in com.velocitypowered.api.event.player
- PlayerClientSettingsChangedEventImpl(Player, ClientSettings) - Constructor for class com.velocitypowered.api.event.player.PlayerClientSettingsChangedEventImpl
- PlayerModInfoEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired when a modded client sends its mods to the proxy while connecting to a server.
- PlayerModInfoEventImpl - Class in com.velocitypowered.api.event.player
- PlayerModInfoEventImpl(Player, ModInfo) - Constructor for class com.velocitypowered.api.event.player.PlayerModInfoEventImpl
- PlayerResourcePackStatusEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired when the status of a resource pack sent to the player by the server is changed.
- PlayerResourcePackStatusEvent.Status - Enum in com.velocitypowered.api.event.player
-
Represents the possible statuses for the resource pack.
- PlayerResourcePackStatusEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired when the status of a resource pack sent to the player by the server is changed.
- PlayerResourcePackStatusEventImpl(Player, PlayerResourcePackStatusEvent.Status) - Constructor for class com.velocitypowered.api.event.player.PlayerResourcePackStatusEventImpl
- players() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get collection of players which will be used to reply to the query.
- players() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- players(String...) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Adds the specified players to the player list.
- players(Collection<String>) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Adds the specified players to the player list.
- Players(int, int, List<ServerPing.SamplePlayer>) - Constructor for class com.velocitypowered.api.proxy.server.ServerPing.Players
-
Creates a new instance.
- plugin() - Method in interface com.velocitypowered.api.scheduler.ScheduledTask
-
Returns the plugin that scheduled this task.
- Plugin - Annotation Type in com.velocitypowered.api.plugin
-
Annotation used to describe a Velocity plugin.
- PluginChannelId - Interface in com.velocitypowered.api.proxy.messages
-
Represents a channel identifier for use with plugin messaging.
- PluginContainer - Interface in com.velocitypowered.api.plugin
-
A wrapper around a plugin loaded by the proxy.
- PluginDependency - Class in com.velocitypowered.api.plugin.meta
-
Represents a dependency on another plugin.
- PluginDependency(String, String, boolean) - Constructor for class com.velocitypowered.api.plugin.meta.PluginDependency
-
Creates a new instance.
- PluginDescription - Interface in com.velocitypowered.api.plugin
-
Represents metadata for a specific version of a plugin.
- pluginManager() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
PluginManagerinstance. - PluginManager - Interface in com.velocitypowered.api.plugin
-
Manages plugins loaded on the proxy.
- PluginMessageEvent - Interface in com.velocitypowered.api.event.connection
-
This event is fired when a plugin message is sent to the proxy, either from a client (
Player) or a server (ServerConnection). - PluginMessageEventImpl - Class in com.velocitypowered.api.event.connection
-
This event is fired when a plugin message is sent to the proxy, either from a client (
Player) or a server (ServerConnection). - PluginMessageEventImpl(ChannelMessageSource, ChannelMessageSink, PluginChannelId, byte[]) - Constructor for class com.velocitypowered.api.event.connection.PluginMessageEventImpl
-
Creates a new instance.
- plugins() - Method in interface com.velocitypowered.api.plugin.PluginManager
-
Gets a
Collectionof allPluginContainers. - plugins() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get list of plugins which will be used to reply to the query.
- plugins(QueryResponse.PluginInformation...) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Adds the specified plugins to the plugins list.
- plugins(Collection<QueryResponse.PluginInformation>) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Adds the specified plugins to the plugins list.
- PostLoginEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired once the player has been fully initialized and is about to connect to their first server.
- PostLoginEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired once the player has been fully initialized and is about to connect to their first server.
- PostLoginEventImpl(Player) - Constructor for class com.velocitypowered.api.event.player.PostLoginEventImpl
- PostOrder - Enum in com.velocitypowered.api.event
-
Provides convenient shorthands for represents the order an event will be posted to a listener.
- PRE_SERVER_JOIN - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- PreLoginEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired when a player has initiated a connection with the proxy but before the proxy authenticates the player with Mojang or before the player's proxy connection is fully established (for offline mode).
- PreLoginEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired when a player has initiated a connection with the proxy but before the proxy authenticates the player with Mojang or before the player's proxy connection is fully established (for offline mode).
- PreLoginEventImpl(InboundConnection, String, boolean) - Constructor for class com.velocitypowered.api.event.player.PreLoginEventImpl
-
Creates a new instance.
- previousServer() - Method in interface com.velocitypowered.api.event.player.ServerConnectedEvent
- previousServer() - Method in class com.velocitypowered.api.event.player.ServerConnectedEventImpl
- previousServer() - Method in interface com.velocitypowered.api.event.player.ServerPostConnectEvent
- previousServer() - Method in class com.velocitypowered.api.event.player.ServerPostConnectEventImpl
- profile(GameProfile) - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
-
Sets the
GameProfileof theTabListEntry. - properties() - Method in class com.velocitypowered.api.util.GameProfile
-
Returns an immutable list of profile properties associated with this profile.
- Property(String, String, String) - Constructor for class com.velocitypowered.api.util.GameProfile.Property
-
Creates a profile property entry.
- protocol() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns the protocol as an int.
- protocol() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Version
- protocolVersion() - Method in interface com.velocitypowered.api.proxy.connection.InboundConnection
-
Returns the current protocol version this connection uses.
- ProtocolVersion - Enum in com.velocitypowered.api.network
-
Represents each Minecraft protocol version.
- provider() - Method in interface com.velocitypowered.api.event.permission.PermissionsSetupEvent
- provider() - Method in class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
- ProxyConfig - Interface in com.velocitypowered.api.proxy.config
-
Exposes certain proxy configuration information that plugins may use.
- proxyHost() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get proxy (public facing) hostname.
- proxyHost(String) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the host where this proxy is running.
- ProxyInitializeEvent - Interface in com.velocitypowered.api.event.lifecycle
-
This event is fired by the proxy after plugins have been loaded but before the proxy starts accepting connections.
- ProxyInitializeEventImpl - Class in com.velocitypowered.api.event.lifecycle
-
This event is fired by the proxy after plugins have been loaded but before the proxy starts accepting connections.
- ProxyInitializeEventImpl() - Constructor for class com.velocitypowered.api.event.lifecycle.ProxyInitializeEventImpl
- ProxyPingEvent - Interface in com.velocitypowered.api.event.connection
-
This event is fired when a server list ping request is sent by a remote client.
- ProxyPingEventImpl - Class in com.velocitypowered.api.event.connection
-
This event is fired when a server list ping request is sent by a remote client.
- ProxyPingEventImpl(InboundConnection, ServerPing) - Constructor for class com.velocitypowered.api.event.connection.ProxyPingEventImpl
- proxyPort() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get proxy (public facing) port.
- proxyPort(int) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the port where this proxy is running.
- ProxyQueryEvent - Interface in com.velocitypowered.api.event.connection
-
This event is fired if proxy is getting queried over GS4 Query protocol.
- ProxyQueryEvent.QueryType - Enum in com.velocitypowered.api.event.connection
-
Represents the type of query the client is asking for.
- ProxyQueryEventImpl - Class in com.velocitypowered.api.event.connection
-
This event is fired if proxy is getting queried over GS4 Query protocol.
- ProxyQueryEventImpl(ProxyQueryEvent.QueryType, InetAddress, QueryResponse) - Constructor for class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
-
Creates a new event.
- ProxyReloadEvent - Interface in com.velocitypowered.api.event.lifecycle
-
This event is fired when the proxy is reloaded by the user using
/velocity reload. - ProxyReloadEventImpl - Class in com.velocitypowered.api.event.lifecycle
-
This event is fired when the proxy is reloaded by the user using
/velocity reload. - ProxyReloadEventImpl() - Constructor for class com.velocitypowered.api.event.lifecycle.ProxyReloadEventImpl
- ProxyServer - Interface in com.velocitypowered.api.proxy
-
Provides an interface to a Minecraft server proxy.
- ProxyShutdownEvent - Interface in com.velocitypowered.api.event.lifecycle
-
This event is fired by the proxy after the proxy has stopped accepting connections but before the proxy process exits.
- ProxyShutdownEventImpl - Class in com.velocitypowered.api.event.lifecycle
- ProxyShutdownEventImpl() - Constructor for class com.velocitypowered.api.event.lifecycle.ProxyShutdownEventImpl
- proxyVersion() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Get server software (name and version) which will be used to reply to the query.
- proxyVersion(String) - Method in class com.velocitypowered.api.proxy.server.QueryResponse.Builder
-
Sets the proxy version.
- ProxyVersion - Class in com.velocitypowered.api.util
-
Provides a version object for the proxy.
- ProxyVersion(String, String, String) - Constructor for class com.velocitypowered.api.util.ProxyVersion
-
Creates a new
ProxyVersioninstance.
Q
- QUERY - com.velocitypowered.api.network.ListenerType
- queryingAddress() - Method in interface com.velocitypowered.api.event.connection.ProxyQueryEvent
-
Get the address of the client that sent this query.
- queryingAddress() - Method in class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
-
Get the address of the client that sent this query.
- QueryResponse - Class in com.velocitypowered.api.proxy.server
-
GS4 query response.
- QueryResponse.Builder - Class in com.velocitypowered.api.proxy.server
-
A builder for
QueryResponseobjects. - QueryResponse.PluginInformation - Class in com.velocitypowered.api.proxy.server
-
Represents a plugin in the query response.
R
- rawCommand() - Method in interface com.velocitypowered.api.event.command.CommandExecuteEvent
-
Gets the original command being executed without the first slash.
- rawCommand() - Method in class com.velocitypowered.api.event.command.CommandExecuteEventImpl
-
Gets the original command being executed without first slash.
- RawCommand - Interface in com.velocitypowered.api.command
-
A specialized sub-interface of
Commandwhich indicates the proxy should pass the command and its arguments directly without further processing. - RawCommand.Invocation - Interface in com.velocitypowered.api.command
-
Contains the invocation data for a raw command.
- rawMessage() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- rawMessage() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- reason() - Method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- register(BrigadierCommand) - Method in interface com.velocitypowered.api.command.CommandManager
-
Registers the specified Brigadier command.
- register(CommandMeta, Command) - Method in interface com.velocitypowered.api.command.CommandManager
-
Registers the specified command with the given metadata.
- register(PluginChannelId...) - Method in interface com.velocitypowered.api.proxy.messages.ChannelRegistrar
-
Registers the specified message identifiers to listen on so you can intercept plugin messages on the channel using
PluginMessageEventImpl. - register(Object, Class<E>, short, EventHandler<E>) - Method in interface com.velocitypowered.api.event.EventManager
-
Requests that the specified
handlerlisten for events and associate it with theplugin. - register(Object, Class<E>, EventHandler<E>) - Method in interface com.velocitypowered.api.event.EventManager
-
Requests that the specified
handlerlisten for events and associate it with theplugin. - register(Object, Object) - Method in interface com.velocitypowered.api.event.EventManager
-
Requests that the specified
listenerlisten for events and associate it with theplugin. - register(String, Command, String...) - Method in interface com.velocitypowered.api.command.CommandManager
-
Registers the specified command with the specified aliases.
- RegisteredServer - Interface in com.velocitypowered.api.proxy.server
-
Represents a server that has been registered with the proxy.
- registeredServers() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Retrieves all
RegisteredServers registered with this proxy. - registerServer(ServerInfo) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Registers a server with this proxy.
- reject() - Method in interface com.velocitypowered.api.event.player.ServerPreConnectEvent
- reject(Component) - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- remoteAddress() - Method in interface com.velocitypowered.api.proxy.connection.InboundConnection
-
Returns the player's remote address.
- removeEntry(UUID) - Method in interface com.velocitypowered.api.proxy.player.TabList
- repeat(@org.checkerframework.common.value.qual.IntRange(from=0L) long, TimeUnit) - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Specifies that the task should continue running after waiting for the specified amount, until it is cancelled.
- repeat(Duration) - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Specifies that the task should continue running after waiting for the specified amount, until it is cancelled.
- requiresAsync() - Method in interface com.velocitypowered.api.event.EventTask
-
Whether this
EventTaskis required to be called asynchronously. - response() - Method in interface com.velocitypowered.api.event.connection.ProxyQueryEvent
-
Returns the current query response.
- response() - Method in class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
-
Returns the current query response.
- result() - Method in class com.velocitypowered.api.event.command.CommandExecuteEventImpl
- result() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- result() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- result() - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
- result() - Method in class com.velocitypowered.api.event.player.LoginEventImpl
- result() - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- result() - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- result() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
- result() - Method in interface com.velocitypowered.api.event.ResultedEvent
-
Returns the result associated with this event.
- ResultedEvent<R extends ResultedEvent.Result> - Interface in com.velocitypowered.api.event
-
Indicates an event that has a result attached to it.
- ResultedEvent.ComponentResult - Class in com.velocitypowered.api.event
-
Represents an "allowed/denied" result with a reason allowed for denial.
- ResultedEvent.GenericResult - Class in com.velocitypowered.api.event
-
A generic "allowed/denied" result.
- ResultedEvent.Result - Interface in com.velocitypowered.api.event
-
Represents a result for an event.
- resume() - Method in interface com.velocitypowered.api.event.Continuation
-
Resumes the continuation.
- resumeWhenComplete(CompletableFuture<?>) - Static method in interface com.velocitypowered.api.event.EventTask
-
Creates an continuation based
EventTaskfor the givenCompletableFuture. - resumeWithException(Throwable) - Method in interface com.velocitypowered.api.event.Continuation
-
Resumes the continuation after the executed task failed.
- RIGHT - com.velocitypowered.api.proxy.player.ClientSettings.MainHand
- rootNode() - Method in interface com.velocitypowered.api.event.command.PlayerAvailableCommandsEvent
- rootNode() - Method in class com.velocitypowered.api.event.command.PlayerAvailableCommandsEventImpl
S
- sample() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- SamplePlayer(String, UUID) - Constructor for class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- samplePlayers(ServerPing.SamplePlayer...) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- schedule() - Method in interface com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
-
Schedules this task for execution.
- SCHEDULED - com.velocitypowered.api.scheduler.TaskStatus
-
The task is scheduled and is currently running.
- ScheduledTask - Interface in com.velocitypowered.api.scheduler
-
Represents a task that is scheduled to run on the proxy.
- scheduler() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Gets the
Schedulerinstance. - Scheduler - Interface in com.velocitypowered.api.scheduler
-
Represents a scheduler to execute tasks on the proxy.
- Scheduler.TaskBuilder - Interface in com.velocitypowered.api.scheduler
-
Represents a fluent interface to schedule tasks on the proxy.
- sendPluginMessage(PluginChannelId, byte[]) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Note that this method does not send a plugin message to the server the player is connected to. You should only use this method if you are trying to communicate with a mod that is installed on the player's client.
- sendPluginMessage(PluginChannelId, byte[]) - Method in interface com.velocitypowered.api.proxy.messages.ChannelMessageSink
-
Sends a plugin message to this target.
- sendResourcePack(String) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Sends the specified resource pack from
urlto the user. - sendResourcePack(String, byte[]) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Sends the specified resource pack from
urlto the user, using the specified 20-byte SHA-1 hash. - server() - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
- server() - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
- server(String) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Retrieves a registered
RegisteredServerinstance by its name. - SERVER_DISCONNECTED - com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
The server disconnected the user.
- ServerConnectedEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired once the player has successfully connected to the target server and the connection to the previous server has been de-established.
- ServerConnectedEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired once the player has successfully connected to the target server and the connection to the previous server has been de-established.
- ServerConnectedEventImpl(Player, RegisteredServer, RegisteredServer) - Constructor for class com.velocitypowered.api.event.player.ServerConnectedEventImpl
-
Constructs a ServerConnectedEvent.
- ServerConnection - Interface in com.velocitypowered.api.proxy.connection
-
Represents a connection to a backend server from the proxy for a client.
- serverInfo() - Method in interface com.velocitypowered.api.proxy.connection.ServerConnection
-
Returns the server info for this connection.
- serverInfo() - Method in interface com.velocitypowered.api.proxy.server.RegisteredServer
-
Returns the
ServerInfofor this server. - ServerInfo - Class in com.velocitypowered.api.proxy.server
-
ServerInfo represents a server that a player can connect to.
- ServerInfo(String, SocketAddress) - Constructor for class com.velocitypowered.api.proxy.server.ServerInfo
-
Creates a new ServerInfo object.
- serverKickReason() - Method in interface com.velocitypowered.api.event.player.KickedFromServerEvent
-
Gets the reason the server kicked the player from the server.
- serverKickReason() - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
-
Gets the reason the server kicked the player from the server.
- ServerPing - Class in com.velocitypowered.api.proxy.server
-
Represents a 1.7 and above server list ping response.
- ServerPing(ServerPing.Version, ServerPing.Players, Component, Favicon) - Constructor for class com.velocitypowered.api.proxy.server.ServerPing
- ServerPing(ServerPing.Version, ServerPing.Players, Component, Favicon, ModInfo) - Constructor for class com.velocitypowered.api.proxy.server.ServerPing
-
Constructs a ServerPing instance.
- ServerPing.Builder - Class in com.velocitypowered.api.proxy.server
-
A builder for
ServerPingobjects. - ServerPing.Players - Class in com.velocitypowered.api.proxy.server
- ServerPing.SamplePlayer - Class in com.velocitypowered.api.proxy.server
- ServerPing.Version - Class in com.velocitypowered.api.proxy.server
- ServerPostConnectEvent - Interface in com.velocitypowered.api.event.player
-
Fired after the player has connected to a server.
- ServerPostConnectEventImpl - Class in com.velocitypowered.api.event.player
-
Fired after the player has connected to a server.
- ServerPostConnectEventImpl(Player, RegisteredServer) - Constructor for class com.velocitypowered.api.event.player.ServerPostConnectEventImpl
- ServerPreConnectEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired before the player connects to a server.
- ServerPreConnectEvent.ServerResult - Class in com.velocitypowered.api.event.player
-
Represents the result of the
ServerPreConnectEvent. - ServerPreConnectEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired before the player connects to a server.
- ServerPreConnectEventImpl(Player, RegisteredServer) - Constructor for class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
-
Creates the ServerPreConnectEvent.
- setCurrentHostname(String) - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- setCurrentHostname(String) - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- setCurrentMessage(String) - Method in interface com.velocitypowered.api.event.player.PlayerChatEvent
-
Sets a new message to send, if the message is allowed to be sent.
- setCurrentMessage(String) - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- setCurrentRemoteHostAddress(SocketAddress) - Method in interface com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
- setCurrentRemoteHostAddress(SocketAddress) - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- setDisplayName(Component) - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
- setGameMode(int) - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Sets the game mode for
thisentry to the specified value. - setGameProfile(GameProfile) - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
-
Sets the game profile to use for this connection.
- setGameProfile(GameProfile) - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
-
Sets the game profile to use for this connection.
- setGameProfileProperties(List<GameProfile.Property>) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Sets the player's profile properties.
- setHandled(boolean) - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- setHeaderAndFooter(Component, Component) - Method in interface com.velocitypowered.api.proxy.player.TabList
-
Sets the tab list header and footer for the player.
- setInitialServer(RegisteredServer) - Method in class com.velocitypowered.api.event.player.PlayerChooseInitialServerEventImpl
-
Sets the new initial server.
- setInitialServer(RegisteredServer) - Method in interface com.velocitypowered.api.event.player.PlayerChooseInitialServerEvent
-
Sets the new initial server.
- setOnlineMode(boolean) - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- setOnlineMode(boolean) - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- setPing(int) - Method in interface com.velocitypowered.api.proxy.player.TabListEntry
-
Sets the latency for
thisentry to the specified value. - setPing(ServerPing) - Method in interface com.velocitypowered.api.event.connection.ProxyPingEvent
- setPing(ServerPing) - Method in class com.velocitypowered.api.event.connection.ProxyPingEventImpl
- setProvider(PermissionProvider) - Method in interface com.velocitypowered.api.event.permission.PermissionsSetupEvent
-
Sets the
PermissionFunctionthat should be used for the subject. - setProvider(PermissionProvider) - Method in class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
-
Sets the
PermissionFunctionthat should be used for the subject. - setResponse(QueryResponse) - Method in interface com.velocitypowered.api.event.connection.ProxyQueryEvent
-
Sets a new query response.
- setResponse(QueryResponse) - Method in class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
-
Sets a new query response.
- setResult(KickedFromServerEvent.ServerKickResult) - Method in class com.velocitypowered.api.event.player.KickedFromServerEventImpl
- setResult(ResultedEvent.ComponentResult) - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- setResult(CommandExecuteEvent.CommandResult) - Method in class com.velocitypowered.api.event.command.CommandExecuteEventImpl
- setResult(ServerPreConnectEvent.ServerResult) - Method in class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
- setResult(ResultedEvent.ComponentResult) - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- setResult(ResultedEvent.ComponentResult) - Method in class com.velocitypowered.api.event.player.LoginEventImpl
- setResult(ResultedEvent.GenericResult) - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- setResult(ResultedEvent.GenericResult) - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- setResult(R) - Method in interface com.velocitypowered.api.event.ResultedEvent
-
Sets the result of this event.
- settings() - Method in interface com.velocitypowered.api.event.player.PlayerClientSettingsChangedEvent
- settings() - Method in class com.velocitypowered.api.event.player.PlayerClientSettingsChangedEventImpl
- shouldPreventClientProxyConnections() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
If client's ISP/AS sent from this proxy is different from the one from Mojang's authentication server, the player is kicked.
- shouldQueryShowPlugins() - Method in interface com.velocitypowered.api.proxy.config.ProxyConfig
-
Whether GameSpy 4 queries should show plugins installed on Velocity by default.
- SHOWN - com.velocitypowered.api.proxy.player.ClientSettings.ChatMode
- shutdown() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Shuts down the proxy, kicking players with the default reason.
- shutdown(Component) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Shuts down the proxy, kicking players with the specified
reason. - signature() - Method in class com.velocitypowered.api.util.GameProfile.Property
- SimpleCommand - Interface in com.velocitypowered.api.command
-
A simple command, modelled after the convention popularized by Bukkit and BungeeCord.
- SimpleCommand.Invocation - Interface in com.velocitypowered.api.command
-
Contains the invocation data for a simple command.
- sink() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- sink() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- SkinParts - Class in com.velocitypowered.api.proxy.player
- SkinParts(byte) - Constructor for class com.velocitypowered.api.proxy.player.SkinParts
- source() - Method in interface com.velocitypowered.api.command.CommandInvocation
-
Returns the source to execute the command for.
- source() - Method in interface com.velocitypowered.api.event.command.CommandExecuteEvent
- source() - Method in class com.velocitypowered.api.event.command.CommandExecuteEventImpl
- source() - Method in interface com.velocitypowered.api.event.connection.PluginMessageEvent
- source() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- spoofChatInput(String) - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Sends chat input onto the players current server as if they typed it into the client chat box.
- status() - Method in interface com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent
-
Returns the new status for the resource pack.
- status() - Method in class com.velocitypowered.api.event.player.PlayerResourcePackStatusEventImpl
-
Returns the new status for the resource pack.
- status() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Result
-
Returns the status associated with this result.
- status() - Method in interface com.velocitypowered.api.scheduler.ScheduledTask
-
Returns the current status of this task.
- subject() - Method in interface com.velocitypowered.api.event.permission.PermissionsSetupEvent
- subject() - Method in class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
- Subscribe - Annotation Type in com.velocitypowered.api.event
-
An annotation that indicates that this method can be used to listen for an event from the proxy.
- SUCCESS - com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
The player was successfully connected to the server.
- SUCCESSFUL - com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
The resource pack was applied successfully.
- SUCCESSFUL_LOGIN - com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
- suggest(I) - Method in interface com.velocitypowered.api.command.InvocableCommand
-
Provides tab complete suggestions for the specified invocation.
- suggestAsync(I) - Method in interface com.velocitypowered.api.command.InvocableCommand
-
Provides tab complete suggestions for the specified invocation.
- suggestions() - Method in interface com.velocitypowered.api.event.player.TabCompleteEvent
-
Returns all the suggestions provided to the user, as a mutable list.
- suggestions() - Method in class com.velocitypowered.api.event.player.TabCompleteEventImpl
-
Returns all the suggestions provided to the user, as a mutable list.
- SUPPORTED_VERSION_STRING - Static variable in enum com.velocitypowered.api.network.ProtocolVersion
-
The user-friendly representation of the lowest and highest supported versions.
- SUPPORTED_VERSIONS - Static variable in enum com.velocitypowered.api.network.ProtocolVersion
-
A set containing all the protocols that the proxy actually supports, excluding special-purpose "versions" like
ProtocolVersion.LEGACYandProtocolVersion.UNKNOWN. - supportedVersions() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns all versions this protocol is valid for.
T
- TabCompleteEvent - Interface in com.velocitypowered.api.event.player
-
This event is fired after a tab complete response is sent by the remote server, for clients on 1.12.2 and below.
- TabCompleteEventImpl - Class in com.velocitypowered.api.event.player
-
This event is fired after a tab complete response is sent by the remote server, for clients on 1.12.2 and below.
- TabCompleteEventImpl(Player, String, List<String>) - Constructor for class com.velocitypowered.api.event.player.TabCompleteEventImpl
-
Constructs a new TabCompleteEvent instance.
- tabList() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's tab list.
- tabList(TabList) - Method in class com.velocitypowered.api.proxy.player.TabListEntry.Builder
- TabList - Interface in com.velocitypowered.api.proxy.player
-
Represents the tab list of a
Player. - TabListEntry - Interface in com.velocitypowered.api.proxy.player
-
Represents a single entry in a
TabList. - TabListEntry.Builder - Class in com.velocitypowered.api.proxy.player
-
Represents a builder which creates
TabListEntrys. - target() - Method in interface com.velocitypowered.api.event.player.ServerConnectedEvent
- target() - Method in class com.velocitypowered.api.event.player.ServerConnectedEventImpl
- target() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
- target() - Method in interface com.velocitypowered.api.proxy.connection.ServerConnection
-
Returns the server that this connection is connected to.
- target() - Method in interface com.velocitypowered.api.proxy.player.ConnectionRequestBuilder
-
Returns the server that this connection request represents.
- TaskStatus - Enum in com.velocitypowered.api.scheduler
- toBuilder() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
-
Creates a new
QueryResponse.Builderinstance from data represented by this response, so that you may create a newQueryResponsewith new data. - toString() - Method in class com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
- toString() - Method in class com.velocitypowered.api.event.command.CommandExecuteEventImpl
- toString() - Method in class com.velocitypowered.api.event.connection.ConnectionHandshakeEventImpl
- toString() - Method in class com.velocitypowered.api.event.connection.PluginMessageEventImpl
- toString() - Method in class com.velocitypowered.api.event.connection.ProxyPingEventImpl
- toString() - Method in class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
- toString() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerBoundEventImpl
- toString() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerClosedEventImpl
- toString() - Method in class com.velocitypowered.api.event.lifecycle.ProxyInitializeEventImpl
- toString() - Method in class com.velocitypowered.api.event.lifecycle.ProxyReloadEventImpl
- toString() - Method in class com.velocitypowered.api.event.lifecycle.ProxyShutdownEventImpl
- toString() - Method in class com.velocitypowered.api.event.permission.PermissionsSetupEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.DisconnectEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.LoginEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerChannelRegisterEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerChatEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerChooseInitialServerEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerClientSettingsChangedEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerModInfoEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PlayerResourcePackStatusEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PostLoginEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.ServerConnectedEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.ServerPostConnectEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEvent.ServerResult
- toString() - Method in class com.velocitypowered.api.event.player.ServerPreConnectEventImpl
- toString() - Method in class com.velocitypowered.api.event.player.TabCompleteEventImpl
- toString() - Method in class com.velocitypowered.api.event.ResultedEvent.ComponentResult
- toString() - Method in class com.velocitypowered.api.event.ResultedEvent.GenericResult
- toString() - Method in enum com.velocitypowered.api.network.ListenerType
- toString() - Method in enum com.velocitypowered.api.network.ProtocolVersion
- toString() - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
- toString() - Method in class com.velocitypowered.api.proxy.messages.KeyedPluginChannelId
- toString() - Method in class com.velocitypowered.api.proxy.messages.PairedPluginChannelId
- toString() - Method in class com.velocitypowered.api.proxy.server.QueryResponse.PluginInformation
- toString() - Method in class com.velocitypowered.api.proxy.server.QueryResponse
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerInfo
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Players
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- toString() - Method in class com.velocitypowered.api.proxy.server.ServerPing.Version
- toString() - Method in class com.velocitypowered.api.util.Favicon
- toString() - Method in class com.velocitypowered.api.util.GameProfile.Property
- toString() - Method in class com.velocitypowered.api.util.GameProfile
- toString() - Method in class com.velocitypowered.api.util.ModInfo.Mod
- toString() - Method in class com.velocitypowered.api.util.ModInfo
- toString() - Method in class com.velocitypowered.api.util.ProxyVersion
- toUndashed(UUID) - Static method in class com.velocitypowered.api.util.UuidUtils
-
Converts from a Java
UUIDobject into an undashed Mojang-style UUID. - Tristate - Enum in com.velocitypowered.api.permission
-
Represents three different states of a setting.
- TRUE - com.velocitypowered.api.permission.Tristate
-
A value indicating a positive setting.
- type() - Method in interface com.velocitypowered.api.event.connection.ProxyQueryEvent
-
Returns the kind of query the remote client is performing.
- type() - Method in class com.velocitypowered.api.event.connection.ProxyQueryEventImpl
-
Returns the kind of query the remote client is performing.
- type() - Method in interface com.velocitypowered.api.event.lifecycle.network.ListenerBoundEvent
- type() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerBoundEventImpl
- type() - Method in interface com.velocitypowered.api.event.lifecycle.network.ListenerClosedEvent
- type() - Method in class com.velocitypowered.api.event.lifecycle.network.ListenerClosedEventImpl
- type() - Method in interface com.velocitypowered.api.network.NetworkEndpoint
-
The type.
U
- undashedId() - Method in class com.velocitypowered.api.util.GameProfile
-
Returns the undashed, Mojang-style UUID.
- UNDEFINED - com.velocitypowered.api.permission.Tristate
-
A value indicating a non-existent setting.
- UNKNOWN - com.velocitypowered.api.network.ProtocolVersion
- unregister(PluginChannelId...) - Method in interface com.velocitypowered.api.proxy.messages.ChannelRegistrar
-
Removes the intent to listen for the specified channel.
- unregister(Object, EventHandler<E>) - Method in interface com.velocitypowered.api.event.EventManager
-
Unregisters a specific event handler for a specific plugin.
- unregister(String) - Method in interface com.velocitypowered.api.command.CommandManager
-
Unregisters the specified command alias from the manager, if registered.
- unregisterListener(Object, Object) - Method in interface com.velocitypowered.api.event.EventManager
-
Unregisters a specific listener for a specific plugin.
- unregisterListeners(Object) - Method in interface com.velocitypowered.api.event.EventManager
-
Unregisters all listeners for the specified
plugin. - unregisterServer(ServerInfo) - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Unregisters this server from the proxy.
- url() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The URL or website of the plugin.
- url() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the url or website of the
Pluginwithin this container. - username() - Method in interface com.velocitypowered.api.event.player.GameProfileRequestEvent
- username() - Method in class com.velocitypowered.api.event.player.GameProfileRequestEventImpl
- username() - Method in interface com.velocitypowered.api.event.player.PreLoginEvent
- username() - Method in class com.velocitypowered.api.event.player.PreLoginEventImpl
- username() - Method in interface com.velocitypowered.api.proxy.connection.Player
-
Returns the player's current username.
- uuid() - Method in class com.velocitypowered.api.util.GameProfile
-
Returns the UUID associated with this game profile.
- UuidUtils - Class in com.velocitypowered.api.util
-
Provides a small, useful selection of utilities for working with Minecraft UUIDs.
V
- value() - Method in class com.velocitypowered.api.util.GameProfile.Property
- valueOf(String) - Static method in enum com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.event.PostOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.network.ListenerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.permission.Tristate
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.proxy.player.ClientSettings.ChatMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.proxy.player.ClientSettings.MainHand
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.velocitypowered.api.scheduler.TaskStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.event.player.DisconnectEvent.LoginStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.event.player.PlayerResourcePackStatusEvent.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.event.PostOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.network.ListenerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.permission.Tristate
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.proxy.player.ClientSettings.ChatMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.proxy.player.ClientSettings.MainHand
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.proxy.player.ConnectionRequestBuilder.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.velocitypowered.api.scheduler.TaskStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- vendor() - Method in class com.velocitypowered.api.util.ProxyVersion
- version() - Method in annotation type com.velocitypowered.api.plugin.Dependency
-
The required version of the dependency.
- version() - Method in class com.velocitypowered.api.plugin.meta.PluginDependency
-
Returns the version this
PluginDependencyshould match in NPM SemVer range format. - version() - Method in annotation type com.velocitypowered.api.plugin.Plugin
-
The version of the plugin.
- version() - Method in interface com.velocitypowered.api.plugin.PluginDescription
-
Gets the version of the
Pluginwithin this container. - version() - Method in interface com.velocitypowered.api.proxy.ProxyServer
-
Returns the version of the proxy.
- version() - Method in class com.velocitypowered.api.proxy.server.ServerPing
- version() - Method in class com.velocitypowered.api.util.ProxyVersion
- version(ServerPing.Version) - Method in class com.velocitypowered.api.proxy.server.ServerPing.Builder
- Version(int, String) - Constructor for class com.velocitypowered.api.proxy.server.ServerPing.Version
-
Creates a new instance.
- versionIntroducedIn() - Method in enum com.velocitypowered.api.network.ProtocolVersion
-
Returns the user-friendly name of the version this protocol was introduced in.
W
- withContinuation(Consumer<Continuation>) - Static method in interface com.velocitypowered.api.event.EventTask
- withLegacy(String, Key) - Static method in interface com.velocitypowered.api.proxy.messages.PluginChannelId
-
Wraps the specified Minecraft key so it can be used as a
PluginChannelId, with the specifiedlegacyChannelfor clients connected using Minecraft 1.12.2 or earlier. - withName(String) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the specified name. - withProperties(List<GameProfile.Property>) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the specified properties. - withUndashedId(String) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the specified undashed id. - withUuid(UUID) - Method in class com.velocitypowered.api.util.GameProfile
-
Creates a new
GameProfilewith the specified unique id. - wrap(Key) - Static method in interface com.velocitypowered.api.proxy.messages.PluginChannelId
-
Wraps the specified Minecraft key so it can be used as a
PluginChannelId.
All Classes All Packages