Skip to content
Dashboard

Minekube concepts

Minekube is one platform with three products that work together. Each term below has a page of its own that explains what it is, why it works that way, and what is built and what is planned. The Minekube plugin carries the parts that run on your servers: Connect’s connector and the Games runtime.

Networking: networks, their members, and how players reach them without an open port.

  • NetworkPreview

    A Minekube network is a name players join and the servers that belong to it, wherever they run: owned by a Minecraft account, joined only with consent, closed to everyone outside it, and addressed by labels instead of IP addresses.

  • Instance and identityPreview

    An instance is one running server or proxy with the Minekube plugin's connector: its key is its identity, its labels say what it is, its status says how it is doing, and its home relay is where it can be reached.

  • Entry and routingPreview

    How a player's connection finds a server in a Minekube network - the relay reads the typed address and picks an entry instance that takes players - and why the network decides where players go while Minekube only guarantees identity, the boundary and verified facts.

  • Labels and selectorsPreview

    How a Minekube network picks its servers - labels on every instance, Kubernetes-style label selectors in text and Schema form, system labels, how Velocity finds its backends by selector, and mk instances and mk claim.

  • Joining with consentPreview

    A server becomes a member of a Minekube network only when the network's owner and the server both agree - with an invite, a trust rule that federates the server's own OpenID Connect token, or a claim code - because a key alone is public and members run the network's code.

  • AccountPreview

    A Minekube account is a Minecraft: Java Edition account - you prove it by joining the Minekube hub, which Mojang checks, and mk login turns the hub's one-time code into a session - and an account owns networks.

  • ConnectorPreview

    The connector is the part of the Minekube plugin that makes a server or proxy reachable without an open port: a Rust library in the server's own process that keeps one connection to its home relay, accepts only its network's streams and installs the bundles its network deploys.

  • RelayPreview

    A relay is the server players connect to: it reads the address a player typed, picks an entry instance of that network and copies bytes both ways, understanding nothing else, so every network shares a few relay addresses and needs no open port.

  • Minekube APIPreview

    The Minekube API is one HTTP API for every network - the registry of keys, networks, labels and status, accounts, trust rules, versions and deployments, and every network as an OpenID Connect issuer - a Cloudflare Worker with Durable Objects at api.minekube.com, or on your own machine.

  • Connector, relay and APIPreview

    How Minekube makes every server reachable without an open port: a Rust connector with iroh inside the server's process through Java's FFM API, relays that only pass bytes, and the Minekube API on Cloudflare Durable Objects that makes every network an OpenID Connect issuer.

  • Network modelPreview

    How Minekube networks are designed: three questions with three answers, labels and selectors as in Kubernetes, one routing question with data for answers, versions deployed to selectors, and primitives instead of policy: identity, the network boundary and verified facts.

Code: what you write, how it runs inside the server, and how it reaches a network.

  • Bundle

    A bundle is one JavaScript file that a Minekube runtime loads: a game on Paper, a proxy bundle on Velocity, or a client bundle in a Minecraft client - named by its content's hash, installed by writing the file.

  • Game

    A Minekube game is an Effect UI component tree - rules that turn messages into a new Model and Commands, a server half that connects them to Paper, a scope per revision that cleans up after it, and child components as failure boundaries.

  • Runtime and live swap

    The Minekube plugin's JavaScript runtime runs bundles in GraalJS inside the server's own process - it loads a new bundle on a thread of its own, swaps it in on the server thread, and never replaces a working bundle with a broken one.

  • Recording and replay

    Every revision of a Minekube bundle records its message log - each message, the Model after it and the Commands it issued - so a session can be read in the devtools and replayed by bun test through today's rules.

  • Versions and deployments

    A version is an immutable set of bundles named by the hash of its content, and a deployment points a label selector of a Minekube network at a version: every server whose labels match runs its bundles, and one that starts later gets them by itself.

  • Platform version

    A Minekube project names the Paper and Velocity versions its bundles are built for, like a Cloudflare compatibility date: mk generates the project's types from that version's own jars, the dev server runs it, every build records it, and mk deploy warns about servers that run another.

Hosting: the servers themselves, on your machines or ours.

  • Servers and clusters

    How Minekube Cloud runs Minecraft servers - an Akua Cluster on our machines or yours, at four levels of control, with Packages and Installs for your server images - and how those servers join Connect networks and run Games bundles.

Was this helpful?