Celeb Glow
updates | May 07, 2026

How do I enable command blocks on a Forge-based server

I'm trying to enable command blocks on a server I set up. I've been trying to find a command or something to get it to work but nothing IS working. I tried gamerules but that didn't work either. Help me ;-;

3

1 Answer

Command blocks can be enabled by editing the server.properties file which usually located in the root directory or the folder which the server jar file is.

It is the file which stores all the settings for a multiplayer server.

You will find the line:

enable-command-block=false

Set it to:

enable-command-block=true