MCPcopy Create free account

hub / github.com/PaperMC/Velocity / functions

Functions3,479 in github.com/PaperMC/Velocity

↓ 16 callersMethodgetProtocolRegistry
(Direction direction, ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:887
↓ 16 callersMethodreadByteArray
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:386
↓ 16 callersMethodreplace
(ByteBuf content)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/PluginMessagePacket.java:150
↓ 16 callersMethodunregister
Unregisters a specific event handler for a specific plugin. @param plugin the plugin to associate with the handler @param handler the handler to regi
api/src/main/java/com/velocitypowered/api/event/EventManager.java:112
↓ 15 callersMethoddeserialize
(ByteBuf buf, ProtocolVersion protocolVersion)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ArgumentPropertySerializer.java:26
↓ 15 callersMethodgetPort
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:57
↓ 15 callersMethodhasCommand
Returns whether the given alias is registered on this manager. @param alias the command alias to check @return true if the alias is registered; false
api/src/main/java/com/velocitypowered/api/command/CommandManager.java:156
↓ 15 callersMethodsetAutoReading
Determines whether or not the channel should continue reading data automatically. @param autoReading whether or not we should read data automatically
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:350
↓ 15 callersMethodshutdown
Shuts down the backend.
proxy/src/main/java/com/velocitypowered/proxy/scheduler/SchedulerBackend.java:55
↓ 15 callersMethodtranslateMessage
Translates the message in the user's locale, falling back to the default locale if not set. @param message the message to translate @return the trans
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:415
↓ 15 callersMethodwriteByteArray
(ByteBuf buf, byte[] array)
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:410
↓ 14 callersMethodcopyAndLoadNative
(String path)
native/src/main/java/com/velocitypowered/natives/util/Natives.java:43
↓ 14 callersMethodequals
(@Nullable final Object o)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ClientSettingsPacket.java:219
↓ 14 callersMethodgetConnection
()
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java:206
↓ 14 callersMethodgetInstance
Returns the created plugin if it is available. @return the instance if available
api/src/main/java/com/velocitypowered/api/plugin/PluginContainer.java:30
↓ 14 callersMethodgetRemoteAddress
Returns the player's IP address. @return the player's IP
api/src/main/java/com/velocitypowered/api/proxy/InboundConnection.java:26
↓ 14 callersMethodparse
(StringReader reader)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ModArgumentProperty.java:49
↓ 13 callersMethodcleanVhost
Cleans the specified virtual host hostname. @param hostname the host name to clean @return the cleaned hostname
proxy/src/main/java/com/velocitypowered/proxy/connection/client/HandshakeSessionHandler.java:191
↓ 13 callersMethodformat
(final LogEvent event, final StringBuilder toAppendTo)
proxy/src/main/java/com/velocitypowered/proxy/util/StripAnsiConverter.java:50
↓ 13 callersMethodgetChatBuilderFactory
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:246
↓ 13 callersMethodgetConnectionInFlight
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:678
↓ 13 callersMethodreadUnsignedByte
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:73
↓ 13 callersMethodremove
Removes the specified boss bar from the player to ensure it is not re-sent.
proxy/src/main/java/com/velocitypowered/proxy/connection/player/bossbar/BossBarManager.java:55
↓ 13 callersMethodtransformLegacyToModernChannel
Transform a plugin message channel from a "legacy" (less than 1.13) form to a modern one. @param name the existing name @return the new name
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/PluginMessageUtil.java:224
↓ 12 callersMethodcreate
(int level)
native/src/main/java/com/velocitypowered/natives/compression/VelocityCompressorFactory.java:25
↓ 12 callersMethodflush
Flushes the connection.
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:262
↓ 12 callersMethodfrom
Creates an channel identifier from the specified Minecraft identifier. @param identifier the Minecraft identifier @return a new channel identifier
api/src/main/java/com/velocitypowered/api/proxy/messages/MinecraftChannelIdentifier.java:65
↓ 12 callersMethodgetBind
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:260
↓ 12 callersMethodgetCommandMeta
Retrieves the {@link CommandMeta} from the specified command alias, if registered. @param alias the command alias to lookup @return an {@link Command
api/src/main/java/com/velocitypowered/api/command/CommandManager.java:98
↓ 12 callersMethodgetCurrentServer
Returns the server that the player is currently connected to. @return an {@link Optional} the server that the player is connected to, which may be em
api/src/main/java/com/velocitypowered/api/proxy/Player.java:92
↓ 12 callersMethodkey
()
api/src/main/java/com/velocitypowered/api/proxy/Player.java:329
↓ 12 callersMethodliteralArgumentBuilder
Creates a new LiteralArgumentBuilder of the required name. @param name the literal name. @return a new LiteralArgumentBuilder.
api/src/main/java/com/velocitypowered/api/command/BrigadierCommand.java:65
↓ 12 callersMethodregister
(ArgumentIdentifier identifier, Class<T> klazz, ArgumentPropertySerializer<T> serializer)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ArgumentPropertyRegistry.java:67
↓ 12 callersMethodresourcePackHandler
Get the ResourcePackHandler corresponding to the player's version. @return the ResourcePackHandler of this player
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:1225
↓ 11 callersMethodaccept
(A a, B b, C c)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:384
↓ 11 callersMethodcreatePacket
Attempts to create a packet from the specified {@code id}. @param id the packet ID @return the packet instance, or {@code null} if the ID is not regi
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:1029
↓ 11 callersMethodgetCommandManager
Gets the {@link CommandManager} instance. @return the command manager
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:173
↓ 11 callersMethodgetData
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ModArgumentProperty.java:45
↓ 11 callersMethodgetPermissionValue
Gets the subjects setting for a particular permission. @param permission the permission @return the value the permission is set to
api/src/main/java/com/velocitypowered/api/permission/PermissionSubject.java:33
↓ 11 callersMethodgetResponse
Returns the current query response. @return the current query response
api/src/main/java/com/velocitypowered/api/event/query/ProxyQueryEvent.java:62
↓ 11 callersMethodgetString
Returns the message as a plain text. @return message as plain text
api/src/main/java/com/velocitypowered/api/command/VelocityBrigadierMessage.java:47
↓ 11 callersMethodmessage
(String message)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:52
↓ 11 callersMethodnoGreaterThan
Checks if {@code this} is less than or equal to {@code that}. @param that the other object @return {@code true} if {@code this} is less than or e
api/src/main/java/com/velocitypowered/api/util/Ordered.java:79
↓ 11 callersMethodregister
(Class<P> clazz, Supplier<P> packetSupplier, PacketMapping... ma
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:942
↓ 11 callersMethodsource
Returns the source to execute the command for. @return the command source
api/src/main/java/com/velocitypowered/api/command/CommandInvocation.java:22
↓ 11 callersMethodstatus
Returns the current status of this task. @return the current status of this task
api/src/main/java/com/velocitypowered/api/scheduler/ScheduledTask.java:29
↓ 11 callersMethodtoString
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:192
↓ 10 callersMethodassertSyncThread
(final Thread thread)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:56
↓ 10 callersMethodconstructTitlePacket
Creates a version and type dependent TitlePacket. @param type Action the packet should invoke @param version Protocol version of the target player
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:105
↓ 10 callersMethodgetInjector
()
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java:379
↓ 10 callersMethodgetJsonChatSerializer
Returns the appropriate {@link GsonComponentSerializer} for the given protocol version. This is used to constrain messages sent to older clients. @pa
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:788
↓ 10 callersMethodgetRoot
()
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java:374
↓ 10 callersMethodinject
Adds the node from the root node of this injector to the given root node, respecting the requirements satisfied by the given source. <p>Prior to addi
proxy/src/main/java/com/velocitypowered/proxy/command/CommandGraphInjector.java:68
↓ 10 callersMethodsendResponseOnConnection
(ByteBuf buf)
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java:326
↓ 10 callersMethodsetState
Sets the new state for the connection. @param state the state to use
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:371
↓ 10 callersFunctionthrowException
native/src/main/c/jni_util.c:4
↓ 10 callersMethodtoUndashed
Converts from a Java {@link UUID} object into an undashed Mojang-style UUID. @param uuid the UUID to convert @return the undashed UUID
api/src/main/java/com/velocitypowered/api/util/UuidUtils.java:41
↓ 10 callersMethodwrite
(String key, Object value)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GameSpyQueryHandler.java:232
↓ 9 callersMethodaliases
Specifies additional aliases that can be used to execute the command. @param aliases the command aliases @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/command/CommandMeta.java:55
↓ 9 callersMethodassertForwarded
(final String input)
proxy/src/test/java/com/velocitypowered/proxy/command/CommandTestSuite.java:59
↓ 9 callersMethodcopy
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/PluginMessagePacket.java:135
↓ 9 callersMethodcreateConnectionRequest
Creates a new connection request so that the player can connect to another server. @param server the server to connect to @return a new connection re
api/src/main/java/com/velocitypowered/api/proxy/Player.java:135
↓ 9 callersMethodencode
(ByteBuf buf, ProtocolUtils.Direction direction, ProtocolVersion protocolVersion)
proxy/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java:31
↓ 9 callersMethodensureInEventLoop
()
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:222
↓ 9 callersMethodget
()
native/src/main/java/com/velocitypowered/natives/util/NativeCodeLoader.java:38
↓ 9 callersMethodgetAction
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:55
↓ 9 callersMethodgetAllServers
Retrieves all {@link RegisteredServer}s registered with this proxy. @return the servers registered with this proxy
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:103
↓ 9 callersMethodgetAuthors
Gets the authors of the {@link Plugin} within this container. @return the plugin authors, may be empty @see Plugin#authors()
api/src/main/java/com/velocitypowered/api/plugin/PluginDescription.java:85
↓ 9 callersMethodgetIdentifier
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/ArgumentIdentifier.java:68
↓ 9 callersMethodgetKeyRevision
Retrieves the key revision. @return the key revision
api/src/main/java/com/velocitypowered/api/proxy/crypto/IdentifiedKey.java:56
↓ 9 callersMethodgetOriginalKey
()
api/src/main/java/com/velocitypowered/api/event/player/CookieStoreEvent.java:59
↓ 9 callersMethodgetProtocolVersion
()
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:437
↓ 9 callersMethodgetTabList
Returns the player's tab list. @return this player's tab list
api/src/main/java/com/velocitypowered/api/proxy/Player.java:192
↓ 9 callersMethodgetVirtualHost
Returns the hostname that the user entered into the client, if applicable. <br/> This is partially processed, including removing a trailing dot, and d
api/src/main/java/com/velocitypowered/api/proxy/InboundConnection.java:35
↓ 9 callersMethodread
(ByteBuf buf, ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ComponentHolder.java:283
↓ 9 callersMethodschedule
Schedules a task to run once after the given delay. @param task the task to run @param delay the delay @param unit the delay unit @return a future re
proxy/src/main/java/com/velocitypowered/proxy/scheduler/SchedulerBackend.java:39
↓ 8 callersMethodconsideredComplete
Indicates whether the connection is considered complete. @return true if so
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientConnectionPhase.java:67
↓ 8 callersMethodcontainsIllegalCharacters
It is not possible to send certain characters in the chat like: section symbol, DEL, and all characters below space. Checks if a message contains ille
proxy/src/main/java/com/velocitypowered/proxy/util/CharacterUtil.java:44
↓ 8 callersMethodcreate
Creates an identifier in the specified namespace. @param namespace the namespace to use @param name the channel name inside the specified namespace @
api/src/main/java/com/velocitypowered/api/proxy/messages/MinecraftChannelIdentifier.java:49
↓ 8 callersMethodfromUndashed
Converts from an undashed Mojang-style UUID into a Java {@link UUID} object. @param string the string to convert @return the UUID object
api/src/main/java/com/velocitypowered/api/util/UuidUtils.java:30
↓ 8 callersMethodgetChannel
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/PluginMessagePacket.java:49
↓ 8 callersMethodgetComponent
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ComponentHolder.java:78
↓ 8 callersMethodgetExecutorService
Returns an executor service for this plugin. The executor will use a cached thread pool. @return an {@link ExecutorService} associated with this plug
api/src/main/java/com/velocitypowered/api/plugin/PluginContainer.java:40
↓ 8 callersMethodgetSignature
Retrieves the signature of the signed object. @return an RSA signature
api/src/main/java/com/velocitypowered/api/proxy/crypto/KeySigned.java:52
↓ 8 callersMethodgetType
Gets the detected {@link ConnectionType}. @return The {@link ConnectionType}
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:626
↓ 8 callersMethodgetUrl
Gets the url or website of the {@link Plugin} within this container. @return an {@link Optional} with the plugin url, may be empty @see Plugin#url()
api/src/main/java/com/velocitypowered/api/plugin/PluginDescription.java:75
↓ 8 callersMethodisSuccess
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LoginPluginResponsePacket.java:53
↓ 8 callersMethodresume
()
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:358
↓ 8 callersMethodrun
Calls {@code runnable.run()} exactly once if this instance is being called for the first time, otherwise the invocation shall wait until {@code runnab
proxy/src/main/java/com/velocitypowered/proxy/util/concurrent/Once.java:42
↓ 8 callersMethodsortCandidates
Attempts to topographically sort all plugins for the proxy to load in dependency order using a depth-first search. @param candidates the plugins to s
proxy/src/main/java/com/velocitypowered/proxy/plugin/util/PluginDependencyUtils.java:52
↓ 8 callersMethodtoString
()
proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java:994
↓ 8 callersMethodupdate
(ChatState chatState, MinecraftConnection smc)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ChatQueue.java:130
↓ 8 callersMethodwriteShort
(int v)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:71
↓ 7 callersMethodaddChild
(final CommandNode<S> node)
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityArgumentCommandNode.java:111
↓ 7 callersMethodassertAsyncThread
(final Thread thread)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:60
↓ 7 callersMethodassertRegisteredAliases
(final String... expected)
proxy/src/test/java/com/velocitypowered/proxy/command/CommandTestSuite.java:75
↓ 7 callersMethodcomponent
(Component component)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:47
↓ 7 callersMethodexecuteAsync
(E event)
api/src/main/java/com/velocitypowered/api/event/EventHandler.java:22
↓ 7 callersMethodfrom
Converts a {@link TextComponent} into a legacy disconnect packet. @param component the component to convert @return the disconnect packet
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyDisconnect.java:87
↓ 7 callersMethodgetChannelRegistrar
Gets the {@link ChannelRegistrar} instance. @return the channel registrar
api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java:187
← previousnext →101–200 of 3,479, ranked by callers