BungeeCommand
open fun BungeeCommand(proxyMessage: BungeeCommand.BungeeMessage, playername: String, argument: String)
Content copied to clipboard
"Bungee" command. It's not a standard command, executed by the server, but sent as net.minecraft.network.protocol.game.ClientboundCustomPayloadPacket to player and caught by proxy.
See also
<a href="https://www.spigotmc.org/wiki/bukkit-bungee-plugin-messaging-channel/#wikiPage">Spigot thread</a> on message channels.
Spigot thread on message channels.
<a href="https://github.com/VelocityPowered/Velocity/blob/65db0fad6a221205ec001f1f68a032215da402d6/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java#L297">Proxy implementation</a> on GitHub.
Proxy implementation on GitHub.
Parameters
proxyMessage
proxy command to add, see BungeeMessage for supported commands.
playername
player to use when executing the command.
argument
argument for command above.
open fun BungeeCommand()
Content copied to clipboard