MCPcopy Create free account

hub / github.com/PaperMC/Velocity / functions

Functions3,479 in github.com/PaperMC/Velocity

↓ 4 callersMethodconfigure
()
proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java:154
↓ 4 callersMethodconstructChannelsPacket
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 callersMethodcreate
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 callersMethodcreateBuilder
()
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentCommandNode.java:91
↓ 4 callersMethodcreateWithMilliseconds
(long ms)
proxy/src/main/java/com/velocitypowered/proxy/util/ratelimit/Ratelimiters.java:31
↓ 4 callersMethoddelay
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 callersMethodensureAndGetCurrentServer
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 callersMethodensureCompatible
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 callersMethodequals
(Object o)
api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java:93
↓ 4 callersMethodgetChatSession
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:63
↓ 4 callersMethodgetClientSettingsPacket
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:343
↓ 4 callersMethodgetDisplayName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:254
↓ 4 callersMethodgetExpiry
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/keyed/KeyedPlayerChatPacket.java:60
↓ 4 callersMethodgetFlags
(boolean hasMinimum, boolean hasMaximum)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/IntegerArgumentPropertySerializer.java:58
↓ 4 callersMethodgetLegacyChannelIds
Returns all legacy channel IDs. @return all legacy channel IDs
proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java:82
↓ 4 callersMethodgetListOrder
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:159
↓ 4 callersMethodgetMessageComponent
()
api/src/main/java/com/velocitypowered/api/event/player/KickedFromServerEvent.java:233
↓ 4 callersMethodgetModernChannelIds
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 callersMethodgetNode
Returns the literal node for this command. @return the command node
api/src/main/java/com/velocitypowered/api/command/BrigadierCommand.java:55
↓ 4 callersMethodgetPackInfo
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 callersMethodgetPing
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 callersMethodgetPlayerCount
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 callersMethodgetPluginManager
Gets the {@link PluginManager} instance. @return the plugin manager instance
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:159
↓ 4 callersMethodgetPrompt
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 callersMethodgetProtocol
Returns the protocol as an int. @return the protocol version
api/src/main/java/com/velocitypowered/api/network/ProtocolVersion.java:180
↓ 4 callersMethodgetQueryPort
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 callersMethodgetReadTimeout
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 callersMethodgetReason
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/DisconnectPacket.java:45
↓ 4 callersMethodgetReasonComponent
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 callersMethodgetShouldForce
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 callersMethodgetType
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/SystemChatPacket.java:39
↓ 4 callersMethodgetUuid
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:133
↓ 4 callersMethodgetVersion
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ArgumentIdentifier.java:101
↓ 4 callersMethodisBungeeCordMessage
(PluginMessagePacket message)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:71
↓ 4 callersMethodisForwardToServer
()
api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java:198
↓ 4 callersMethodisOnlineMode
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 callersMethodisPlayerAddressLoggingEnabled
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:414
↓ 4 callersMethodisShowHat
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:179
↓ 4 callersMethodisSigned
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionPlayerChatPacket.java:52
↓ 4 callersMethodlogger
( final @NotNull LoggerHelper helper, final @NotNull String name )
proxy/src/main/java/com/velocitypowered/proxy/adventure/ComponentLoggerProviderImpl.java:38
↓ 4 callersMethodmap
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 callersMethodmerge
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 callersMethodnewList
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 callersMethodreadByteArray17
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 callersMethodreadFloat
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:103
↓ 4 callersMethodrepeat
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 callersMethodrun
(final CommandContext<CommandSource> context)
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/CallbackCommand.java:45
↓ 4 callersMethodsetAnnounceProxyCommands
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 callersMethodsetType
Sets the detected {@link ConnectionType}. @param connectionType The {@link ConnectionType}
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:635
↓ 4 callersMethodteardown
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:956
↓ 4 callersMethodupdateTimeKeeper
(@Nullable Instant instant)
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java:156
↓ 4 callersMethodvelocityArgument
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 callersMethodwithContinuation
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 callersMethodwriteByteArray17
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 callersMethodwriteKey
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 callersMethodwritePlayerKey
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 callersMethodwriteProperties
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 callersMethodaccount
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 callersMethodadvance
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 callersMethodallowed
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 callersMethodasComponent
{@inheritDoc}
api/src/main/java/com/velocitypowered/api/command/VelocityBrigadierMessage.java:36
↓ 3 callersMethodasync
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 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/Ratelimiter.java:33
↓ 3 callersMethodcheck
(VelocityCompressor compressor, Supplier<ByteBuf> bufSupplier)
native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java:80
↓ 3 callersMethodcleanup
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/LoginInboundConnection.java:129
↓ 3 callersMethodclearPlayerListHeaderAndFooter
Clears the player list header and footer.
api/src/main/java/com/velocitypowered/api/proxy/Player.java:171
↓ 3 callersMethodcompletedWithError
()
proxy/src/test/java/com/velocitypowered/proxy/event/EventTaskTest.java:133
↓ 3 callersMethodconnect
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 callersMethodcreateFunction
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 callersMethoddecode
(ByteBuf buf, ProtocolUtils.Direction direction, ProtocolVersion protocolVersion)
proxy/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java:29
↓ 3 callersMethoddeflate
(ByteBuf source, ByteBuf destination)
native/src/main/java/com/velocitypowered/natives/compression/VelocityCompressor.java:33
↓ 3 callersMethoddenied
()
api/src/main/java/com/velocitypowered/api/event/ResultedEvent.java:77
↓ 3 callersMethoddisconnectQuietly
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 callersMethodequals
(final Object o)
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandMeta.java:155
↓ 3 callersMethodequals
(T a, T b)
proxy/src/main/java/com/velocitypowered/proxy/util/collect/IdentityHashStrategy.java:42
↓ 3 callersMethodforward
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 callersMethodfromInstance
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 callersMethodfromJoinGame
(JoinGamePacket joinGame)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:68
↓ 3 callersMethodgenerateOfflinePlayerUuid
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 callersMethodget
(final BossBar bar)
proxy/src/main/java/com/velocitypowered/proxy/adventure/VelocityBossBarImplementation.java:42
↓ 3 callersMethodget
()
proxy/src/main/java/com/velocitypowered/proxy/network/ServerChannelInitializerHolder.java:38
↓ 3 callersMethodgetBase64Url
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 callersMethodgetChannel
()
proxy/src/main/java/com/velocitypowered/proxy/network/Endpoint.java:37
↓ 3 callersMethodgetChatQueue
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:250
↓ 3 callersMethodgetChatSession
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 callersMethodgetConnectionInFlightOrConnectedServer
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:682
↓ 3 callersMethodgetDimension
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/RespawnPacket.java:76
↓ 3 callersMethodgetDisplayName
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:243
↓ 3 callersMethodgetDisplayNameComponent
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 callersMethodgetFriendsOf
(final Class<?> eventType)
proxy/src/main/java/com/velocitypowered/proxy/event/EventTypeTracker.java:35
↓ 3 callersMethodgetId
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 callersMethodgetId
()
api/src/ap/java/com/velocitypowered/api/plugin/ap/SerializedPluginDescription.java:67
↓ 3 callersMethodgetInitialPing
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 callersMethodgetIntent
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:74
↓ 3 callersMethodgetLatency
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListEntry.java:101
↓ 3 callersMethodgetLevelName
()
proxy/src/main/java/com/velocitypowered/proxy/connection/registry/DimensionInfo.java:62
↓ 3 callersMethodgetListOrder
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 callersMethodgetLocale
Returns the locale of the Minecraft client. @return the client locale
api/src/main/java/com/velocitypowered/api/proxy/player/PlayerSettings.java:22
↓ 3 callersMethodgetMainClass
()
proxy/src/main/java/com/velocitypowered/proxy/plugin/loader/java/JavaVelocityPluginDescription.java:41
↓ 3 callersMethodgetName
()
api/src/main/java/com/velocitypowered/api/proxy/server/ServerInfo.java:35
← previousnext →301–400 of 3,479, ranked by callers