Перейти к содержимому
Mineforgian

Command Safety

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

1K загрузок6 подписчиковMITfabric

Обновлён 27 марта 2026 г. · опубликован 12 июля 2025 г.

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

Центр версий

7 версий
  • Релиз25 КБ
  • Релиз24 КБ
  • Релиз23 КБ
  • Релиз23 КБ
  • Релиз23 КБ
  • Релиз23 КБ
  • Релиз23 КБ

Ченджлог

1.0.6Релиз26.1.1, 26.1.2, 26.2 · 27 марта 2026 г.

Updated to minecraft 26.1

1.0.5Релиз1.21.11 · 18 февраля 2026 г.

Updated to 1.21.11

1.0.4Релиз1.21.9, 1.21.10 · 6 октября 2025 г.

Updated to 1.21.9

1.0.3Релиз1.21.6, 1.21.7, 1.21.8 · 12 июля 2025 г.

Initial

1.0.2Релиз1.21.2, 1.21.3, 1.21.4 · 12 июля 2025 г.

Initial

1.0.1Релиз1.20.3, 1.20.4 · 12 июля 2025 г.

Initial

1.0.0Релиз1.20, 1.20.1, 1.20.2 · 12 июля 2025 г.

Initial

Комментарии

Загружаем…