SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.53k stars 1.09k forks source link

Spigot signed command arguments breaks Bungeecord commands #3495

Open Simonsator opened 11 months ago

Simonsator commented 11 months ago

Bungeecord version

git:BungeeCord-Bootstrap:1.20-R0.1-SNAPSHOT:2d6d89d:1721 by md_5

Server version

This server is running CraftBukkit version 3843-Spigot-b41c46d-4be756e (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)

Client version

1.20.1

Bungeecord plugins

A simple plugin which adds the command /msg to bungeecord

The bug

If a Bungeecord plugin adds a command with a name which is also used on the spigot server, which has signed command arguments (e.g. the second argument of /msg) and then the player types the command including the signed command arguments, then presses enter and then sends another normal message, then the player will be kicked with the message

disconnected with: Received chat packet with missing or invalid signature

Log output (links)

disconnected with: Received chat packet with missing or invalid signature.

Checking

Janmm14 commented 11 months ago

A workaround could be to deny permissions to /msg command on spigot.