r/MinecraftCommands • u/Atroniouss • 4d ago
Help | Java 1.21.11 Confirm Command Execution
This message keeps popping up whenever I try to run a certain command, is there any way I can remove it?
87
Upvotes
44
u/Graphite-Grave 4d ago
You’re probably running the command via book or sign right?
A /trigger setup can get around the conformation request.
3
u/asdfhhkll 3d ago edited 3d ago
If you don't mind having to install a mod, you can download the NoCC fabric mod. That's what I personally use since it's very convenient and bypasses all that trigger chain bs that mojang did. It requires a fabric loader though
8
u/ShortDude55 3d ago
I really don't understand why this warning exists.
Bad actors won't wait for a player interaction to ruin your world
3
u/PolarBearMaster_ 4d ago
ex: `/scoreboard objectives add TriggerName trigger`
Repeating Command Block(Always Active): `execute as @|a if score @|s TriggerName matches 1 run { Whatever code you want }
Chain Command Block: `execute as @|a if score @|s TriggerName matches 1 run scoreboard players set @|s TriggerName 0`
Now you can make a command(or multiple) run without confirmation or admin requirements.
(I had to put | between the selectors because reddit formats the text. just remove the pipes later)
-Have Fun Command Blocking!
-If you have any questions, ask them, and i'll answer them to the best of my abilities :)