Command blocks are controlled by server.properties. Only trusted players should be allowed to use command blocks, as they can run powerful commands.
Enable Command Blocks
- Stop the server.
- Open Files in the control panel, then edit
server.properties. - Find:
enable-command-block=false
- Change it to:
enable-command-block=true
- Save the file, then start the server.

Command safety
Run commands exactly as shown and start with a harmless command where possible. Commands that spawn items, change players, or alter the world can affect active players immediately.
Troubleshooting
If a command fails, check that admin access or RCON is enabled, confirm the command syntax for your game version, and review the console output for the exact error message.