A248 / LibertyBans

The be-all, end-all of discipline.
https://ci.hahota.net:8443/job/LibertyBans/
GNU Affero General Public License v3.0
165 stars 40 forks source link

[Bug Report]: Fatal Error when writing in chat while muted #257

Closed xNiika closed 1 month ago

xNiika commented 6 months ago

LibertyBans Version

LibertyBans 1.1.0-RC2

I have confirmed that ...

Platform

Velocity

Description

If a user is sending a chat message while beeing muted it will produce an fatal error and kicks the player:

[16:36:45 FATAL]: A plugin tried to cancel a signed chat message. This is no longer possible in 1.19.1 and newer. Disconnecting player <playername>
[16:36:45 INFO]: [connected player] <playername> (/<ip-adress>) has disconnected: A proxy plugin caused an illegal protocol state. Contact your network administrator.
KoxSosen commented 6 months ago

Hello! Thank you for reporting. I think this issue is mainly caused by the new chat signing system, which frankly proxies do not implement just yet. I would recommend installing SignedVelocity to fix this issue temporary.

NixNux123 commented 5 months ago

Hello, i have the same issue. I tried SignedVelocity but after that the muted user could write. Does this happened only to me?

SrBedrock commented 5 months ago

Hello, i have the same issue. I tried SignedVelocity but after that the muted user could write. Does this happened only to me?

Nope, it happens to me too.

A248 commented 5 months ago

If you're using SignedVelocity and it allows muted players to chat, that relates to your backend server's chat plugins. There are two possibilities:

  1. You need to try using SignedVelocity-Legacy, a variant of SignedVelocity which accounts for legacy chat plugins.
  2. The chat plugin you're using is broken and it is not respecting the cancelation status of the chat event.
NixNux123 commented 5 months ago

Hey, thank you very much. For me I need to fix my Chatsystem to check if the message was cancelled.