Command Safety

Command Safety

Warns the player when running potentially dangerous commands ('/kill @e' etc).

by
1.1K Downloads
fabricgame-mechanicstechnologyutility
Rent Server with this Mod

Screenshots

Example

About this Mod

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:

  • /fill, /clone
    • When selecting an area of more than 10 000 blocks.
  • /execute, /kill, /effect, /tp, /teleport, /give, /clear, /gamemode
    • When affecting more than 50 entities (players, ravagers, item frames).
    • When affecting more than 25 living entities (players, ravagers, ...).
    • When affecting more than 1 player.
  • /scoreboard
    • When affecting more than 50 score holders (players / entities).
    • When using the /scoreboard players reset .. command without selecting an objective.

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

  • /confirmcmd config <name> - Gets the value of a config.
  • /confirmcmd config <name> <value> - Sets the value of a config.

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

Available Versions

Command Safety 1.0.6 for Fabric 26.1+release
MC 26.1, 26.1.1, 26.1.2fabric
March 27, 2026
Command Safety 1.0.5 for Fabric 1.21.11release
MC 1.21.11fabric
February 18, 2026
Command Safety 1.0.4 for Fabric 1.21.9-1.21.10release
MC 1.21.9, 1.21.10fabric
October 6, 2025
Command Safety 1.0.3 for Fabric 1.21.5-1.21.8release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric
July 12, 2025
Command Safety 1.0.2 for Fabric 1.20.5-1.21.4release
MC 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4fabric
July 12, 2025

How to Install Command Safety on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Command Safety". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+22 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Command Safety server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Command Safety compatible with fabric?

Command Safety officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Command Safety – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Command Safety consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Command Safety with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+15 more