Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperMC/Velocity
/ functions
Functions
3,479 in github.com/PaperMC/Velocity
⨍
Functions
3,479
◇
Types & classes
619
↓ 2 callers
Method
getSignedPublicKey
Returns RSA public key. Note: this key is at least 2048 bits but may be larger. @return the RSA public key in question
api/src/main/java/com/velocitypowered/api/proxy/crypto/IdentifiedKey.java:29
↓ 2 callers
Method
getSuggestions
(CommandContext<CommandSource> context, SuggestionsBuilder builder)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/AvailableCommandsPacket.java:350
↓ 2 callers
Method
getTimeout
The maximum period of time to wait for a response from the remote server. @return the server ping timeout in milliseconds
api/src/main/java/com/velocitypowered/api/proxy/server/PingOptions.java:56
↓ 2 callers
Method
getType
()
proxy/src/main/java/com/velocitypowered/proxy/network/Endpoint.java:41
↓ 2 callers
Method
getType
()
api/src/main/java/com/velocitypowered/api/util/ModInfo.java:37
↓ 2 callers
Method
getUndashedId
Returns the undashed, Mojang-style UUID. @return the undashed UUID
api/src/main/java/com/velocitypowered/api/util/GameProfile.java:64
↓ 2 callers
Method
getUsername
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginPacket.java:55
↓ 2 callers
Method
getVendor
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:40
↓ 2 callers
Method
getVersion
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:44
↓ 2 callers
Method
greaterThan
Checks if {@code this} is greater than {@code that}. @param that the other object @return {@code true} if {@code this} is greater than {@code that},
api/src/main/java/com/velocitypowered/api/util/Ordered.java:44
↓ 2 callers
Method
handle
(AvailableCommandsPacket commands)
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java:135
↓ 2 callers
Method
handleOverflow
(MinecraftPacket packet, int expected, int actual)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java:111
↓ 2 callers
Method
hasProperty
Check if there is a value assigned to this system property. @param property the system property to check @return if a value is assigned to this syste
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityProperties.java:54
↓ 2 callers
Method
hostname
Sets the hostname for the response. @param hostname the hostname to set @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:252
↓ 2 callers
Method
init
(ProcessingEnvironment processingEnv)
api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java:43
↓ 2 callers
Method
init
(byte[] key, boolean encrypt)
native/src/main/java/com/velocitypowered/natives/encryption/OpenSslCipherImpl.java:24
↓ 2 callers
Method
invalidCancel
(Logger logger, ConnectedPlayer player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedChatHandler.java:51
↓ 2 callers
Method
invalidChange
(Logger logger, ConnectedPlayer player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedChatHandler.java:59
↓ 2 callers
Method
isAssumeCommand
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteRequestPacket.java:53
↓ 2 callers
Method
isBungeePluginChannelEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:418
↓ 2 callers
Method
isClientListingAllowed
Returns whether the client explicitly allows listing on the {@link com.velocitypowered.api.proxy.player.TabList} or not in anonymous TabList mode. Thi
api/src/main/java/com/velocitypowered/api/proxy/player/PlayerSettings.java:69
↓ 2 callers
Method
isEnableReusePort
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:450
↓ 2 callers
Method
isEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:1001
↓ 2 callers
Method
isForwardCommandsIfRateLimited
Get whether we should forward commands to the backend if the player is rate limited. @return whether to forward commands if rate limited
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:164
↓ 2 callers
Method
isIntermediate
Returns true if the resource pack status is intermediate, indicating that the player has either accepted the resource pack and is currently downloadin
api/src/main/java/com/velocitypowered/api/event/player/PlayerResourcePackStatusEvent.java:184
↓ 2 callers
Method
isOnlineModeKickExistingPlayers
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:623
↓ 2 callers
Method
isOptional
Returns whether the dependency is optional for the plugin to work correctly. @return true if dependency is optional
api/src/main/java/com/velocitypowered/api/plugin/meta/PluginDependency.java:65
↓ 2 callers
Method
isOverwriteKick
Gets whether or not to override the kick resulting from {@link ResourcePackInfo#getShouldForce()} being true. @return whether or not to overwrite the
api/src/main/java/com/velocitypowered/api/event/player/PlayerResourcePackStatusEvent.java:110
↓ 2 callers
Method
isProxyProtocol
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:390
↓ 2 callers
Method
isShowHat
Returns whether this entry's hat layer is shown in the tab list. @return whether to show this entry's hat layer @sinceMinecraft 1.21.4
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:169
↓ 2 callers
Method
latency
Sets the latency of the {@link TabListEntry}. @param latency to set @return {@code this}, for chaining @see TabListEntry#getLatency()
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:272
↓ 2 callers
Method
listSuggestions
(CommandContext<S> context, SuggestionsBuilder builder)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ModArgumentProperty.java:54
↓ 2 callers
Method
loadClass
(String name, boolean resolve)
proxy/src/main/java/com/velocitypowered/proxy/plugin/PluginClassLoader.java:62
↓ 2 callers
Method
logHandlerException
( final HandlerRegistration registration, final Throwable t)
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:702
↓ 2 callers
Method
maxPlayers
Sets the maximum number of players this server purportedly can hold. @param maxPlayers a non-negative number representing the maximum number of build
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:297
↓ 2 callers
Method
mojangLoginSha1
(String str)
proxy/src/test/java/com/velocitypowered/proxy/util/EncryptionUtilsTest.java:38
↓ 2 callers
Method
normalizeInput
Normalizes the given command input. @param input the raw command input, without the leading slash ('/') @param trim whether to remove leading and tr
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommands.java:112
↓ 2 callers
Method
offset
(final int offset)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/LastSeenMessages.java:72
↓ 2 callers
Method
onFinish
()
proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java:309
↓ 2 callers
Method
onResourcePackResponse
Processes a client response to a sent resource-pack. <p>Cases in which no action will be taken:</p> <ul> <li><b>DOWNLOADED</b> <p>In this case the re
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:145
↓ 2 callers
Method
packetClass
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ChatHandler.java:24
↓ 2 callers
Method
parse
Parses the given command input. @param input the normalized command input, without the leading slash ('/') @param source the command source to parse
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java:334
↓ 2 callers
Method
parseRsaPublicKey
Parse an RSA public key from key bytes. @param keyValue the key bytes @return the generated key
proxy/src/main/java/com/velocitypowered/proxy/crypto/EncryptionUtils.java:148
↓ 2 callers
Method
players
Adds the specified players to the player list. @param players the players to add @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:333
↓ 2 callers
Method
plugins
Adds the specified plugins to the plugins list. @param plugins the plugins to add @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:376
↓ 2 callers
Method
processMessage0
(ByteBufDataInput in, ComponentSerializer<Component, ?, String> serializer)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:183
↓ 2 callers
Method
profile
Sets the {@link GameProfile} of the {@link TabListEntry}. @param profile to set @return {@code this}, for chaining @see TabListEntry#getProfile()
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:233
↓ 2 callers
Method
proxyHost
Sets the host where this proxy is running. @param proxyHost the host where the proxy is running @return this instance, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:309
↓ 2 callers
Method
proxyPort
Sets the port where this proxy is running. @param proxyPort the port where the proxy is running @return this instance, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:320
↓ 2 callers
Method
proxyVersion
Sets the proxy version. @param proxyVersion the proxy version to set @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:365
↓ 2 callers
Method
queryBind
Binds a GS4 listener to the specified {@code hostname} and {@code port}. @param hostname the hostname to bind to @param port the port to bind to
proxy/src/main/java/com/velocitypowered/proxy/network/ConnectionManager.java:163
↓ 2 callers
Method
read
Reads the Velocity configuration from {@code path}. @param path the path to read from @return the deserialized Velocity configuration @throws IOExcep
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:486
↓ 2 callers
Method
readAlias
Returns the parsed alias, used to execute the command. @param nodes the list of parsed nodes, as returned by {@link CommandContext#getNodes()} or
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommands.java:133
↓ 2 callers
Method
readArguments
Returns the parsed arguments that come after the command alias, or {@code fallback} if no arguments were provided. @param arguments the map of parsed
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommands.java:154
↓ 2 callers
Method
readBoolean
Attempts to read a system property as boolean. @param property the system property to read @param defaultValue the default value @return the default
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityProperties.java:38
↓ 2 callers
Method
readDouble
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:108
↓ 2 callers
Method
readExtendedForgeShort
Reads a Minecraft-style extended short from the specified {@code buf}. @param buf buf to write @return read extended short
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:742
↓ 2 callers
Method
readLegacyString
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingDecoder.java:90
↓ 2 callers
Method
readMessageSignature
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionPlayerChatPacket.java:97
↓ 2 callers
Method
readOptionalComponent
(ByteBuf buf, ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:102
↓ 2 callers
Method
readRawVarInt21
Reads a VarInt from the buffer of up to 21 bits in size. @param buffer the buffer to read from @return the VarInt decoded, {@code 0} if no varint cou
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintFrameDecoder.java:189
↓ 2 callers
Method
readShort
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:78
↓ 2 callers
Method
registerInternally
Registers the listener for a given plugin. @param pluginContainer registering plugin @param listener listener to register
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:432
↓ 2 callers
Method
registerPlugin
Registers a plugin with the plugin manager. @param plugin the plugin to register
proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java:76
↓ 2 callers
Method
registrableSuperInterface
Returns the superclass or superinterface of all {@link Command} classes compatible with this registrar. Note that {@link #register(CommandMeta, Comman
proxy/src/main/java/com/velocitypowered/proxy/command/registrar/CommandRegistrar.java:49
↓ 2 callers
Method
registrant
()
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityBrigadierCommandWrapper.java:64
↓ 2 callers
Method
releaseQueue
(ChannelHandlerContext ctx, boolean active)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/PlayPacketQueueInboundHandler.java:105
↓ 2 callers
Method
releaseQueue
(ChannelHandlerContext ctx, boolean active)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/PlayPacketQueueOutboundHandler.java:87
↓ 2 callers
Method
remove
(final UUID id)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:83
↓ 2 callers
Method
removeEntry
Removes the {@link TabListEntry} from the tab list with the {@link GameProfile} identified with the specified {@link UUID}. @param uuid of the entry
api/src/main/java/com/velocitypowered/api/proxy/player/TabList.java:79
↓ 2 callers
Method
resetConnectionPhase
Instruct Velocity to reset the connection phase back to its default for the connection type. @param player The player
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientConnectionPhase.java:51
↓ 2 callers
Method
resetEventManager
()
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:51
↓ 2 callers
Method
resume
()
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:624
↓ 2 callers
Method
rewriteMinecraftBrand
Rewrites the brand message to indicate the presence of Velocity. @param message the plugin message @param version the proxy version @return the rewri
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/PluginMessageUtil.java:179
↓ 2 callers
Method
runUntilIdle
Runs all tasks that are due "now" without advancing time.
proxy/src/test/java/com/velocitypowered/proxy/scheduler/DeterministicSchedulerBackend.java:71
↓ 2 callers
Method
scheduleAtFixedRate
Schedules a task to run at a fixed rate. @param task the task to run @param initialDelay the initial delay @param period the period between runs @par
proxy/src/main/java/com/velocitypowered/proxy/scheduler/SchedulerBackend.java:50
↓ 2 callers
Method
sendPluginMessage
{@inheritDoc} <p><strong>Note that this method does not send a plugin message to the server the player is connected to.</strong> You should only use
api/src/main/java/com/velocitypowered/api/proxy/Player.java:313
↓ 2 callers
Method
sendResourcePackOffer
Queues and sends a new Resource-pack offer to the player. To monitor the status of the sent resource pack, subscribe to {@link PlayerResourcePackStatu
api/src/main/java/com/velocitypowered/api/proxy/Player.java:241
↓ 2 callers
Method
sendResourcePackRequestPacket
(final @NotNull ResourcePackInfo queued)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:103
↓ 2 callers
Method
sendServerPlayers
(final CommandSource target, final RegisteredServer server, final boolean fro
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/GlistCommand.java:135
↓ 2 callers
Method
sendServerResponse
(ConnectedPlayer player, ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:331
↓ 2 callers
Method
sendTotalProxyCount
(CommandSource target)
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/GlistCommand.java:123
↓ 2 callers
Method
serializeFlags
(Set<BossBar.Flag> flags)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:264
↓ 2 callers
Method
serializeObject
(Object toSerialize, boolean withExcludes)
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:251
↓ 2 callers
Method
setChatSession
(@Nullable RemoteChatSession chatSession)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:300
↓ 2 callers
Method
setClientBrand
(final @Nullable String clientBrand)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:1044
↓ 2 callers
Method
setClientSettings
Sets player settings. @param clientSettingsPacket the player settings packet
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:358
↓ 2 callers
Method
setColor
(int color)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:172
↓ 2 callers
Method
setCompressionThreshold
Sets the compression threshold on the connection. You are responsible for sending {@link SetCompressionPacket} beforehand. @param threshold the compr
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:543
↓ 2 callers
Method
setConnectionPhase
Sets the current "phase" of the connection. See {@link #getPhase()} @param connectionPhase The {@link BackendConnectionPhase}
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java:362
↓ 2 callers
Method
setDimension
(int dimension)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:80
↓ 2 callers
Method
setDisplayName
(@Nullable ComponentHolder displayName)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:288
↓ 2 callers
Method
setDisplayName
(@Nullable Component displayName)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:247
↓ 2 callers
Method
setDisplayName
Sets the text {@link Component} to be displayed for {@code this} {@link TabListEntry}. If {@code null}, {@link GameProfile#getName()} will be shown.
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:70
↓ 2 callers
Method
setDisplayNameInternal
(net.kyori.adventure.text.@Nullable Component displayName)
proxy/src/main/java/com/velocitypowered/proxy/tablist/KeyedVelocityTabListEntry.java:75
↓ 2 callers
Method
setFadeIn
(int fadeIn)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:71
↓ 2 callers
Method
setFadeOut
(int fadeOut)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:87
↓ 2 callers
Method
setFlags
(short flags)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:188
↓ 2 callers
Method
setGameMode
(int gameMode)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:284
↓ 2 callers
Method
setGameMode
(int gameMode)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:229
← previous
next →
601–700 of 3,479, ranked by callers