Nimbus
Nimbus on GitHub

v0.5.0 · built and tested against Vintage Story 1.22.6

One address.
Many worlds.

Nimbus is a Velocity-style proxy for Vintage Story. Your players connect to one public address; Nimbus routes them across every backend you run and moves them between worlds while they are still playing.

One address, many worlds An isometric schematic of a Nimbus network. Five players on the left all connect to a single public address, drawn as one gateway block labelled play.example.com port 42420. From there a single trunk reaches the Nimbus proxy in the middle, drawn as the Nimbus voxel cloud and labelled bind 0.0.0.0 port 42420, with routing, registry, plugins and forwarding running inside it. Four wires fan out from the proxy to four backend Vintage Story servers named hub, survival, factions and creative. One player is shown transferring out of survival, back through the proxy, and into factions. The wire to creative is dashed because that backend is drained, so it takes no new joins. PLAYERS PROXY BACKEND WORLDS one public address play.example.com:42420 Nimbus proxy bind 0.0.0.0:42420 routing registry plugins forwarding hub try = ["hub"] survival transfer from factions transfer to creative drained [servers] in nimbus.proxy.toml

Scroll the diagram sideways to see the whole network.

  • player traffic, in and out
  • a transfer in flight
  • drained, no new joins

The problem

A second Vintage Story server is easy. A network of them is not.

Vintage Story has no notion of a server network. Each dedicated server is its own island with its own address, its own ban list and its own view of who is connected. Nimbus sits in front of all of them and gives the group a shape.

Your players memorise addresses

Every world is a separate host and port. Add a server and the community has to be told about it; retire one and someone still has it bookmarked.

Players connect to the proxy bind and nothing else. The backends stay private, and the pool changes underneath them.

Your backends see the wrong IP

Put anything in front of a Vintage Story server and every connection arrives from that one address. IP bans, geo logic and connection logs all stop meaning anything.

Nimbus Forwarding hands each backend the real client IP, UID, name and source server inside an HMAC-signed reservation the player cannot forge.

Your bans are per-savegame

Ban a griefer on the survival world and they simply join the creative one. Every moderator action has to be repeated on every server.

The registry holds the ban list, so it covers the whole network and is enforced at the proxy door before the login reaches any backend.

What you get

Everything a network needs, and nothing that forks the game

Backends run stock Vintage Story with one server-side mod. No custom server build, no patched client for the default path.

This site documents v0.5.0, the current release. When something written up here is still on the development branch, it carries a badge saying so.

proxy

Routing and failover

An ordered try list decides where a fresh connection lands; the first healthy backend wins. Unreachable backends are skipped, and drained ones stay out of rotation while existing sessions carry on.

transfers

Runtime transfers

Move a player between worlds without them touching the server browser. Operators use /nimbus send, players use /server, admins use nimctl swap, and mods call one method.

security

Identity forwarding

The equivalent of Velocity Modern Forwarding. Short-lived single-use reservations, signed with a shared secret, carry a trusted identity from the proxy to the backend.

moderation

Network bans and whitelists

Both lists live in the registry and scope to the whole network or to a single backend. The proxy keeps a warm copy, so the check costs nothing per join and a registry outage leaves the last known lists in force.

extensibility

Plugins with an event bus

A .NET class library that references Nimbus.Api.dll can deny a connection, reroute a join, veto a transfer or log every session. Hot-reloadable with nimctl reload.

control plane

Registry, embedded or standalone

One proxy needs no extra process: the registry runs in-process. Several proxies sharing state point at a standalone Nimbus.Registry instead. Same API either way.

operations

An admin socket and a CLI

nimctl talks a line-based JSON protocol on localhost. List sessions, inspect one, kick, swap, drain, evacuate, dump the registry snapshot, reload. Scriptable from any language.

deployment

Panel-ready

Three eggs in the repository cover the proxy, the standalone registry and a Vintage Story backend with the mod preinstalled. One file imports into Pelican or Pterodactyl unchanged.

How it works

