Enable Command Blocks on Your Minecraft Server
How to enable command blocks on your Minecraft Java server.
Command blocks are disabled by default on servers. Enable them in server.properties:
enable-command-block=trueRestart your server after changing.
Requirements
- Only OP level 2+ players can place and use command blocks
- Command blocks cannot be obtained in survival — use
/give @p command_block - Three types: Impulse (orange), Chain (green), Repeat (purple)
⚠️ Security: Command blocks can execute any command. Only enable on servers where all OPs are trusted.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server