Skip to content
Get started

Examples

View as Markdown

Each example is a complete project in the examples/ folder of the Minekube repository. Each has rules with Stories, recorded sessions that replay in bun test, and an end-to-end test that runs it on real servers.

  • Launcher

    The reference game - a sign next to spawn that launches every player who right-clicks it into the air - with its rules in a component, Stories, a replayed recording and a bot client that plays it end to end.

  • Browser wall

    A wall of maps in item frames that shows a web page, where every player sees and drives a page of their own - clicks, scrolling with the hotbar and /browse - with a headless browser behind it.

  • Lobby network

    A network bundle on Velocity in front of a lobby and an arena - /lobby on every server, and players kicked from a game land back in the lobby - tested with every client version the proxy serves.

Was this helpful?