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

command results (including /say) are not relayed from command blocks. #185

Open
DimitriBarronmore opened this issue Jun 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@DimitriBarronmore
Copy link

commented Jun 16, 2019

Base informations

Minecraft version: 1.12.2

DiscordIntegration version: DiscordIntegration-mc1.12.2-3.0.5.jar

Server type and version: *Forge 1.12.2-14.23.5.2838

Link to pastebin with (censored) config: https://pastebin.com/RdKdX7jK

Issue

I'm using a command computer from CC:Tweaked to set up a script on a server I'm helping to run. We need to be able to send scheduled messages, which is why we installed DiscordIntegration in the first place, and have previously been using the /say command through armor stands.

On starting the script, DiscordIntegrations proceeded to hang. Further testing shows that this is because when a command returns a result to chat, it fails to be sent to Discord if the executor is a command block. This includes commands such as /say. The following error message appears in the console:

[JDA-Thread JDA/INFO] [STDERR]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA-Thread JDA] ERROR RestAction - RestAction queue returned failure: [ErrorResponseException] 400: null

This behavior appears to occur regardless of whether or not the gamerules commandBlockOutput or logAdminCommands are set to true or false.

Steps to reproduce

  • Start a server with the mod installed and configured
  • Place a command block, set it to execute /say hello
  • Activate the command block

@DimitriBarronmore DimitriBarronmore changed the title /say command is not relayed from command blocks. command results (including /say) are not relayed from command blocks. Jun 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.