Build a game lobby
You've built a few minigames — now give them a home. A lobby is a hub room with labeled pads: step on one and it launches that game. It's the same tick.json trick you already know, pointed at the functions from your other projects.
1. Set up the lobby
Drop players into Adventure mode (so they can't break the hub), clear their gear, teleport them to the lobby platform, and welcome them.
# functions/lobby/setup.mcfunction
gamemode adventure @a
clear @a
tp @a 0 70 0
title @a title Welcome!
title @a subtitle Step on a pad to play
2. Build the pads
Place a distinct block for each game with a sign above it — gold for coins, redstone for PvP, emerald for spleef. The tick function launches the matching game when a player stands on a pad. These call the setup/start functions from your other projects.
# functions/tick.mcfunction (via tick.json)
execute as @a at @s if block ~ ~-1 ~ gold_block run function coin/setup
execute as @a at @s if block ~ ~-1 ~ redstone_block run function pvp/start
execute as @a at @s if block ~ ~-1 ~ emerald_block run function spleef/start Each line reuses a function you already wrote — the lobby is just a router. Add a pad per game.
3. A way back
Give every game a "return to lobby" — a command block or a pad that runs this, resetting players to the hub. Have each game's win function call lobby/back when it ends.
# functions/lobby/back.mcfunction
gamemode adventure @a
clear @a
effect @a clear
tp @a 0 70 0 Make it a real server hub
- · Add a cooldown tag so a pad launches once, not every tick while someone stands on it.
- · Show a scoreboard of total wins across all games.
- · Use /spreadplayers or per-game spawns so players don't all land on the same spot.
- · Decorate with item frames or NPCs describing each game.
See it in Minecraft
Players land in the hub to a friendly welcome — then step on a pad to launch any of your games.
The plaza and colored launch pads in the shot are a few fills — run this once:
# functions/lobby/build.mcfunction — plaza + launch pads
fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 polished_andesite
fill ~-6 ~-1 ~-2 ~-4 ~-1 ~0 gold_block
fill ~-1 ~-1 ~-2 ~1 ~-1 ~0 redstone_block
fill ~5 ~-1 ~-2 ~7 ~-1 ~0 emerald_block Fill the lobby with games.
Browse every worked project and wire them into your hub.
All tutorials