HelpChat / ChatChat

ChatChat - Coming Soon
MIT License
51 stars 33 forks source link

Supporting all Towny Channels #217

Open JustJP2K opened 1 year ago

JustJP2K commented 1 year ago

Currently there are a few towny channels missing in chatchat, which in turn blocks DiscordSRV from working properly. It would be nice if those got added as well for complete functionality :)

BlitzOffline commented 1 year ago

Hello.

I am not completely sure I understand your request. From what I can tell, Towny has only 2 channel types: TOWN and NATION and we support both.

I am not very familiar with Towny so could you please provide some extra information like links to documentation or a more detailed explanation of your request?

Thank You!

JustJP2K commented 1 year ago

Here are all the towny channels: general, town, nation, alliance, admin, mod and local

https://github.com/TownyAdvanced/Towny/wiki/Default-Channels.yml

So since most channel types are not included in chatchat yet, it breaks townys chat function and intigration with DiscordSRV since for Towny to work with DiscordSRV it needs the general channel, which doesnt exist yet in Chatchat, as an example.

Same goes with other channels wont function when using Towny such as alliance chat, local chat etc.

BlitzOffline commented 1 year ago

OK. I've taken a look at our implementation for Towny support and here is what I found:

It seems like we don't directly support Towny channels. Instead, ChatChat just allows creations of new channels of type TOWNY_TOWN and TOWNY_NATION and then whenever a user sends a message in one of those ChatChat channels, it relays it to all other players in the specific town/nation.

I suppose one solution you might want to try is to disable Towny channels and let ChatChat handle it.

Also, a sidenote, from what I see, those channels you mentioned are just the default ones. You can create as many as you want in Towny.

JustJP2K commented 1 year ago

I already have Towny Channels disabled

It will still give me the error: [ChatChat] Couldn't find channel general