#Custom dialog not working.

1 messages · Page 1 of 1 (latest)

tranquil pine
#

I have a dialog set with a custom button that runs the /kill command as a test. After pressing the button nothing happens.

boreal moth
#

I'm not sure but maybe you have to add a / before the command

tranquil pine
#

didn't work

boreal moth
#

Ok you don't need a slash

#

But idk what the error could be
Do other commands work?

tranquil pine
#

I also tested the /say command which also didn't work

#

as well as /summon

#

and that is all I tested

shy adder
#

do you have op?

simple pawn
#

what you have isn't setting the action to take when you click the button, it's setting the click event for the text on the button. you need to add an action field with the minecraft:run_command type to add behavior to the button itself
i'd recommend using misodes generator if you aren't

tranquil pine
tranquil pine
simple pawn
#

no, dialog commands are run fully by the player so they use that players permission level. for most cases you'll want to use trigger commands instead of the command directly

solemn spire
tranquil pine
#

oh good to know