Command Safety

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

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.

Banner


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

Command Safety Team

profile avatar
Owner
Forgeborn tier icon
  • 9
    Followers
  • 12
    Projects
  • 327.9K
    Downloads

More from Mat0u5_View all

  • MatLib project image

    MatLib

    A shared multi-platform minecraft library for my mods.

    • 47.6K
    • November 18, 2026
  • Life Series Mod project image

    Life Series Mod

    This mod is a one-to-one recreation of Grian's Life Series in Fabric, Forge and NeoForge, with as many QOL features as possible. Contains Third Life, Last Life, Double Life, Limited Life, Secret Life, Wild Life, Past Life and Nice Life.

    • 57.3K
    • November 14, 2026
  • Enhanced Block Entities Reloaded project image

    Enhanced Block Entities Reloaded

    [UNOFFICIAL PORT] Reduce block entity FPS lag with almost no compromises, and improve their visuals

    • 202.9K
    • October 22, 2026
  • Iceberg [Neo/Forge] project image

    Iceberg [Neo/Forge]

    A modding library that contains new events, helpers, and utilities to make modder's lives easier.

    • 174.2M
    • October 11, 2026
  • MatLib project image

    MatLib

    A shared multi-platform minecraft library for my mods.

    • 47.6K
    • November 18, 2026
  • Life Series Mod project image

    Life Series Mod

    This mod is a one-to-one recreation of Grian's Life Series in Fabric, Forge and NeoForge, with as many QOL features as possible. Contains Third Life, Last Life, Double Life, Limited Life, Secret Life, Wild Life, Past Life and Nice Life.

    • 57.3K
    • November 14, 2026
  • Enhanced Block Entities Reloaded project image

    Enhanced Block Entities Reloaded

    [UNOFFICIAL PORT] Reduce block entity FPS lag with almost no compromises, and improve their visuals

    • 202.9K
    • October 22, 2026
  • Iceberg [Neo/Forge] project image

    Iceberg [Neo/Forge]

    A modding library that contains new events, helpers, and utilities to make modder's lives easier.

    • 174.2M
    • October 11, 2026