Same as chat threshold, but for commands: each command takes one second of 'time', and if exceeded, the player is kicked for spam. 0 means no limit; operators are exempt.
On this page 6 sections
At a glance
Default is 10
-
Line in a file
command-spam-threshold-seconds=10
Command spam threshold. By default — 10, the key was introduced in version 26.2.
| What | Value |
|---|---|
| Key | command-spam-threshold-seconds |
| By default | 10 |
| Type | integer |
| Appears | in 26.2 |
| Without restart | no, only after restart |
- Stop the server and open server.properties — it's located next to the server JAR file.
- Find the line
command-spam-threshold-seconds=and enter your value. - Save the file and start the server: settings are read at startup.
Collect the entire file with pre-made sets — in server.properties editor..
What does command-spam-threshold-seconds mean in server.properties?
Same as chat threshold, but for commands: each command takes one second of 'time', and if exceeded, the player is kicked for spam. 0 means no limit; operators are exempt.
What is the default value of command-spam-threshold-seconds?
10 — exactly as reported by the Minecraft 26.3 server.
Do you need to restart the server after changing command-spam-threshold-seconds?
The server reads a file on startup — fix the line and restart it.
- chat-spam-threshold-seconds
- entity-broadcast-range-percentage
- max-tick-time
- network-compression-threshold
- prevent-proxy-connections
- rate-limit
- region-file-compression
- simulation-distance
- sync-chunk-writes
- use-native-transport
- view-distance
All server.properties settings server.properties generator
Data from Minecraft 26.3: Launcher manifest from Mojang, version.json inside each client version, and server.properties, which the server itself creates.