Skip to content

Supporting all Towny Channels #217

Open

Description

@JustJP2K

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 :)

Activity

  1. BlitzOffline commented on Nov 15, 2023

    @BlitzOffline
    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!

  2. JustJP2K commented on Nov 15, 2023

    @JustJP2K
    Author

    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.

  3. BlitzOffline commented on Nov 15, 2023

    @BlitzOffline
    Member

    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.

  4. JustJP2K commented on Nov 15, 2023

    @JustJP2K
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions