ModsFinder

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.

FabricClient-side onlyCreative Commons Attribution 4.01.21.5

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

  1. Confirmation before execution

    A click event that would run a command produces a warning on the player's screen before anything is sent.

  2. Command whitelist

    Specific commands, such as trigger, can be allowed through without the warning.

  3. Configuration screen

    Options are edited in a config menu, which Mod Menu can open when it is installed.

Compatibility

Latest build for each game version and loader.

1.21.51.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Cloth Config APIConfiguration Library for Minecraft Mods
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

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?

Yes. Fabric API and Cloth Config API are required, and Mod Menu is optional but recommended for opening the config menu.

Does Warn on run_command have to be installed on the server?

No. Players add it to their own game, and a server needs no copy.

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

All projects

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)
Theooolone, on the Modrinth page

Official listing

Owner
Theooolone
Published
2025-06-16
Updated on Modrinth
2025-06-16
Facts verified
2026-10-15

Tags