Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting all Towny Channels #217

Open
JustJP2K opened this issue Nov 15, 2023 · 4 comments
Open

Supporting all Towny Channels #217

JustJP2K opened this issue Nov 15, 2023 · 4 comments

Comments

@JustJP2K
Copy link

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
Copy link
Member

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
Copy link
Author

JustJP2K commented Nov 15, 2023

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
Copy link
Member

BlitzOffline commented Nov 15, 2023

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
Copy link
Author

I already have Towny Channels disabled

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants