enable-command-block in server.properties

server.properties

Allowed command blocks to work.

  • default false
  • removed to 1.21.9
My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

On page 6 sections

Briefly

Removed at 1.21.9

  • The same rule of the game
    /gamerule command_blocks_work false

Key enable-command-block is no longer in server.properties: it was removed from 1.21.9I don't know. That's what the game rule now sets. command_blocks_work (Normally: trie)

What makes enable-command-block

Allowed command blocks to fire. By default they were turned off.

Values

WhatMeaning
Keyenable-command-block
Defaultfalse
Typetrue or false
RemovedSee 1.21.9

What was replaced

From 1.21.9, the game rule does the same. command_blocks_work - Command blocks. The rule is preserved in the world, not in the server.properties, and it's changed by a command. /gamerule command_blocks_work false (or true) right on the running server. By default, it's turned on -- and the default key was false, so when it was updated, the behavior could change.

On the version server up to 1.21.9, the line still works as before.

Frequently asked questions

Where did the enable-command-block in server.properties go?

It was deleted in version 1.21.9: the server no longer reads this line. The same is now set by the command_locks_work rule: /gamerule common_blocks_working false.

What did you do in-command-block?

Allowed command blocks to work. By default they were turned off. The default was false.

Can you delete enable-command-lock from the file?

Yes: on the new versions, the string does not change anything. On the server before version 1.21.9 it still works.

More in this section

According to Minecraft 26.3, Mojang Lounger manifesto, version.json is inside the client of each version and server.Properties, which creates the server itself.