kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

1.16.5: Towny integration appears to have broken #2286

Closed KarlOfDuty closed 3 years ago

KarlOfDuty commented 3 years ago

Minecraft Version: 1.16.5 MySQL: false BungeeCord: false Towny version: 0.97.0.0 CC version: 8.10.4

Whenever a chat channel is tied to a "town" or "nation" party all chat messages return an error stating: "There is no plot in this location. Your message could not be sent." image

Steps to reproduce:

Install towny on server.

Install chatcontrol pro on server.

Set chatcontrol channels.yml "Enabled" setting to true.

Add these channels to the channels.yml config:

  town:
    Format: Global_Chat
    Party: town
  nation:
    Format: Global_Chat
    Party: nation

Create a new town ingame using /t new test

Use /channel send town ingame.

Type anything.

kangarko commented 3 years ago

Thanks, however this is an odd wontfix issue with reserved channel names I believe, correct me if I am wrong but if it's only broken for these two channel names then I assume these are reserved and we can't fix it.

KarlOfDuty commented 3 years ago

If you mean that changing the channel name from town to something else then no, that doesn't seem to solve the issue. It seems to be broken for any channel that has either of these party tags.

KarlOfDuty commented 3 years ago

For instance the following also doesn't work:

  somechat:
    Format: Global_Chat
    Party: town
  hello:
    Format: Global_Chat
    Party: nation

The issue is exactly the same still.

kangarko commented 3 years ago

I will update the Towny hook in the next version.

KarlOfDuty commented 3 years ago

❤️