How to Enable Command Blocks on Your Minecraft Java Server

Learn how to enable command blocks on your Minecraft Java server using the Properties tab in the RiverHosting panel, no file editing required.
Command blocks are special in-game blocks that let you run server commands automatically when triggered. They are commonly used for custom maps, minigames, adventure maps, and automated events. By default, command blocks are turned off on most servers. This guide will show you how to enable them quickly using the Properties tab in the RiverHosting panel.
Before you start
- You need an active Minecraft Java Edition server hosted with RiverHosting.
- You must be the server owner or a subuser with permission to change server settings.
- To place and use command blocks in-game, your Minecraft account must have operator (op) status on the server. Command blocks are not available to regular players even after they are enabled.
- Log in to the RiverHosting panel at panel.riverhosting.com before starting.
An operator (op) is a player with elevated permissions on the server. Only operators can place and interact with command blocks. You can grant op status to yourself or another player using the /op PlayerName command in your server console.
1. Enable command blocks from the Properties tab
The RiverHosting panel includes a built-in Properties tab that lets you change your server settings without touching any files. Enabling command blocks takes just a few seconds.
- Log in to the RiverHosting panel at panel.riverhosting.com.
- Click on your Minecraft Java server from the server list.
- In the GAME section of the left-hand menu, click Minecraft: Java, then the Properties tab at the top of the page.

- Find the setting labelled Enable Command Block or enable-command-block.

- Change the value to true.
- Click Save to apply the change.

- Restart your server for the change to take effect. You can do this by clicking Restart at the top of your server page.

Use your browser's built-in search (Ctrl+F or Cmd+F) while on the Properties page to quickly search for "command block" and jump straight to that setting.
The command block setting will not take effect until you restart the server. Players currently on the server will be disconnected briefly during the restart.
2. Use command blocks in-game
Once you have saved the setting and restarted the server, you are ready to place and use command blocks in-game.
- Join your server with a Minecraft account that has operator status.
- Open your chat or console and type
/give @p minecraft:command_blockto give yourself a command block. - Place the command block in the world.
- Right-click the command block to open its interface.
- Type the command you want it to run and click Done.
- Provide a redstone signal to the command block to trigger it.
Minecraft has three types of command blocks: Impulse (runs once when triggered), Chain (runs after another command block), and Repeat (runs every game tick while powered). You can cycle between them by clicking the button in the command block interface.
Even with command blocks enabled, only operators can place them or edit them. Regular players on your server cannot interact with command blocks. This is controlled by Minecraft itself, not the panel.
Troubleshooting
- Command blocks are enabled but still not working in-game. Make sure you restarted the server after saving the Properties change. A simple save is not enough. The setting only applies after a full restart.
- I placed a command block but I cannot open it. You must be an operator on the server. Use the console on your server page to run
/op YourPlayerNameand try again. - The Properties tab does not show an enable-command-block option. Make sure you are on a Minecraft Java Edition server. Bedrock Edition handles command blocks differently and the Properties tab may not include the same options.
- I saved the setting but it reset after a restart. This can happen if the server regenerates its
server.propertiesfile. Check whether your server version or loader is overriding settings on startup. If this keeps happening, contact support. - Players are getting a "not allowed to use commands" message. This is unrelated to command blocks. It usually means the player is not opped. Run
/op PlayerNamefrom the console to resolve it.
Need help?
If you run into any issues enabling command blocks or configuring your Minecraft Java server, the RiverHosting support team is ready to help.
Visit riverhosting.com/support to open a support ticket. Include your server name and a description of the issue so the team can assist you as quickly as possible.