Skip to content

1.20.6: Inconsistent Setting Behavior - "Format_From_Discord" and "Format_To_Discord" #3373

@TheIntolerant

Description

@TheIntolerant

Are you using MySQL?

Yes

Are you using a proxy?

Yes - Velocity

"/version ChatControlRed" - plugin version

11.6.2

Optional: Error log

No response

ZIP of "/chc debug"

No response

Steps to reproduce

  1. Install and setup DiscordSRV

  2. Enabled channels on ChatControl

  3. Config Discord_Channel_Id to one of your channels

  4. Set up a channel that uses discord, like this.

  List: 
    standard: 
      Format: chat
      Format_Spy: "@noprefix chat"
      Format_From_Discord: chat_from_discord
      Format_To_Discord: chat_to_discord
      Discord_Channel_Id: <put_channel_id_here>
  1. Create /plugins/ChatControl/formats/chat_from_discord.yml using this example.

  2. Create /plugins/ChatControl/formats/chat_to_discord.yml using this example.

  3. Type /chc reload

  4. Talk in-game then talk on discord


What I Expect to happen

"Format_To_Discord" - Should format all messages that are to be shown on discord

"Format_From_Discord" - Should format messages sent from discord that are to be shown on minecraft

If "Format_From_Discord" is not provided than it should use "Format" to control how Discord messages appear on Minecraft when sent from Discord

If "Format_To_Discord" is not provided than it should use the "Format_Discord" option in settings


What Is Actually Happening

"Format_To_Discord" - Only Formats messages on discord IF the message was sent from Minecraft

"Format_From_Discord" - Formats both messages shown on discord and on Minecraft IF the message was sent from Discord


Why Is this a Problem

It makes it hard to create a format file that allows me to easily control how messages should appear on Discord Vs Minecraft

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions