#✅ | Firing commands without requiring cheats to be enabled

1 messages · Page 1 of 1 (latest)

hardy hinge
#

Is it possible to make things like buttons and listeners fire commands without the world having cheats enabled

craggy solsticeBOT
# hardy hinge Is it possible to make things like buttons and listeners fire commands without t...

Buttons, listeners, tickers etc. run the same actions you’d type into chat, so they obey Minecraft’s normal permission rules. For example, the Send Chat Message/Command action literally sends a chat line or executes a /command value—so if that command requires cheats/op in vanilla Minecraft, it also requires cheats/op when triggered by a FancyMenu action script. There’s nothing in the docs about bypassing that, so you’d need the world (or your player) to have the necessary permissions beforehand. 😊

Reference: Action Scripts – Send Chat Message/Command section.

hardy hinge
#

so is there no way to be able to fire commands or functions if the world/player doesnt have cheats enabled?

craggy solsticeBOT
# hardy hinge so is there no way to be able to fire commands or functions if the world/player ...

Correct—there isn’t any way for FancyMenu elements (buttons, listeners, tickers, etc.) to run commands or functions that require cheats/op unless the player already has those permissions in the world. Actions like Send Chat Message/Command just simulate typing the command, so they obey the same vanilla permission checks. If the world/player lacks cheats or operator rights, the command will be denied just like if you typed it manually.

If you need server-side automation, the only way is to have the command run by someone with the proper permission (e.g., via /execute as <operator> run … or a server-side mod that handles it). But from FancyMenu’s side, there is no bypass—cheats/op must already be enabled for the executing player.

hardy hinge
#

lets say if the server does a /execute command as a player who doesnt have cheats enabled. would that be able to bypass it or not?

craggy solsticeBOT
# hardy hinge lets say if the server does a /execute command as a player who doesnt have cheat...

If you trigger FancyMenu’s Send Chat Message/Command action, it literally behaves like the player typed it. That means Minecraft’s normal permission checks still apply—if the player isn’t OP or cheats aren’t enabled, the command is denied. There’s no way for the menu to magically escalate permissions.

A server-side /execute as <player> run … can only be issued by someone who already has the required permissions (console/operator). You could set up a server-side command block, datapack, or script that runs the privileged command, but the FancyMenu action itself still runs as the client player and won’t bypass cheats.

So to summarize: if the player doesn’t already have cheats/op, FancyMenu can’t run commands that require them. You’d need some server-side automation or a trusted operator to run those commands instead. 😊

For reference: the Send Chat Message/Command action behaves exactly like chatting or typing /command, so it’s subject to the same permission rules.

#
Thread Marked as Solved

This support thread has been marked as solved by @hardy hinge.

The AI helper is now disabled, but you can still continue the conversation if needed. Thank you for using our support system!