Skip to content
/SLASHPLAY

How to stop logging admin commands in Minecraft

Run /gamerule log_admin_commands false and commands run by operators are no longer written to the server log.

log_admin_commands

Controls whether commands run by operators are written to the server log.

/gamerule log_admin_commands <true|false>

Examples

/gamerule log_admin_commands false

Stop logging operator commands.

Values

ValueWhat it does
trueDefault On
false Off

Arguments

true|falseOptional
true turns the rule on, false turns it off. Leave it out to show the current value.

What it does

When true, admin commands are logged and shown to other ops in chat. Turn it off to cut log noise on servers that run many commands, but you lose an audit trail of what ops did.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.