Skip to content
Get started

Minekube Games Change your game while you play

Write Minecraft games and networks in TypeScript and Effect, typed from the server's own jars. Save, and the running server swaps in your change while everyone stays connected. You or your coding agent see why each thing happened, and every session you play becomes a test.

Start in three commands

What you get

The server, the language and the tools you already know, with a loop that never makes you reconnect.

How it works

Your friend asks for a change while you both play. This is what saving does.

You (alex) and sam play on your dev server. sam asks for an aqua score; you change NamedTextColor.GOLD to AQUA in src/game.ts and save. mk dev installs the new bundle, the chat says "[games] Reloaded my-game (5d2e7b18)", nobody is disconnected, and sam places a block and says "aqua. nice".
  1. Save your code

    mk dev . bundles src/game.ts and installs it on the dev server on every save.

  2. Keep playing

    The Minekube plugin swaps the game on the next tick. You stay connected, and the world keeps its blocks.

  3. See why it happened

    The devtools show each message, the Commands it issued and the Model it changed. Agents ask the same through MCP.

src/Round.test.ts
// every order of two players' blocks, up to 4 steps
Story.explore(Round, {}, {
  messages: [PlacedBlock(alex), PlacedBlock(sam)],
  transition: ({ before, after, message }) => …,
  depth: 4,
});
$ bun test
 6 pass
 0 fail

Every session is a test

The rules import no Java, so they run in Bun in milliseconds. Story checks each step, Story.explore tries every order of your messages, and every session you play on the server can be replayed through today's rules.

Testing

Program your network

The proxy is code too. A network bundle runs in Velocity: where players land, /lobby, what happens after a kick. Save, and it swaps while players stay connected. Velocity finds its servers by label selectors, so a server can restart or move hosts and stay reachable.

Network bundlesLabels and selectors
my-network: terminal
# a lobby with /lobby and kick fallback$ mk init my-network --network# relay on 25577, Velocity, lobby and arena$ mk server --network --accept-eula$ mk dev .# instances by label, as kubectl -l$ mk instances --network dev -l stage=lobby

Built for coding agents

Your agent works the same loop you do: types generated from the server, the Minekube Games skill and one strict check, the devtools through MCP, and real Minecraft clients it starts with mk client to play what it built.

Devtools and message logs

Run it for players

Publish to a Connect network that players join at one address, with no open port, and run the servers on Minekube Cloud, on your machines or ours.

Minekube Cloud

Build your first game in a few minutes

Create a project, start the dev server and change the game while you play.