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.

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 支持哪些 Minecraft 版本?
Command Safety 支持 Minecraft Java 版 1.14–26.3,共 47 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Command Safety 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Mat0u5_ 的其他作品
查看全部 →Enhanced Block Entities Reloaded
【非官方移植】几乎不牺牲效果,大幅减少方块实体造成的帧率卡顿,并改善其视觉效果
Life Series Mod
这款模组在 Fabric、Forge 和 NeoForge 上一比一复刻了 Grian 的 Life Series,并尽可能加入了各种便捷功能。包含 Third Life、Last Life、Double Life、Limited Life、Secret Life、Wild Life、Past Life 和 Nice Life。
MatLib
为我的模组提供的共享多平台 Minecraft 前置库。
Focused Wardens
This server-side mod makes wardens ignore all sounds made by non-entities, such as pistons, dispensers, etc.
评论
登录后评论和评分