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

[Enhancement] Add support for /tellraw (and /me) messages #132

Closed
2 tasks done
LessThanBenji opened this issue Apr 20, 2023 · 8 comments
Closed
2 tasks done

[Enhancement] Add support for /tellraw (and /me) messages #132

LessThanBenji opened this issue Apr 20, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@LessThanBenji
Copy link

Checks

Description

Hi, I'm using some datapacks that use the /tellraw command to broadcast messages to all players, but they aren't logged in the server console or being sent by the MCDiscordChat bot. Is it possible for the bot to pick up and send these tellraw messages?

@LessThanBenji LessThanBenji added the enhancement New feature or request label Apr 20, 2023
@Xujiayao
Copy link
Owner

Any screenshot of those tellraw messages?

@LessThanBenji
Copy link
Author

LessThanBenji commented Apr 29, 2023

Screenshot 2023-04-29 180949
Screenshot 2023-04-21 103459 2
I've added two screenshots here, the first shows the tellraw @\a command line inside the datapack, the second shows the tellraw @\a command printed in the chat in-game. The message appears in all players chats, but it does not appear in the server console, log, nor does it get picked up by MCDiscordChat.

Hope this helps! :)

@Xujiayao
Copy link
Owner

Xujiayao commented May 8, 2023

Noted 👍

@Xujiayao Xujiayao added the good first issue Good for newcomers label Jun 20, 2023
@Xujiayao
Copy link
Owner

Hi, could you provide the name of the datapack so I can test it?

@LessThanBenji
Copy link
Author

I wrote the datapack myself, it's unpublished. Just run any /tellraw command (from a datapack or from the server command line) and you'll be able to reproduce the issue. The tellraw message will print to the in-game server chat, but not to Discord.

@Xujiayao Xujiayao added the help wanted Extra attention is needed label Aug 23, 2023
@Xujiayao
Copy link
Owner

Xujiayao commented Oct 27, 2023

Have you remembered to check that "/tellraw" is not excluded in the config?
image

Not because of this. This enhancement is intended to display formatted chat messages in chat channels rather than displaying raw commands.

@Xujiayao Xujiayao removed the good first issue Good for newcomers label Jan 17, 2024
@Xujiayao Xujiayao removed the help wanted Extra attention is needed label Jul 25, 2024
@Xujiayao
Copy link
Owner

Applies to /tellraw @a from both in-game and console.

Xujiayao added a commit that referenced this issue Oct 28, 2024
@Xujiayao
Copy link
Owner

Just realized not yet support /me commands, will open a new issue for it

@Xujiayao Xujiayao changed the title [Enhancement] Add support for /tellraw and /me messages [Enhancement] Add support for /tellraw (and /me) messages Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@Xujiayao @LessThanBenji and others