Warn on run_command
by Theooolone
Warn on run_command is a Fabric client-side mod that shows a warning before a click event runs a command.
What it does
When a chat message or sign carries a run_command click event, Warn on run_command stops the action and asks the player to confirm first, so a command is not executed by a single click. Only the client needs the mod, and a server does not have to run it. Files are published for Fabric for 1.21.5, with 1.0.0 as the latest file, under a Creative Commons Attribution 4.0 license, and the source code is public.
Key features
Confirmation before execution
A click event that would run a command produces a warning on the player's screen before anything is sent.
Command whitelist
Specific commands, such as trigger, can be allowed through without the warning.
Configuration screen
Options are edited in a config menu, which Mod Menu can open when it is installed.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Optional 1
Use cases
Who it’s for: Players who join servers that use clickable chat text, and server administrators who want to limit which commands a click can run.
Questions
Does Warn on run_command need Fabric API?
Does Warn on run_command have to be installed on the server?
In the catalog
Warn on run_command is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from Theooolone
Similar mods
What the author says
Warns the player if they're about to execute a run_command click event. You can whitelist specific commands, like /trigger. Great for server admins who want to be careful! Cloth config required! Mod menu highly reccomended (Required to open the config menu)
Official listing
- Modrinth page
- modrinth.com/mod/warn-on-run_command
- Owner
- Theooolone
- Published
- 2025-06-16
- Updated on Modrinth
- 2025-06-16
- Facts verified
- 2026-10-15
