ModsFinder

CommandSpy

by samolego

CommandSpy logs commands that players run through command blocks, signs and the console, so server staff can see them.

FabricQuiltServer-side onlyMIT LicenseOpen source1.16.5 – 1.20

What it does

On a server, CommandSpy records commands as they execute and sends the output to players who hold the permission to receive it. Logged entries name the source of each command: a command block, a sign, or a player, with the executor's position and UUID included. Staff can follow activity without reading the full server log.

The mod can be configured to ignore specific commands through a blacklist, and its messages can be customised or disabled in a generated config file. It supports LuckPerms for permission checks, and access to the output depends on the permission each player holds rather than on operator status alone. The author notes that the mod loads with a logToOps option that is now redundant.

CommandSpy is a server-side mod: only the server needs it, and players join without installing anything. It is published for Fabric and Quilt across seven game versions, 1.16.5 – 1.20, and the latest file for both loaders is 1.3.3 for 1.20, released on 2023-06-11. The code is open source under the MIT License.

Key features

  1. Command execution logs

    Commands run by command blocks, signs, players and the console are recorded as they execute.

  2. Executor details

    Each log entry includes the executor's position and player UUID where one applies.

  3. Command blacklist

    Specific commands can be excluded from logging through the blacklist setting.

  4. Configurable messages

    Messages can be customised or turned off through a generated config file.

  5. LuckPerms support

    Permission checks can go through LuckPerms, so access to command output follows the permissions set there.

Compatibility

Latest build for each game version and loader.

1.201.3.31.3.3
1.19.31.3.2Not available
1.19.11.3.0Not available
1.191.3.0Not available
1.181.2.4Not available
1.17.11.2.3Not available
1.16.51.2.2Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Auditing command blocks

Staff can see which command blocks ran a command and from what position, which helps track down unexpected changes.

Monitoring sign commands

Commands triggered from signs appear in the log with the sign as the source.

Who it’s for: Server owners and administrators who want a record of commands run through command blocks, signs and players. Players only need it if they run the server themselves.

How it compares

Full comparison

Logtellraw Command is a Fabric mod for 1.18 – 26.2, server-side only, released under the MIT License and open source. Mod Info Command is a Fabric mod for 1.16.5 only, server-side only, under the BSD 3-Clause License and open source. Clear-fix covers 1.20.1 – 1.21.1 on Fabric and Quilt, with the server required and the client optional, under the GNU General Public License v3.0 only.

ModLoadersGame versionsEnvironmentUpdated
CommandSpyFabric and Quilt1.16.5 – 1.20Server-side only2023-06-11
Logtellraw CommandFabric1.18 – 26.2Server-side only2026-04-06
Mod Info CommandFabric1.16.5Server-side only2021-04-10
Clear-fixFabric and Quilt1.20.1 – 1.21.1Server required, client optional2024-08-21

Questions

Does CommandSpy need to be installed on the client?

No. CommandSpy is server-side only, so players can join without installing it.

Which loaders does CommandSpy support?

Fabric and Quilt. The latest file for each loader is 1.3.3 for 1.20.

Can CommandSpy work with LuckPerms?

Yes. The mod supports LuckPerms, and permission checks for receiving command output can be handled there.

In the catalog

CommandSpy is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 10,288 mods support Minecraft 1.20.

More from samolego

All projects

Similar mods

What the author says

Feeling like you need to have control over what commands players are using on your server? Need to destroy that nasty repeating command block sending /kill @e? A mod that logs commands, executed by players, command blocks and signs to console / players. Additionally, position of executor block and player uuid is…
samolego, on the Modrinth page

Official listing

Owner
samolego
Published
2021-03-23
Updated on Modrinth
2023-06-11
Facts verified
2026-10-15

Tags