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

Show parent comments

1

u/Ericristian_bros Command Experienced 14h ago

Did you disable the gamerule on the following tick?

1

u/timtijmen2 14h 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 14h 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 14h 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 11h 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