How to enable command blocks
Command blocks let you build redstone contraptions and adventure maps that run commands. They are turned off by default, and the switch lives in your server's config file rather than the Settings tab.

Turn them on
- Open the Files tab and edit
server.properties. - Find
enable-command-block=falseand change it toenable-command-block=true. - Save the file, then Restart the server.
The Settings tab does not carry this option. Command blocks can also be switched on when you first create a server, but after that
server.propertiesis the place to change it.
Get a command block
Command blocks cannot be crafted, so you have to give yourself one. You need to be an operator first, see Make yourself a server operator.
Then run this from the Console, or in game with a / in front:
give YourName command_blockIf commands still will not run
- Restart after saving. The setting is read once at boot; editing the file on a running server changes nothing until it restarts.
- Check the block is powered. An Impulse command block needs a redstone signal. Set it to Repeat with Always Active if you want it running on its own.
- Check your permissions. Placing and editing command blocks requires operator level 2 or higher.
Was this helpful?
Still need help? Contact support.