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

Add chat format for in-game messages sent via /me, /say, /tellraw, etc. commands #51

Closed
2 tasks done
axieum opened this issue Aug 7, 2022 · 0 comments · Fixed by #53 or #49
Closed
2 tasks done

Add chat format for in-game messages sent via /me, /say, /tellraw, etc. commands #51

axieum opened this issue Aug 7, 2022 · 0 comments · Fixed by #53 or #49
Labels
enhancement New feature or request minecord-chat Improvements or additions to the chat module

Comments

@axieum
Copy link
Owner

axieum commented Aug 7, 2022

Is your feature request related to a problem?

To be able to configure a chat format for in-game messages triggered by players using the /me <action>, /say <message> and /tellraw commands.

Describe the solution you'd like.

e.g.

{
  "entries": [
    {
      "discord": {
        /*
         * A player sent an in-game chat message via the '/me' command
         * Usages: ${username}, ${player}, ${action} and ${world}
         */
        "emote": "`${world}` **${player}** _${action}_",
        /*
         * An admin broadcast an in-game chat message via the '/say' command
         * Usages: ${username}, ${player} and ${message}
         */
        "say": "[**${player:-Server}**] ${message}",
        /*
         * An admin broadcast an in-game message to all players via the '/tellraw' command
         * Usages: ${message}
         */
        "tellraw": "${message}"
      }
    }
  ]
}

Describe alternatives you've considered.

n/a

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported mod version.

Other

No response

@axieum axieum added enhancement New feature or request minecord-chat Improvements or additions to the chat module labels Aug 7, 2022
axieum added a commit that referenced this issue Aug 11, 2022
…51) (#53)

fix(chat): correct `teleport` message placeholders in config
This was referenced Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minecord-chat Improvements or additions to the chat module
Projects
None yet
1 participant