How to enable command blocks on your Minecraft server

Print
  • 0

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

  1. Stop the server.
  2. Open Files in the control panel, then edit server.properties.
  3. Find:
    enable-command-block=false
  4. Change it to:
    enable-command-block=true
  5. Save the file, then start the server.

Minecraft server.properties with enable-command-block set to true

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.


Was this answer helpful?

Related Articles

« Back

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!