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
↓ 7 callers
Method
getName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:207
↓ 7 callers
Method
getPacketId
Attempts to look up the packet ID for an {@code packet}. @param packet the packet to look up @return the packet ID @throws IllegalArgumentException i
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:1044
↓ 7 callers
Method
getPlayerInfoForwardingMode
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:307
↓ 7 callers
Method
getPlayersConnected
Returns a list of all the players currently connected to this server on this proxy. @return the players on this proxy
api/src/main/java/com/velocitypowered/api/proxy/server/RegisteredServer.java:35
↓ 7 callers
Method
getPlugins
Gets a {@link Collection} of all {@link PluginContainer}s. @return the plugins
api/src/main/java/com/velocitypowered/api/plugin/PluginManager.java:42
↓ 7 callers
Method
getServers
Get a Map of all servers registered in <code>velocity.toml</code>. This method does <strong>not</strong> return all the servers currently in memory, a
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:87
↓ 7 callers
Method
getSignatureHolder
Retrieves the signature holders UUID. Returns null before the {@link com.velocitypowered.api.event.connection.LoginEvent}. @return the holder UUID or
api/src/main/java/com/velocitypowered/api/proxy/crypto/IdentifiedKey.java:48
↓ 7 callers
Method
handleMethodListener
(final Object listener)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:68
↓ 7 callers
Method
id
()
api/src/main/java/com/velocitypowered/api/network/HandshakeIntent.java:24
↓ 7 callers
Method
isLogPlayerConnections
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:438
↓ 7 callers
Method
setAction
(int action)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:148
↓ 7 callers
Method
setTimestamp
(Instant timestamp)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:62
↓ 7 callers
Method
setUuid
(UUID uuid)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:140
↓ 7 callers
Method
start
()
proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java:239
↓ 7 callers
Method
testDescription
(String id, PluginDependency... dependencies)
proxy/src/test/java/com/velocitypowered/proxy/plugin/util/PluginDependencyUtilsTest.java:99
↓ 7 callers
Method
toString
()
api/src/main/java/com/velocitypowered/api/util/Favicon.java:67
↓ 7 callers
Method
unregisterListeners
Unregisters all listeners for the specified {@code plugin}. @param plugin the plugin to deregister listeners for
api/src/main/java/com/velocitypowered/api/event/EventManager.java:95
↓ 7 callers
Method
writeFloat
(float v)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:91
↓ 6 callers
Method
asPlayer
(@Nullable Player player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:72
↓ 6 callers
Method
assertFiredEventValue
(int value)
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:87
↓ 6 callers
Method
buildTask
(Object plugin, Runnable runnable)
proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java:80
↓ 6 callers
Method
cancel
Cancels this task. If the task is already running, the thread in which it is running will be interrupted. If the task is not currently running, Veloci
api/src/main/java/com/velocitypowered/api/scheduler/ScheduledTask.java:35
↓ 6 callers
Method
closeWith
Closes the connection after writing the {@code msg}. @param msg the message to write
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:273
↓ 6 callers
Method
configVersion
Gets the configuration version. @param config the configuration. @return configuration version
proxy/src/main/java/com/velocitypowered/proxy/config/migration/ConfigurationMigration.java:44
↓ 6 callers
Method
createRawEntry
(VelocityTabListEntry entry)
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java:242
↓ 6 callers
Method
disconnect0
Disconnects the player from the proxy. @param reason the reason for disconnecting the player @param duringLogin whether the disconnect happened
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:664
↓ 6 callers
Method
emitActionRaw
(UpsertPlayerInfoPacket.Action action, UpsertPlayerInfoPacket.Entry entry)
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java:249
↓ 6 callers
Method
ensurePluginContainer
Ensures a plugin container exists for the given {@code plugin}. @param plugin the instance to look up the container for @return container for the plu
api/src/main/java/com/velocitypowered/api/plugin/PluginManager.java:67
↓ 6 callers
Method
equals
(final Object o)
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentCommandNode.java:116
↓ 6 callers
Method
equals
(@Nullable Object o)
api/src/main/java/com/velocitypowered/api/util/Favicon.java:50
↓ 6 callers
Method
forDisconnect
Returns a disconnect result with a reason. @param component the reason for disconnecting from the server @param server the server to use @return t
proxy/src/main/java/com/velocitypowered/proxy/connection/util/ConnectionRequestResults.java:61
↓ 6 callers
Method
getCommand
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerCommandPacket.java:62
↓ 6 callers
Method
getDependencies
Gets a {@link Collection} of all dependencies of the {@link Plugin} within this container. @return the plugin dependencies, can be empty @see Plugin#
api/src/main/java/com/velocitypowered/api/plugin/PluginDescription.java:95
↓ 6 callers
Method
getDescriptionComponent
()
api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java:69
↓ 6 callers
Method
getDisplayNameComponent
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:78
↓ 6 callers
Method
getGameMode
Gets the game mode {@code this} entry has been set to. <p>The number corresponds to the game mode in the following way:</p> <ol start="0"> <li>Surviv
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:112
↓ 6 callers
Method
getLatency
Returns the latency for {@code this} entry. <p>The icon shown in the tab list is calculated by the latency as follows:</p> <ul> <li>A negative late
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:88
↓ 6 callers
Method
getLoadedVariant
()
native/src/main/java/com/velocitypowered/natives/util/NativeCodeLoader.java:54
↓ 6 callers
Method
getOffers
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:64
↓ 6 callers
Method
getProperties
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginSuccessPacket.java:64
↓ 6 callers
Method
getProtocolRegistry
(final ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:931
↓ 6 callers
Method
getStart
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:48
↓ 6 callers
Method
getStatus
Returns the status associated with this result. @return the status for this result
api/src/main/java/com/velocitypowered/api/proxy/ConnectionRequestBuilder.java:70
↓ 6 callers
Method
getText
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:171
↓ 6 callers
Method
handleConnectionException
Handles unexpected disconnects. @param server the server we disconnected from @param throwable the exception @param safe whether or not we ca
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:697
↓ 6 callers
Method
isAllowedCharacter
Checks if a character is allowed. @param c character to check @return true if the character is allowed
proxy/src/main/java/com/velocitypowered/proxy/util/CharacterUtil.java:31
↓ 6 callers
Method
offerSuggestions
Asynchronously collects suggestions to fill in the given command {@code cmdLine}. Returns only the raw completion suggestions without tooltips. @para
api/src/main/java/com/velocitypowered/api/command/CommandManager.java:129
↓ 6 callers
Method
plugin
Specifies the plugin who registers the {@link Command}. @param plugin the registering plugin @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/command/CommandMeta.java:74
↓ 6 callers
Method
process
Encrypts the given {@link ByteBuf} in-place. @param source the buffer to encrypt
native/src/main/java/com/velocitypowered/natives/encryption/VelocityCipher.java:34
↓ 6 callers
Method
requiredArgumentBuilder
Creates a new RequiredArgumentBuilder of the required name and type. @param name the argument name @param argumentType the argument type required @pa
api/src/main/java/com/velocitypowered/api/command/BrigadierCommand.java:81
↓ 6 callers
Method
setHash
Sets the SHA-1 hash of the provided resource pack. Note: It is recommended to always set this hash. If this hash is not set/ not present then the clie
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:144
↓ 6 callers
Method
setServerAddress
(String serverAddress)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:53
↓ 6 callers
Method
skipBytes
(int n)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:57
↓ 6 callers
Method
toByteArray
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:41
↓ 6 callers
Method
toTicks
Converts the given duration to Minecraft ticks. @param duration the duration to convert into Minecraft ticks @return the duration represented as the
proxy/src/main/java/com/velocitypowered/proxy/util/DurationUtils.java:39
↓ 6 callers
Method
writeBinaryTag
Writes a {@link net.kyori.adventure.nbt.BinaryTag} to the {@code buf}. @param buf the buffer to write to @param tag the BinaryTag to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:523
↓ 6 callers
Method
writeUpdate
Records the specified boss bar to be re-sent when a player changes server, and sends the update packet if the client is able to receive it and not be
proxy/src/main/java/com/velocitypowered/proxy/connection/player/bossbar/BossBarManager.java:45
↓ 5 callers
Method
addCustomChart
Adds a custom chart. @param chart The chart to add.
proxy/src/main/java/com/velocitypowered/proxy/Metrics.java:91
↓ 5 callers
Method
address
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TransferPacket.java:40
↓ 5 callers
Method
attempt
Attempts to rate-limit the object. @param key the object to rate limit @return true if we should allow the object, false if we should rate-limit
proxy/src/main/java/com/velocitypowered/proxy/util/ratelimit/CaffeineCacheRatelimiter.java:57
↓ 5 callers
Method
composeTests
(String name, TestFunction testFunction)
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:95
↓ 5 callers
Method
create
(Component component, ProtocolVersion version, StateRegistry state)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/DisconnectPacket.java:79
↓ 5 callers
Method
generateRandomString
Generates a Random String. @param length the required string size. @return a new random string.
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:613
↓ 5 callers
Method
getAction
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:144
↓ 5 callers
Method
getActiveSessionHandler
()
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:465
↓ 5 callers
Method
getAliases
Returns a non-empty collection containing the case-insensitive aliases used to execute the command. @return the command aliases
api/src/main/java/com/velocitypowered/api/command/CommandMeta.java:25
↓ 5 callers
Method
getAllPlayers
Retrieves all players currently connected to this proxy. This call may or may not be a snapshot of all players online. @return the players online on
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:80
↓ 5 callers
Method
getAttemptConnectionOrder
Get the order of servers that players will be connected to. @return connection order list
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:94
↓ 5 callers
Method
getForcedHosts
Get forced servers mapped to a given virtual host. @return list of server names
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:101
↓ 5 callers
Method
getFromId
(String id)
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java:107
↓ 5 callers
Method
getGameMode
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:119
↓ 5 callers
Method
getGameProfile
Returns the player's game profile.
api/src/main/java/com/velocitypowered/api/proxy/Player.java:156
↓ 5 callers
Method
getLatency
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:234
↓ 5 callers
Method
getName
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:36
↓ 5 callers
Method
getOriginalData
()
api/src/main/java/com/velocitypowered/api/event/player/CookieStoreEvent.java:63
↓ 5 callers
Method
getPayload
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ClientboundStoreCookiePacket.java:37
↓ 5 callers
Method
getProfile
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:73
↓ 5 callers
Method
getRegistryIdentifier
()
proxy/src/main/java/com/velocitypowered/proxy/connection/registry/DimensionInfo.java:66
↓ 5 callers
Method
getServerAddress
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:49
↓ 5 callers
Method
getSigner
Returns the key used to sign the object. @return the key
api/src/main/java/com/velocitypowered/api/proxy/crypto/KeySigned.java:25
↓ 5 callers
Method
getVersion
Gets the version of the {@link Plugin} within this container. @return an {@link Optional} with the plugin version, may be empty @see Plugin#version()
api/src/main/java/com/velocitypowered/api/plugin/PluginDescription.java:55
↓ 5 callers
Method
isMcBrand
Determines whether or not this is a brand plugin message. This is shown on the client. @param message the plugin message @return whether or not this
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/PluginMessageUtil.java:65
↓ 5 callers
Method
isUnsigned
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerChatPacket.java:64
↓ 5 callers
Method
lookupClosest
(final Locale locale)
proxy/src/main/java/com/velocitypowered/proxy/util/ClosestLocaleMatcher.java:58
↓ 5 callers
Method
parseAddress
Attempts to parse an IP address of the form {@code 127.0.0.1:25565}. The returned {@link InetSocketAddress} is not resolved. @param ip the IP to pars
proxy/src/main/java/com/velocitypowered/proxy/util/AddressUtil.java:44
↓ 5 callers
Method
queueResourcePack
Queues a resource-pack for sending to the player and sends it immediately if the queue is empty.
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:89
↓ 5 callers
Method
read
(ProtocolVersion version, ByteBuf buf, Entry info)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:207
↓ 5 callers
Method
readKey
Reads a standard Mojang Text namespaced:key from the buffer. @param buf the buffer to read from @return the decoded key
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:329
↓ 5 callers
Method
register
Registers a server with the proxy. @param serverInfo the server to register @return the registered server
proxy/src/main/java/com/velocitypowered/proxy/server/ServerMap.java:79
↓ 5 callers
Method
resumeWhenComplete
(final CompletableFuture<?> future)
api/src/main/java/com/velocitypowered/api/event/EventTask.java:111
↓ 5 callers
Method
runCommand
(VelocityServer server, ConnectedPlayer player, String command, Function<Boolean, MinecraftPacket>
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/CommandHandler.java:50
↓ 5 callers
Method
sendPlayerListHeaderAndFooter
(final @NotNull Component header, final @NotNull Component footer)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:493
↓ 5 callers
Method
setAction
(ActionType action)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/TitleClearPacket.java:31
↓ 5 callers
Method
setComponent
(ComponentHolder component)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:63
↓ 5 callers
Method
setId
Sets the id of the resource pack. @param id the id the resource-pack
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:112
↓ 5 callers
Method
setPrompt
Sets a {@link Component} to display on the download prompt. This will only display if the client version is 1.17 or newer. @param prompt the componen
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:152
↓ 5 callers
Method
setShouldForce
Sets the resource-pack as required to play on the network. This feature was introduced in 1.17. Setting this to true has one of two effects: If the cl
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:132
↓ 5 callers
Method
validateChat
(String message)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java:168
↓ 5 callers
Method
writeString
(ByteBuf buf, String string)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GameSpyQueryHandler.java:199
↓ 4 callers
Method
clearAppliedResourcePacks
Clears the applied resource pack field.
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:81
← previous
next →
201–300 of 3,479, ranked by callers