MCPcopy Create free account

hub / github.com/PaperMC/Velocity / functions

Functions3,479 in github.com/PaperMC/Velocity

↓ 2 callersMethodgetSignedPublicKey
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 callersMethodgetSuggestions
(CommandContext<CommandSource> context, SuggestionsBuilder builder)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/AvailableCommandsPacket.java:350
↓ 2 callersMethodgetTimeout
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 callersMethodgetType
()
proxy/src/main/java/com/velocitypowered/proxy/network/Endpoint.java:41
↓ 2 callersMethodgetType
()
api/src/main/java/com/velocitypowered/api/util/ModInfo.java:37
↓ 2 callersMethodgetUndashedId
Returns the undashed, Mojang-style UUID. @return the undashed UUID
api/src/main/java/com/velocitypowered/api/util/GameProfile.java:64
↓ 2 callersMethodgetUsername
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginPacket.java:55
↓ 2 callersMethodgetVendor
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:40
↓ 2 callersMethodgetVersion
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:44
↓ 2 callersMethodgreaterThan
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 callersMethodhandle
(AvailableCommandsPacket commands)
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java:135
↓ 2 callersMethodhandleOverflow
(MinecraftPacket packet, int expected, int actual)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java:111
↓ 2 callersMethodhasProperty
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 callersMethodhostname
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 callersMethodinit
(ProcessingEnvironment processingEnv)
api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java:43
↓ 2 callersMethodinit
(byte[] key, boolean encrypt)
native/src/main/java/com/velocitypowered/natives/encryption/OpenSslCipherImpl.java:24
↓ 2 callersMethodinvalidCancel
(Logger logger, ConnectedPlayer player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedChatHandler.java:51
↓ 2 callersMethodinvalidChange
(Logger logger, ConnectedPlayer player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedChatHandler.java:59
↓ 2 callersMethodisAssumeCommand
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteRequestPacket.java:53
↓ 2 callersMethodisBungeePluginChannelEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:418
↓ 2 callersMethodisClientListingAllowed
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 callersMethodisEnableReusePort
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:450
↓ 2 callersMethodisEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:1001
↓ 2 callersMethodisForwardCommandsIfRateLimited
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 callersMethodisIntermediate
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 callersMethodisOnlineModeKickExistingPlayers
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:623
↓ 2 callersMethodisOptional
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 callersMethodisOverwriteKick
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 callersMethodisProxyProtocol
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:390
↓ 2 callersMethodisShowHat
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 callersMethodlatency
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 callersMethodlistSuggestions
(CommandContext<S> context, SuggestionsBuilder builder)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ModArgumentProperty.java:54
↓ 2 callersMethodloadClass
(String name, boolean resolve)
proxy/src/main/java/com/velocitypowered/proxy/plugin/PluginClassLoader.java:62
↓ 2 callersMethodlogHandlerException
( final HandlerRegistration registration, final Throwable t)
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:702
↓ 2 callersMethodmaxPlayers
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 callersMethodmojangLoginSha1
(String str)
proxy/src/test/java/com/velocitypowered/proxy/util/EncryptionUtilsTest.java:38
↓ 2 callersMethodnormalizeInput
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 callersMethodoffset
(final int offset)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/LastSeenMessages.java:72
↓ 2 callersMethodonFinish
()
proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java:309
↓ 2 callersMethodonResourcePackResponse
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 callersMethodpacketClass
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ChatHandler.java:24
↓ 2 callersMethodparse
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 callersMethodparseRsaPublicKey
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 callersMethodplayers
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 callersMethodplugins
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 callersMethodprocessMessage0
(ByteBufDataInput in, ComponentSerializer<Component, ?, String> serializer)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:183
↓ 2 callersMethodprofile
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 callersMethodproxyHost
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 callersMethodproxyPort
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 callersMethodproxyVersion
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 callersMethodqueryBind
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 callersMethodread
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 callersMethodreadAlias
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 callersMethodreadArguments
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 callersMethodreadBoolean
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 callersMethodreadDouble
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:108
↓ 2 callersMethodreadExtendedForgeShort
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 callersMethodreadLegacyString
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingDecoder.java:90
↓ 2 callersMethodreadMessageSignature
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionPlayerChatPacket.java:97
↓ 2 callersMethodreadOptionalComponent
(ByteBuf buf, ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:102
↓ 2 callersMethodreadRawVarInt21
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 callersMethodreadShort
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:78
↓ 2 callersMethodregisterInternally
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 callersMethodregisterPlugin
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 callersMethodregistrableSuperInterface
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 callersMethodregistrant
()
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityBrigadierCommandWrapper.java:64
↓ 2 callersMethodreleaseQueue
(ChannelHandlerContext ctx, boolean active)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/PlayPacketQueueInboundHandler.java:105
↓ 2 callersMethodreleaseQueue
(ChannelHandlerContext ctx, boolean active)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/PlayPacketQueueOutboundHandler.java:87
↓ 2 callersMethodremove
(final UUID id)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:83
↓ 2 callersMethodremoveEntry
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 callersMethodresetConnectionPhase
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 callersMethodresetEventManager
()
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:51
↓ 2 callersMethodresume
()
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:624
↓ 2 callersMethodrewriteMinecraftBrand
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 callersMethodrunUntilIdle
Runs all tasks that are due "now" without advancing time.
proxy/src/test/java/com/velocitypowered/proxy/scheduler/DeterministicSchedulerBackend.java:71
↓ 2 callersMethodscheduleAtFixedRate
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 callersMethodsendPluginMessage
{@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 callersMethodsendResourcePackOffer
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 callersMethodsendResourcePackRequestPacket
(final @NotNull ResourcePackInfo queued)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:103
↓ 2 callersMethodsendServerPlayers
(final CommandSource target, final RegisteredServer server, final boolean fro
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/GlistCommand.java:135
↓ 2 callersMethodsendServerResponse
(ConnectedPlayer player, ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:331
↓ 2 callersMethodsendTotalProxyCount
(CommandSource target)
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/GlistCommand.java:123
↓ 2 callersMethodserializeFlags
(Set<BossBar.Flag> flags)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:264
↓ 2 callersMethodserializeObject
(Object toSerialize, boolean withExcludes)
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:251
↓ 2 callersMethodsetChatSession
(@Nullable RemoteChatSession chatSession)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:300
↓ 2 callersMethodsetClientBrand
(final @Nullable String clientBrand)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:1044
↓ 2 callersMethodsetClientSettings
Sets player settings. @param clientSettingsPacket the player settings packet
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:358
↓ 2 callersMethodsetColor
(int color)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:172
↓ 2 callersMethodsetCompressionThreshold
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 callersMethodsetConnectionPhase
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 callersMethodsetDimension
(int dimension)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:80
↓ 2 callersMethodsetDisplayName
(@Nullable ComponentHolder displayName)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:288
↓ 2 callersMethodsetDisplayName
(@Nullable Component displayName)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:247
↓ 2 callersMethodsetDisplayName
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 callersMethodsetDisplayNameInternal
(net.kyori.adventure.text.@Nullable Component displayName)
proxy/src/main/java/com/velocitypowered/proxy/tablist/KeyedVelocityTabListEntry.java:75
↓ 2 callersMethodsetFadeIn
(int fadeIn)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:71
↓ 2 callersMethodsetFadeOut
(int fadeOut)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:87
↓ 2 callersMethodsetFlags
(short flags)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:188
↓ 2 callersMethodsetGameMode
(int gameMode)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:284
↓ 2 callersMethodsetGameMode
(int gameMode)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:229
← previousnext →601–700 of 3,479, ranked by callers