MCPcopy Create free account

hub / github.com/PaperMC/Velocity / functions

Functions3,479 in github.com/PaperMC/Velocity

↓ 7 callersMethodgetName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:207
↓ 7 callersMethodgetPacketId
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 callersMethodgetPlayerInfoForwardingMode
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:307
↓ 7 callersMethodgetPlayersConnected
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 callersMethodgetPlugins
Gets a {@link Collection} of all {@link PluginContainer}s. @return the plugins
api/src/main/java/com/velocitypowered/api/plugin/PluginManager.java:42
↓ 7 callersMethodgetServers
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 callersMethodgetSignatureHolder
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 callersMethodhandleMethodListener
(final Object listener)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:68
↓ 7 callersMethodid
()
api/src/main/java/com/velocitypowered/api/network/HandshakeIntent.java:24
↓ 7 callersMethodisLogPlayerConnections
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:438
↓ 7 callersMethodsetAction
(int action)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:148
↓ 7 callersMethodsetTimestamp
(Instant timestamp)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:62
↓ 7 callersMethodsetUuid
(UUID uuid)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:140
↓ 7 callersMethodstart
()
proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java:239
↓ 7 callersMethodtestDescription
(String id, PluginDependency... dependencies)
proxy/src/test/java/com/velocitypowered/proxy/plugin/util/PluginDependencyUtilsTest.java:99
↓ 7 callersMethodtoString
()
api/src/main/java/com/velocitypowered/api/util/Favicon.java:67
↓ 7 callersMethodunregisterListeners
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 callersMethodwriteFloat
(float v)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:91
↓ 6 callersMethodasPlayer
(@Nullable Player player)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:72
↓ 6 callersMethodassertFiredEventValue
(int value)
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:87
↓ 6 callersMethodbuildTask
(Object plugin, Runnable runnable)
proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java:80
↓ 6 callersMethodcancel
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 callersMethodcloseWith
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 callersMethodconfigVersion
Gets the configuration version. @param config the configuration. @return configuration version
proxy/src/main/java/com/velocitypowered/proxy/config/migration/ConfigurationMigration.java:44
↓ 6 callersMethodcreateRawEntry
(VelocityTabListEntry entry)
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java:242
↓ 6 callersMethoddisconnect0
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 callersMethodemitActionRaw
(UpsertPlayerInfoPacket.Action action, UpsertPlayerInfoPacket.Entry entry)
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java:249
↓ 6 callersMethodensurePluginContainer
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 callersMethodequals
(final Object o)
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentCommandNode.java:116
↓ 6 callersMethodequals
(@Nullable Object o)
api/src/main/java/com/velocitypowered/api/util/Favicon.java:50
↓ 6 callersMethodforDisconnect
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 callersMethodgetCommand
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerCommandPacket.java:62
↓ 6 callersMethodgetDependencies
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 callersMethodgetDescriptionComponent
()
api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java:69
↓ 6 callersMethodgetDisplayNameComponent
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:78
↓ 6 callersMethodgetGameMode
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 callersMethodgetLatency
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 callersMethodgetLoadedVariant
()
native/src/main/java/com/velocitypowered/natives/util/NativeCodeLoader.java:54
↓ 6 callersMethodgetOffers
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:64
↓ 6 callersMethodgetProperties
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginSuccessPacket.java:64
↓ 6 callersMethodgetProtocolRegistry
(final ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:931
↓ 6 callersMethodgetStart
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:48
↓ 6 callersMethodgetStatus
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 callersMethodgetText
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:171
↓ 6 callersMethodhandleConnectionException
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 callersMethodisAllowedCharacter
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 callersMethodofferSuggestions
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 callersMethodplugin
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 callersMethodprocess
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 callersMethodrequiredArgumentBuilder
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 callersMethodsetHash
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 callersMethodsetServerAddress
(String serverAddress)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:53
↓ 6 callersMethodskipBytes
(int n)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:57
↓ 6 callersMethodtoByteArray
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:41
↓ 6 callersMethodtoTicks
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 callersMethodwriteBinaryTag
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 callersMethodwriteUpdate
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 callersMethodaddCustomChart
Adds a custom chart. @param chart The chart to add.
proxy/src/main/java/com/velocitypowered/proxy/Metrics.java:91
↓ 5 callersMethodaddress
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TransferPacket.java:40
↓ 5 callersMethodattempt
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 callersMethodcomposeTests
(String name, TestFunction testFunction)
proxy/src/test/java/com/velocitypowered/proxy/event/RegistrationTest.java:95
↓ 5 callersMethodcreate
(Component component, ProtocolVersion version, StateRegistry state)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/DisconnectPacket.java:79
↓ 5 callersMethodgenerateRandomString
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 callersMethodgetAction
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:144
↓ 5 callersMethodgetActiveSessionHandler
()
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:465
↓ 5 callersMethodgetAliases
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 callersMethodgetAllPlayers
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 callersMethodgetAttemptConnectionOrder
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 callersMethodgetForcedHosts
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 callersMethodgetFromId
(String id)
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java:107
↓ 5 callersMethodgetGameMode
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:119
↓ 5 callersMethodgetGameProfile
Returns the player's game profile.
api/src/main/java/com/velocitypowered/api/proxy/Player.java:156
↓ 5 callersMethodgetLatency
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:234
↓ 5 callersMethodgetName
()
api/src/main/java/com/velocitypowered/api/util/ProxyVersion.java:36
↓ 5 callersMethodgetOriginalData
()
api/src/main/java/com/velocitypowered/api/event/player/CookieStoreEvent.java:63
↓ 5 callersMethodgetPayload
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ClientboundStoreCookiePacket.java:37
↓ 5 callersMethodgetProfile
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:73
↓ 5 callersMethodgetRegistryIdentifier
()
proxy/src/main/java/com/velocitypowered/proxy/connection/registry/DimensionInfo.java:66
↓ 5 callersMethodgetServerAddress
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:49
↓ 5 callersMethodgetSigner
Returns the key used to sign the object. @return the key
api/src/main/java/com/velocitypowered/api/proxy/crypto/KeySigned.java:25
↓ 5 callersMethodgetVersion
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 callersMethodisMcBrand
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 callersMethodisUnsigned
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerChatPacket.java:64
↓ 5 callersMethodlookupClosest
(final Locale locale)
proxy/src/main/java/com/velocitypowered/proxy/util/ClosestLocaleMatcher.java:58
↓ 5 callersMethodparseAddress
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 callersMethodqueueResourcePack
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 callersMethodread
(ProtocolVersion version, ByteBuf buf, Entry info)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:207
↓ 5 callersMethodreadKey
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 callersMethodregister
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 callersMethodresumeWhenComplete
(final CompletableFuture<?> future)
api/src/main/java/com/velocitypowered/api/event/EventTask.java:111
↓ 5 callersMethodrunCommand
(VelocityServer server, ConnectedPlayer player, String command, Function<Boolean, MinecraftPacket>
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/CommandHandler.java:50
↓ 5 callersMethodsendPlayerListHeaderAndFooter
(final @NotNull Component header, final @NotNull Component footer)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:493
↓ 5 callersMethodsetAction
(ActionType action)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/TitleClearPacket.java:31
↓ 5 callersMethodsetComponent
(ComponentHolder component)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:63
↓ 5 callersMethodsetId
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 callersMethodsetPrompt
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 callersMethodsetShouldForce
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 callersMethodvalidateChat
(String message)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java:168
↓ 5 callersMethodwriteString
(ByteBuf buf, String string)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GameSpyQueryHandler.java:199
↓ 4 callersMethodclearAppliedResourcePacks
Clears the applied resource pack field.
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ResourcePackHandler.java:81
← previousnext →201–300 of 3,479, ranked by callers