kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
43 stars 22 forks source link

1.0.9: Issues with Dual Proxy Setups #2744

Closed JerichoTorrent closed 7 hours ago

JerichoTorrent commented 2 days ago

Error log (if applicable)

No response

"/chc debug" output (strongly recommended)

No response

Information about the issue/bug

Context:

  1. Dual proxy setup.

    • External server accessible with torrentsmp.com
    • Haproxy protocol enabled server using Minehut's API
      1. VelocityControl 1.0.9 and RedisBungee-Proxy-Velocity-0.13.0-SNAPSHOT-all on both servers

    So, cross-network chat, PMs sent over Velocity, etc. all seem to be working as expected EXCEPT for players on the 2nd proxy (Minehut.) For those players, PMs are not sending over Velocity. Strangely, you can't join the global channel in write mode (see image)

Screenshot 2024-07-04 232120 However, cross-server spy, reading global chat, and sending PMs works, but when a player tries to reply they get "player is not online". Which is quite strange to me because I would think if you can't write in global chat you shouldn't be able to read it either, nor send PMs across Velocity.

Tl;dr cross-server chat works but seems to not be compatible with a server that uses Minehut's API. Any ideas?

JerichoTorrent commented 2 days ago

OH also I should mention. With Redis integration enabled, chats were sending twice (duplicated.) So I had to turn the intergration off. Is there a way to turn this back on without duplicating chats?

kangarko commented 2 days ago

Sorry, I'd need more time to debug. Assuming you are on the latest version of velocitycontrol. The minehut issue is probably a hard incompatibility I am afraid.

Please try this build to see if it solves the duplicated chat : ChatControl-Red-10.27.6.zip

JerichoTorrent commented 7 hours ago

Looks like that fixed the duplicate chats :D thank you!