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
↓ 4 callers
Method
configure
()
proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java:154
↓ 4 callers
Method
constructChannelsPacket
Constructs a channel (un)register packet. @param protocolVersion the client/server's protocol version @param channels the channels to register
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/PluginMessageUtil.java:146
↓ 4 callers
Method
create
Creates a capped collection backed by a {@link HashSet}. @param maxSize the maximum size of the collection @param <T> the type of elements in the
proxy/src/main/java/com/velocitypowered/proxy/util/collect/CappedSet.java:46
↓ 4 callers
Method
createBuilder
()
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentCommandNode.java:91
↓ 4 callers
Method
createWithMilliseconds
(long ms)
proxy/src/main/java/com/velocitypowered/proxy/util/ratelimit/Ratelimiters.java:31
↓ 4 callers
Method
delay
Specifies that the task should delay its execution by the specified amount of time. @param time the time to delay by @param unit the unit of time for
api/src/main/java/com/velocitypowered/api/scheduler/Scheduler.java:60
↓ 4 callers
Method
ensureAndGetCurrentServer
Makes sure the player is connected to a server and returns the server they are connected to. @return the server the player is connected to
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:307
↓ 4 callers
Method
ensureCompatible
Ensures the {@code buf} will work with the specified {@code nativeStuff}. After this function is called, you should decrement the reference count on t
native/src/main/java/com/velocitypowered/natives/util/MoreByteBufUtils.java:42
↓ 4 callers
Method
equals
(Object o)
api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java:93
↓ 4 callers
Method
getChatSession
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:63
↓ 4 callers
Method
getClientSettingsPacket
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:343
↓ 4 callers
Method
getDisplayName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:254
↓ 4 callers
Method
getExpiry
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerChatPacket.java:60
↓ 4 callers
Method
getFlags
(boolean hasMinimum, boolean hasMaximum)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/IntegerArgumentPropertySerializer.java:58
↓ 4 callers
Method
getLegacyChannelIds
Returns all legacy channel IDs. @return all legacy channel IDs
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java:82
↓ 4 callers
Method
getListOrder
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:159
↓ 4 callers
Method
getMessageComponent
()
api/src/main/java/com/velocitypowered/api/event/player/KickedFromServerEvent.java:233
↓ 4 callers
Method
getModernChannelIds
Returns all channel IDs (as strings) for use with Minecraft 1.13 and above. @return the channel IDs for Minecraft 1.13 and above
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java:95
↓ 4 callers
Method
getNode
Returns the literal node for this command. @return the command node
api/src/main/java/com/velocitypowered/api/command/BrigadierCommand.java:55
↓ 4 callers
Method
getPackInfo
Returns the {@link ResourcePackInfo} this response is for. @return the resource-pack info or null if no request was recorded
api/src/main/java/com/velocitypowered/api/event/player/PlayerResourcePackStatusEvent.java:99
↓ 4 callers
Method
getPing
Gets the player's estimated ping in milliseconds. @return the player's ping or -1 if ping information is currently unknown
api/src/main/java/com/velocitypowered/api/proxy/Player.java:120
↓ 4 callers
Method
getPlayerCount
Returns the number of players currently connected to this proxy. @return the players on this proxy
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:87
↓ 4 callers
Method
getPluginManager
Gets the {@link PluginManager} instance. @return the plugin manager instance
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:159
↓ 4 callers
Method
getPrompt
Gets the {@link Component} that is displayed on the resource-pack prompt. This is only displayed if the client version is 1.17 or newer. @return the
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:40
↓ 4 callers
Method
getProtocol
Returns the protocol as an int. @return the protocol version
api/src/main/java/com/velocitypowered/api/network/ProtocolVersion.java:180
↓ 4 callers
Method
getQueryPort
Get the port GameSpy 4 queries are accepted on. @return the query port
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:33
↓ 4 callers
Method
getReadTimeout
Get how long this proxy will wait until performing a read timeout. @return read timeout (in milliseconds)
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:150
↓ 4 callers
Method
getReason
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/DisconnectPacket.java:45
↓ 4 callers
Method
getReasonComponent
Returns an (optional) textual reason for the failure to connect to the server. @return the reason why the user could not connect to the server
api/src/main/java/com/velocitypowered/api/proxy/ConnectionRequestBuilder.java:77
↓ 4 callers
Method
getShouldForce
Gets whether or not the acceptance of the resource-pack is enforced. See {@link Builder#setShouldForce(boolean)} for more information. @return whethe
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:49
↓ 4 callers
Method
getType
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/SystemChatPacket.java:39
↓ 4 callers
Method
getUuid
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:133
↓ 4 callers
Method
getVersion
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ArgumentIdentifier.java:101
↓ 4 callers
Method
isBungeeCordMessage
(PluginMessagePacket message)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:71
↓ 4 callers
Method
isForwardToServer
()
api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java:198
↓ 4 callers
Method
isOnlineMode
Returns the player's connection status. @return true if the player is authenticated with Mojang servers
api/src/main/java/com/velocitypowered/api/proxy/Player.java:127
↓ 4 callers
Method
isPlayerAddressLoggingEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:414
↓ 4 callers
Method
isShowHat
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:179
↓ 4 callers
Method
isSigned
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionPlayerChatPacket.java:52
↓ 4 callers
Method
logger
( final @NotNull LoggerHelper helper, final @NotNull String name )
proxy/src/main/java/com/velocitypowered/proxy/adventure/ComponentLoggerProviderImpl.java:38
↓ 4 callers
Method
map
Sets the map that will appear in the response. @param map the map to set @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:274
↓ 4 callers
Method
merge
Returns a future that is completed with the result of merging the {@link Suggestions} the given futures complete with. The results of the futures that
proxy/src/main/java/com/velocitypowered/proxy/command/SuggestionsProvider.java:360
↓ 4 callers
Method
newList
Returns a pre-sized list with a max initial size of {@code Short.MAX_VALUE}. @param initialCapacity expected initial capacity @param <T> entry type @
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:869
↓ 4 callers
Method
readByteArray17
Reads an byte array for legacy version 1.7 from the specified {@code buf} @param buf the buffer to read from @return the read byte array
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:653
↓ 4 callers
Method
readFloat
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:103
↓ 4 callers
Method
repeat
Specifies that the task should continue running after waiting for the specified amount, until it is cancelled. @param time the time to delay by @para
api/src/main/java/com/velocitypowered/api/scheduler/Scheduler.java:80
↓ 4 callers
Method
run
(final CommandContext<CommandSource> context)
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/CallbackCommand.java:45
↓ 4 callers
Method
setAnnounceProxyCommands
Sets a flag indicating whether or not alias suggestions shall be returned to the user. @param announceProxyCommands whether alias suggestions can be
proxy/src/main/java/com/velocitypowered/proxy/command/SuggestionsProvider.java:383
↓ 4 callers
Method
setType
Sets the detected {@link ConnectionType}. @param connectionType The {@link ConnectionType}
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:635
↓ 4 callers
Method
teardown
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:956
↓ 4 callers
Method
updateTimeKeeper
(@Nullable Instant instant)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java:156
↓ 4 callers
Method
velocityArgument
Creates a builder for creating {@link VelocityArgumentCommandNode}s with the given name and type. @param name the name of the node @param type the ty
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentBuilder.java:46
↓ 4 callers
Method
withContinuation
Creates a continuation based {@link EventTask} from the given {@link Consumer}. The task isn't guaranteed to be executed asynchronously ({@link #requi
api/src/main/java/com/velocitypowered/api/event/EventTask.java:85
↓ 4 callers
Method
writeByteArray17
Writes an byte array for legacy version 1.7 to the specified {@code buf} @param b array @param buf buf @param allowExtended for
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:695
↓ 4 callers
Method
writeKey
Writes a standard Mojang Text namespaced:key to the buffer. @param buf the buffer to write to @param key the key to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:339
↓ 4 callers
Method
writePlayerKey
Writes a players {@link IdentifiedKey} to the buffer. @param buf the buffer @param playerKey the key to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:807
↓ 4 callers
Method
writeProperties
Writes a list of {@link com.velocitypowered.api.util.GameProfile.Property} to the buffer. @param buf the buffer to write to @param properties
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:608
↓ 3 callers
Method
account
Attempts to record the specified number of bytes within the current window. @param bytes the number of bytes to record @return true if the bytes are
proxy/src/main/java/com/velocitypowered/proxy/network/limiter/PacketLimiter.java:31
↓ 3 callers
Method
advance
Advances virtual time and runs all tasks that become due. @param duration the amount of time to advance
proxy/src/test/java/com/velocitypowered/proxy/scheduler/DeterministicSchedulerBackend.java:80
↓ 3 callers
Method
allowed
Allows the message to be sent, without modification. @return the allowed result
api/src/main/java/com/velocitypowered/api/event/player/PlayerChatEvent.java:110
↓ 3 callers
Method
asComponent
{@inheritDoc}
api/src/main/java/com/velocitypowered/api/command/VelocityBrigadierMessage.java:36
↓ 3 callers
Method
async
Creates a basic async {@link EventTask} from the given {@link Runnable}. The task is guaranteed to be executed asynchronously ({@link #requiresAsync()
api/src/main/java/com/velocitypowered/api/event/EventTask.java:60
↓ 3 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/Ratelimiter.java:33
↓ 3 callers
Method
check
(VelocityCompressor compressor, Supplier<ByteBuf> bufSupplier)
native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java:80
↓ 3 callers
Method
cleanup
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/LoginInboundConnection.java:129
↓ 3 callers
Method
clearPlayerListHeaderAndFooter
Clears the player list header and footer.
api/src/main/java/com/velocitypowered/api/proxy/Player.java:171
↓ 3 callers
Method
completedWithError
()
proxy/src/test/java/com/velocitypowered/proxy/event/EventTaskTest.java:133
↓ 3 callers
Method
connect
Initiates the connection to the remote server and emits a result on the {@link CompletableFuture} after the user has logged on. No messages will be co
api/src/main/java/com/velocitypowered/api/proxy/ConnectionRequestBuilder.java:34
↓ 3 callers
Method
createFunction
Creates a {@link PermissionFunction} for the subject. @param subject the subject @return the function
api/src/main/java/com/velocitypowered/api/permission/PermissionProvider.java:22
↓ 3 callers
Method
decode
(ByteBuf buf, ProtocolUtils.Direction direction, ProtocolVersion protocolVersion)
proxy/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java:29
↓ 3 callers
Method
deflate
(ByteBuf source, ByteBuf destination)
native/src/main/java/com/velocitypowered/natives/compression/VelocityCompressor.java:33
↓ 3 callers
Method
denied
()
api/src/main/java/com/velocitypowered/api/event/ResultedEvent.java:77
↓ 3 callers
Method
disconnectQuietly
Disconnects the connection from the server silently. @param reason the reason for disconnecting
proxy/src/main/java/com/velocitypowered/proxy/connection/client/InitialInboundConnection.java:126
↓ 3 callers
Method
equals
(final Object o)
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandMeta.java:155
↓ 3 callers
Method
equals
(T a, T b)
proxy/src/main/java/com/velocitypowered/proxy/util/collect/IdentityHashStrategy.java:42
↓ 3 callers
Method
forward
Allows the cookie to be forwarded to the client so that it can store it. @return the forward result
api/src/main/java/com/velocitypowered/api/event/player/CookieStoreEvent.java:117
↓ 3 callers
Method
fromInstance
Gets the plugin container from an instance. @param instance the instance @return the container
api/src/main/java/com/velocitypowered/api/plugin/PluginManager.java:27
↓ 3 callers
Method
fromJoinGame
(JoinGamePacket joinGame)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:68
↓ 3 callers
Method
generateOfflinePlayerUuid
Generates a UUID for use for offline mode. @param username the username to use @return the offline mode UUID
api/src/main/java/com/velocitypowered/api/util/UuidUtils.java:52
↓ 3 callers
Method
get
(final BossBar bar)
proxy/src/main/java/com/velocitypowered/proxy/adventure/VelocityBossBarImplementation.java:42
↓ 3 callers
Method
get
()
proxy/src/main/java/com/velocitypowered/proxy/network/ServerChannelInitializerHolder.java:38
↓ 3 callers
Method
getBase64Url
Returns the Base64-encoded URI for this image. @return a URL representing this favicon
api/src/main/java/com/velocitypowered/api/util/Favicon.java:46
↓ 3 callers
Method
getChannel
()
proxy/src/main/java/com/velocitypowered/proxy/network/Endpoint.java:37
↓ 3 callers
Method
getChatQueue
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:250
↓ 3 callers
Method
getChatSession
Returns the {@link ChatSession} associated with this entry. @return the chat session
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:26
↓ 3 callers
Method
getConnectionInFlightOrConnectedServer
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:682
↓ 3 callers
Method
getDimension
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:76
↓ 3 callers
Method
getDisplayName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:243
↓ 3 callers
Method
getDisplayNameComponent
Returns {@link Optional} text {@link net.kyori.adventure.text.Component}, which if present is the text displayed for {@code this} entry in the {@link
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:61
↓ 3 callers
Method
getFriendsOf
(final Class<?> eventType)
proxy/src/main/java/com/velocitypowered/proxy/event/EventTypeTracker.java:35
↓ 3 callers
Method
getId
Gets the id of this resource-pack. @return the id of the resource-pack
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:25
↓ 3 callers
Method
getId
()
api/src/ap/java/com/velocitypowered/api/plugin/ap/SerializedPluginDescription.java:67
↓ 3 callers
Method
getInitialPing
Fetches the "default" server ping for a player. @param connection the connection @return a future with the initial ping result
proxy/src/main/java/com/velocitypowered/proxy/connection/util/ServerListPingHandler.java:165
↓ 3 callers
Method
getIntent
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:74
↓ 3 callers
Method
getLatency
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:101
↓ 3 callers
Method
getLevelName
()
proxy/src/main/java/com/velocitypowered/proxy/connection/registry/DimensionInfo.java:62
↓ 3 callers
Method
getListOrder
Returns the order/priority of this entry in the tab list. @return order of this entry @sinceMinecraft 1.21.2
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:148
↓ 3 callers
Method
getLocale
Returns the locale of the Minecraft client. @return the client locale
api/src/main/java/com/velocitypowered/api/proxy/player/PlayerSettings.java:22
↓ 3 callers
Method
getMainClass
()
proxy/src/main/java/com/velocitypowered/proxy/plugin/loader/java/JavaVelocityPluginDescription.java:41
↓ 3 callers
Method
getName
()
api/src/main/java/com/velocitypowered/api/proxy/server/ServerInfo.java:35
← previous
next →
301–400 of 3,479, ranked by callers