HomeJavaModsSecondThought: Command Confirmation Guard
SecondThought: Command Confirmation Guard
ModsJava

SecondThought: Command Confirmation Guard

by SuffixHD · on Modrinth

Confirm dangerous typed commands before they are sent. A configurable, client-side command safety guard for Fabric.

⬇ Download on Modrinth
SecondThought: Command Confirmation Guard — screenshot 1SecondThought: Command Confirmation Guard — screenshot 2SecondThought: Command Confirmation Guard — screenshot 3

SecondThought: Command Confirmation Guard

Prevent an accidental /clear, /kill, /stop, /ban, or other command from being sent with a single press of Enter.

SecondThought is a lightweight client-side command confirmation mod. When a command requires confirmation, its first submission is blocked locally. Send the exact same command again within the configured time window to confirm it.

It works in singleplayer and on multiplayer servers without requiring the server to install the mod.

Features

Command modes

Mode Behaviour
ALL_DIRECT Send every command immediately
LISTED_DIRECT Send only configured direct commands immediately; confirm all others
NONE_DIRECT Require confirmation for every manually typed command
LISTED_PROTECTED Confirm only configured protected commands; this is the default

Change modes without restarting:

/secondthought mode all
/secondthought mode listed
/secondthought mode none
/secondthought mode protected
/secondthought status
/secondthought help

These control commands are handled locally and are never sent to the server.

Default protection

The default configuration protects these command roots:

ban, ban-ip, clear, deop, kill, op, stop, whitelist, worldborder

Edit config/secondthought.json to change the protected or direct command lists and the confirmation window. Existing configuration files from earlier 0.1.0 test builds remain compatible.

Requirements

Fabric API is not required.

Scope and compatibility

SecondThought guards normal commands manually submitted through the Minecraft client. It does not grant permissions, replace a server permission plugin, classify every modded command automatically, or undo a command that has already run. Commands triggered by clickable text or sent unattended by another mod are outside version 0.1.0's scope.

Verified by MCModsHub

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

Explore more