Seven easy command block builds: a welcome message, a spawn teleporter, a free-food button, day-only mode, a no-rain switch, a speed pad and a death-free arena. Each one lists the blocks to place and the exact commands.
Intermediate Java Bedrock
Get the blocks with /give @s command_block, chain_command_block and repeating_command_block. Unless noted, commands work on both editions. New to command blocks? Start with the command block guide.
1. Welcome message
Impulse block under a pressure plate at your spawn.
title @p title {"text":"Welcome!"}The title command generator builds the JSON for you.
2. Spawn teleporter
Impulse block next to a button. Replace the numbers with your spawn.
tp @p 0 80 03. Free food button
give @p cooked_beef 84. Always day
Repeat block set to Always Active.
time set day5. No rain switch
Impulse block on a lever.
weather clear6. Speed pad
Repeat block, Always Active, hidden under a pressure plate area. It gives speed to anyone standing on gold.
execute as @a at @s if block ~ ~-1 ~ gold_block run effect give @s speed 3 2 trueThat is the Java form. On Bedrock use:
execute as @a at @s if block ~ ~-1 ~ gold_block run effect @s speed 3 2 true7. Healing zone
Repeat block, Always Active. It heals players within 5 blocks of the block.
Java: effect give @a[distance=..5] regeneration 2 1 true
Bedrock: effect @a[r=5] regeneration 2 1 trueKeep it light Repeat blocks run 20 times per second. Prefer one repeat block with a simple condition over many heavy ones.
FAQ
What can you build with command blocks?
Teleporters, shops, welcome messages, minigames, healing zones, custom day and weather rules and more.
How do I make a speed pad?
Use a repeat command block with execute as @a at @s if block ~ ~-1 ~ gold_block run effect give @s speed 3 2 true on Java, or the Bedrock form without give.
Will repeat command blocks lag my server?
Heavy commands every tick can. Keep them short and use conditions.
Checked by the Game Respawned editorial team against the current Java and Bedrock versions. Spotted something out of date? Tell us.