Towny Classic

Towny Classic

3.2k Downloads

TownyChat with DiscordSRV

aerune opened this issue · 13 comments

commented

What steps will reproduce the problem?

  1. Download newest versions of TownyChat and DiscordSRV
  2. Setup newest versions of TownyChat and DiscordSRV
  3. Try and send messages in chat, they don't send to and from Discord except for join, leave, achievement, etc. messages

What is the expected output?

Discord messages going to and from Minecraft like before I used TownyChat.

Towny version

0.101.1.0

Server version

Paper version git-Paper-196 (MC: 1.20.1) (Imp

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: latest.log
  2. Your Towny config.yml: townyconfig.txt
  3. Your townyperms.yml: townyperms.txt
  4. Your log's error: None
  5. Your permissions file: What permissions file? (Yes I'm stupid)
  6. Your chatconfig.yml: ChatConfig.txt
  7. Your channels.yml: townyChannels.txt

All .txt files are actually .yml but GitHub wouldn't allow .yml so I converted to .txt

commented

DiscordSrv FAQ

  1. To get DiscordSrv to use TownyChat's general channel, open your discordsrv config.yml and find the Channels line and change the word global to general.

  2. If you're trying to remove the doubled up [[g]] messages, this is done in the discordsrv messages.yml at the ChatChannelHookMessageFormat line. The 2nd set of []'s is added there.

commented

Ok thanks.

commented

DiscordSrv FAQ

  1. To get DiscordSrv to use TownyChat's general channel, open your discordsrv config.yml and find the Channels line and change the word global to general.
  2. If you're trying to remove the doubled up [[g]] messages, this is done in the discordsrv messages.yml at the ChatChannelHookMessageFormat line. The 2nd set of []'s is added there.

Wait what if I don't want the [g] at all?

commented
commented

Then open your chatconfig and remove the {channel tag} from the global
channel_format

It's already gone from the Towny chatconfig.yml, but still not doing anything.

commented

Then its not TownyChat adding it.

commented

Then its not TownyChat adding it.

It wasn't there before I added TownyChat.

commented
commented

Image

commented
commented

How do I change it?

commented
commented

I don't know anything beyond what I said in my first reply

Okay, I'll try and figure it out thanks for your help