HomeJavaModsCommand Safety
Command Safety
ModsJava

Command Safety

by Mat0u5 · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.2 · Fabric⬇ Download for 1.21.9–1.21.11 · Fabric⬇ Download for 1.21.6–1.21.8 · Fabric⬇ Download for 26.1–26.2 · Forge⬇ Download for 1.21.9–1.21.11 · Forge⬇ Download for 1.21.6–1.21.8 · Forge⬇ Download for 26.1–26.2 · NeoForge⬇ Download for 1.21.9–1.21.11 · NeoForge⬇ Download for 1.21.6–1.21.8 · NeoForge⬇ Download for 26.1–26.2 · Quilt⬇ Download for 1.21.9–1.21.11 · Quilt⬇ Download for 1.21.6–1.21.8 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Command Safety Mod

Have you ever accidentally killed all entities in your world with a single command? Or maybe you've cleared all the scores of a player when you didn't mean to?

This mod helps you avoid such mishaps, by requiring the player to confirm commands that have the potential to break a lot of things.

Very useful when working on large projects, especially when multiple people (that potentially have less experience with commands) are involved.


The commands & the conditions of when they require confirmation:

Example


Config:

You can use the /confimcmd config command to change the limits of when commands require confirmation, or you can also modify the config files themselves (./config/confirmcommand.properties).

/confirmcmd

Possible values for <name> are: max_blocks, max_players, max_living_entities, max_entities, max_score_holders

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more