Skip to content
Dashboard

Networks in the Minekube plugin

View as Markdown

Minekube Connect makes Minecraft servers reachable without an open port. Today it does that with the Connect plugin and the Connect edge. The next generation of Connect is built into the Minekube plugin, and it adds networks: a name players join, and the servers that belong to it, wherever they run.

Connect plugin Minekube plugin
Status Production Preview, on staging
What you install The Connect plugin for Paper, Spigot, Velocity or BungeeCord, or Gate The Minekube plugin for Paper or Velocity
What players join One address per server, <endpoint>.play.minekube.net, or your own domain One address per network, <network>.g.minekube.net in production
Identity An endpoint name and a token A key the server makes on its first start, in a network it joined with consent
Picking servers By endpoint name By labels and selectors, as in Kubernetes
Programmable No The network’s proxy and servers run Games bundles
Use it when You want a public address for a server today You build a network, or you want to try what comes next

The two do not mix on one server. A server with the Minekube plugin brings its own connector and leaves the Connect plugin off.

  • The connector runs inside the Minekube plugin, in the server’s own process. It keeps one outbound connection to a relay, so the server needs no open port.
  • Relays read the hostname a player typed, pick a server of that network and pass bytes. They understand nothing else.
  • The registry knows which key belongs to which network and what labels each server has. Every network is an OpenID Connect issuer.
  • Networks decide who is in them. A server joins with an invite, a trust rule or a claim code, never without its consent.

Connector, relay and registry explains each part. The platform overview shows how Connect works with Games and Minekube Cloud.

  • Get startedPreview

    Put a Paper server into a Minekube network without writing any code - install the Minekube plugin, log in, create a network, let the server in with an invite, and join it from Minecraft.

  • Create a networkPreview

    Log in with your Minecraft account and create a Minekube network, the name players join and the group of servers that belong to it.

  • Let servers inPreview

    Add a server to your Minekube network with consent on both sides - your dev server with one flag, any server with a one-time invite, or every server of a Kubernetes cluster or CI system with a trust rule.

  • 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.

  • 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, revisions assigned to selectors, and primitives instead of policy: identity, the network boundary and verified facts.

  • Connector, relay and registryPreview

    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 a registry on Cloudflare Durable Objects that makes every network an OpenID Connect issuer.

  • Self-host the registry and relayPreview

    Run your own Minekube registry and relay - the registry as a Cloudflare Worker or locally in workerd, the relay as a container that gets its own certificate - from the open source repository.

  • connector.jsonPreview

    Every field of connector.json, the file in the Minekube plugin's folder that turns on the connector and says which registry, relays, network and labels a server has.

Was this helpful?