Command blocks disabled
Command blocks say they are not enabled on this server.
Turn on command blocks in Quick Settings (enable-command-block) and restart.
Before you start: Op to place and edit command blocks.
Step by step
- Open Quick Settings and turn on command blocks.
- Save, then restart the server from the Console tab so the setting loads.
- In game, switch to creative and run give YourName minecraft:command_block to get one.
- Place it and right-click to set its command; only ops can edit command blocks.
- Be careful with repeating command blocks on busy servers; they run every tick and can cause lag.
- Command blocks and datapack functions can do the same jobs; for complex logic a datapack is easier to back up and edit in Files.
Check it worked: Command blocks run their commands.
Why it happens: Command blocks are off by default for safety.
More guides on Console, commands, permissions, and players: