How to Enable Command blocks on Your Minecraft Server


Overview:
Command blocks allow you to run powerful in-game commands automatically—perfect for adventure maps or redstone contraptions.

Steps:

  1. Stop your server
    Use the Vexal Hosting control panel to stop your server before making changes.

  2. Edit server.properties

    • Open server.properties using the File Manager or SFTP.

    • Locate the line: enable-command-block=false

    • Change it to: enable-command-block=true

    • Save the file.

  3. Start your server
    Launch your server again for the changes to take effect.

  4. Give yourself a command block
    If you're OP, use the following command in-game or in the console:
    /give <yourusername> minecraft:command_block

Tips:

  • Command blocks are disabled by default for security reasons.

  • Use them responsibly—bad commands can crash your server.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Upload a Custom Minecraft World to Your Server

Overview:Want to play your custom-built world or a downloaded map on your Minecraft server? This...

Installing Plugins on a Minecraft Paper or Spigot Server

Overview:Add new features, commands, and enhancements to your server using plugins. This article...

How to Set Up a Minecraft Whitelist

Go to the console and run: /whitelist on Add players: /whitelist add PlayerName To...

How to Set the World Spawn in a Vanilla Server

To set the world spawn for your vanilla server, go to the location you would like the spawn to be...

How to Set a Spawnpoint Using Essentials

To set your spawn using Essentials, make sure EssentialsX and EssentialsXSpawn are installed....