mojira.dev
MC-297962

Can't use multiple returns of Dialogs with multiple inputs for players without permissions

If we have permisions we can use a command /function namespace:function_name {value:$(key_name),value2:$(key2_name)} or tellraw command for example, or any command that require permissions, with multiple inputs for example

But without permissions we can’t use function or tellraw command or any command that require permissions, but we can use trigger command for example, (or random command, or… for example), but not with multiple inputs, but only one input and only with int numbers : /trigger score set $(key_name) ; (we can’t put another values after this one)
we have be allowed to execute multiple commands or execute command when we change each input value

(I don’t know if it’s an bug, or intentionnal)

Steps to reproduce :

  • Create a world without commands allowed

  • Open the LAN by allowing commands

  • Insert this command in a Impulse Command Block in “Needs Redstone” :

    dialog show @p {type:"minecraft:simple_input_form",title:{text:"Test Input without permissions"},inputs:[{type:"minecraft:text",key:"desc",width:200,label:{text:"Description"},initial:"No description",max_length:75},{type:"minecraft:boolean",key:"bool",label:"You are true/false",on_true:"true",on_false:"false"},{type:"minecraft:single_option",key:"gender",width:100,label:"Gender",options:[{id:"(ungendered)",display:"(Unset)",initial:1},{id:"boy",display:"Boy"},{id:"girl",display:"Girl"}]},{type:"minecraft:number_range",key:"age",width:100,label:"Age",start:1,end:200,step:1,initial:1}],action:{label:"Send",width:50,id:"",on_submit:{type:"minecraft:command_template",template:"tellraw @a \"You have $(bool), you are a $(gender) and you are $(age) year(s) old. Your description : $(desc)\""}}}
  • Place a button on the command block

  • Leave the world and rejoin the world (that disable LAN, and you’ll don’t have permissions)

  • Press the button

  • Interact with these inputs and click on the “Send” button

Observed result :

You can’t execute the command template of the dialog by sending the inputs, an error in chat wrote in red “Unknown or incomplete command” because you don’t have permissions, so you can’t submit input values if you don’t have permission.
(you have an error with function command too and other commands that requires permisions)

Expected result :

You should be allowed to execute the command template even if you don’t have permissions only if you execute the command with a dialog or with a tellraw.

Comments 5

Please do not mark Unreleased Versions as affected. You don’t have access to them yet.

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:

  1. (Explain what needs to be done for the issue to happen)

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines -- 💬 Community Support -- 📧 Mojang Support (Technical Issues) -- 📧 Microsoft Support (Account Issues) -- 📓 Project Summary -- ✍️ Feedback and Suggestions -- 📖 Game Wiki

[Mod] Jingy done, but anyone know how to use dialogs

It’s the same problem in tellraw or books, the fact that we don’t have permissions to execute commands by clicking somewhere

Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Loupieur

(Unassigned)

Plausible

(Unassigned)

25w20a, 25w21a

Retrieved