Skip to content
/SLASHPLAY

How to change the command spam limit in Minecraft

Set command-spam-threshold-seconds=10 in server.properties and restart the server. It is the window, in seconds, the check uses before kicking for fast commands.

command-spam-threshold-seconds

Sets the time window, in seconds, the command spam check uses before kicking players for running commands too fast.

command-spam-threshold-seconds=<value>

Examples

command-spam-threshold-seconds=10

Default command spam window.

Arguments

valueRequired
The value to write after the equals sign.

What it does

Works like chat-spam-threshold-seconds but for commands typed by players. Leave it at the default unless legitimate players are being kicked for command spam.

Good to know

  • Changes take effect after a server restart.

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.