Skip to content

The live map

Each server’s public page has a Map tab: this wipe’s map, with the game’s own grid, its monuments, and layers for everything that moves. It is drawn in the browser from two things the bridge answers live — the picture, and the positions.

A Rust server's live map: the island from the game's own render under a grid, with monuments, airdrops and a PvP zone around the cargo ship marked, above the switches for each layer.
RustThe live map, rendered from the running server and refreshed every ten seconds while the tab is open. Each layer has its own audience.

From Rust+, when it is on. A server with app.port set renders its map at boot and keeps the picture for the Rust+ companion app; the bridge reads that picture and nothing else of Rust+’s, and the site fetches it once per map and keeps it. Admin → Rust visibility says, per server, where the picture came from, its size and when it was fetched, with Fetch again.

Without Rust+, an admin asks for one, with Render now on the same screen. The game can render the map on request, but it holds the server’s main thread for several seconds while it does, so it never happens on its own. The rendered picture is kept on the game host and served again after a restart on the same map; a new map makes it stale.

The picture says nothing about who plays — it is drawn from the map’s seed — so it is always public. Monument labels follow the in-game map’s own; some are hidden by default, and the visibility screen says how many.

Every layer has its own audience, set on Who sees who is online:

Layer What moves on it
Monuments & world events Cargo, patrol and Chinook helicopters, Bradley, supply drops, locked crates — with how long a hack has left — and RunicNPC bosses placed outside an event
Site events The zones, crates and NPCs this site’s events placed, while they run
Players Connected players, then offline sleepers, by name
Bases Tool cupboards and vending machines, as positions only — no owner, no authorised list, no shop name
PvP zones Dynamic PVP’s zones, where they are now
Raid bases RaidableBases’ live bases, their difficulty, when they despawn, and which an event spawned

The players layer can never show more than who is online does. A linked player always sees themselves and their online clan mates, unless an operator turns that off.

Two keys in RunicGateway.json, MapMaxSleepers and MapMaxBases, cap how many sleepers and bases one answer carries. Over a bound the layer is cut short and says so; a read has nobody to refuse, so it is trimmed rather than refused.

rg.map at the server console prints the map’s key, where the picture came from, its size, whether a render is running, the game’s grid, the size of each layer, and how many map asks there have been, with the last and the slowest.

rust-link/PROTOCOL.md §17 is the map on the wire, and §20.7 and §20.12 add its two optional layers.