Four moving parts, one trust boundary

  1. Players reach the proxy

    Nimbus.Proxy accepts TCP and UDP on its bind. It parses the Identification frame early enough to know who is joining before any backend is contacted. The ban gate and the plugin hooks both depend on that ordering.

  2. The registry mints a reservation

    Before routing, the proxy asks the registry for a short-lived single-use token holding the player UID, name, real IP and port, and source server. The call is HMAC-signed.

  3. The backend consumes it

    Nimbus.ServerMod hooks PlayerJoin, consumes the reservation over another signed call, and stores the forwarding record. With ReservationRequired on, a player who arrives without one is kicked.

  4. Transfers reuse the same path

    A transfer intent goes to the registry; the proxy drains it, mints a reservation on the target, and either redirects the client or runs the seamless handshake. Same trust model, no reconnect by hand.

The pieces

Nimbus.Proxy
The edge process. Fronts every backend on one address: routing, transfers, admin socket, plugins, metrics, and the embedded registry.
Nimbus.ServerMod
A server-side Vintage Story mod on each backend. Heartbeats, enforces forwarding, exposes the transfer commands. Works with vanilla VS.
Nimbus.Registry
The standalone registry, for multi-proxy deployments. Single-proxy networks keep the embedded one and skip this entirely.
nimctl
The CLI for the admin socket. List players, transfer sessions, drain and evacuate backends, manage bans and API tokens, reload config.

The full picture, including the three-addresses model and the transfer state machine, is on the overview page.

Quick start

From one server to a network

Four steps, straight out of the repository. The Getting Started guide walks the same path with more room.

1Run the proxy once

A config file is written on first run, then the proxy exits. Grab the bundle from the latest release, or build it yourself with the .NET 10 SDK.

shell
./Nimbus.Proxy

# building from source instead
dotnet build Nimbus.slnx -c Release

2Add your backends

Keys in the servers table are the server IDs used everywhere else in the network. Change the shared secret before anything reaches the internet: the proxy refuses to start on a non-loopback registry bind while it is still the default.

nimbus.proxy.toml
bind = "0.0.0.0:42420"

[servers]
hub      = "127.0.0.1:42421"
factions = "127.0.0.1:42422"
survival = "127.0.0.1:42423"

try = ["hub", "survival"]

[registry]
mode = "embedded"
embedded_bind = "http://127.0.0.1:8765"
embedded_shared_secret = "<generated on first run>"

3Install the ServerMod on each backend

Drop Nimbus.ServerMod into the server’s Mods folder, start once to generate the config, then fill in four fields. The mod stays idle until all four are set.

ModConfig/nimbus-server.json
{
  "ServerId": "hub",
  "PublicHost": "play.example.com",
  "RegistryUrl": "http://127.0.0.1:8765",
  "SharedSecret": "<the secret your proxy generated>"
}

4Hand RedirectFix to your players

As of Vintage Story 1.22.6 the vanilla client crashes when it receives a redirect from a non-vanilla server, so redirect transfers need the RedirectFix client mod, version 1.0.1 or newer. The 1.0.0 zip never loaded, so an old copy in a Mods folder is the same as no copy at all.

Then point your published address at the proxy and stop advertising the backends. Day-to-day operation happens over the admin socket.

nimctl
nimctl list                       # who is connected, and where
nimctl swap 7 --server factions   # sessions are addressed by id
nimctl drain hub                  # stop new joins, leave sessions alone
nimctl evacuate hub               # move the ones already there, nobody dropped
nimctl ban --player Griefer       # network-wide, held by the registry
nimctl reload                     # re-read the config and the plugins

Project facts

v0.5.0

Current release, with the standalone registry shipped in the bundle.

1.22.6

The Vintage Story version Nimbus is built and tested against in CI.

1122

Tests across the proxy, the registry core and the ServerMod, the last of which run against a real embedded Vintage Story server.

292 → 10 ms

The frame sniffer on a 50,000-frame single read, before and after dropping the per-frame memmove. Typical 4 KB reads are unchanged.

Nimbus is source-available and developed in the open. Bugs and ideas go in the issue tracker, and pull requests are welcome.