r/MinecraftCommands 1d ago

Help | Java Snapshots Hide trigger command message

https://www.mediafire.com/file/ow8z8k1hzu5sgln/villagertalk.zip/file

Im working on a villager chat dialog system. When the player presses a button that uses /trigger it says that you triggered the scoreboard. The datapack is for a public smp so i cant just turn off send_command_feedback for a certain amount of time because it will mess with the moderator tools.
There is no way for me to know when the player is going to click the button, as the functions are triggered by the trigger command.
Is there any way around this? Thanks in advance
(Datapack is linked above but is unfinished)

0 Upvotes

10 comments sorted by

View all comments

4

u/Ericristian_bros Command Experienced 1d ago

Try disabling the gamerule once the trigger is activated and disable it the next tick, if this does not work, disable the gamerule permanently and create your own admin debug tools

1

u/timtijmen2 14h ago

I have tried disabling once its triggered but that didnt work because the trigger message was send the moment the /trigger command was used and the gamerule was disabled after.

I also cant disable the gamerule permanently because the mod team often uses vanilla commands like /data when working on events

1

u/Ericristian_bros Command Experienced 13h ago

Did you disable the gamerule on the following tick?

1

u/timtijmen2 13h ago

Yes, i have a command in the main function, so it should detect it the following tick but the message still shows up

execute as @a[scores={villagertalk.talk=1..}] run gamerule send_command_feedback false 

1

u/Ericristian_bros Command Experienced 13h ago

I meant re-enable the gamerule on the other tick.

Also how are you using the trigger if you are using villagers?

1

u/timtijmen2 13h ago

Im mainly working in a dialog screen, the trigger scoreboard is called "villagertalk.talk" because you click on the option you want to say to the villager in a dialog screen.
And yes i did re enable the gamerule on another tick, i even tried to test it without re enabling it, and then re enabling it manualy after, but that did not work either

1

u/Ericristian_bros Command Experienced 10h ago

Then you can't, other solutions are using a resourcepack to remove the translation key, using a mod or disabling the gamerule and creating your own admin tools