Minecraft Server List

How to Enable or Disable Command Blocks on Your Minecraft Server

Command blocks are used to execute console commands when activated by redstone (Buttons, levers etc). They're especially useful in vanilla Minecraft servers and realms, where plugins are unavailable - But are widely used on many Minecraft servers in general.

To place the block, you need to be opped and in creative mode. You’re able to give yourself a command block by executing this command (“give {IGN} minecraft:command_block”) in your server console, or in-game.

How to enable command blocks on your server

  1. Head to the game panel in your host's site and left click on the panel that says “Config Files”.
  2. Click on “Server Settings”, which should be at the top of the page.
  3. Scroll through the list of the settings untill you find the option “Enable Command Blocks”.
  4. Set the setting to “Enabled” and click save at the bottom.
  5. You will have to restart your server for all changes to go into effect.

Those steps are slightly different if you host your server on your own computer. If that's the case, you'll need to:

  1. Locate and open the server.properties file.
  2. Find the line that contains "enable-command-block=false".
  3. Change it to "enable-command-block=true".
  4. Save the file and restart your server.

How to disable command blocks on your server

  1. Head to the game panel in your host's site and left click on the panel that says “Config Files”.
  2. Click on “Server Settings”, which should be at the top of the page.
  3. Scroll through the list of the settings till you find the option “Enable Command Blocks”.
  4. Set the setting to “Disabled” and click save at the bottom.
  5. You will have to restart your server for all changes to go into effect.

Those steps are slightly different if you host your server on your own computer. If that's the case, you'll need to:

  1. Locate and open the server.properties file.
  2. Find the line that contains "enable-command-block=true".
  3. Change it to "enable-command-block=false".
  4. Save the file and restart your server.
Stelios Mac

This article was written by Stelios Mac.
Stelios is the creator behind Minecraft.Buzz, Hytale.Buzz and Amongus.community, and has owned and co-owned multiple Minecraft servers including KlgCraft, Tales of Conquerors and Mine Unlimited.
You can learn more in the about us page.