Atlas

A live web map of your Minecraft 26.3 (Fabric) world, like Dynmap: the whole world rendered from above, in a browser, with layers for waypoints, players, power grids (Gridworks), radiation (Radiation and Fission, with drifting clouds and fallout) and broadcast reception (Ham Radio).

Source code: github.com/Lamisator/mc_atlas

The DARC Funkstadt map in Atlas

The DARC Funkstadt map in Atlas

Installing

Atlas runs on the server only: players need nothing installed and can play with or without it.

  1. Put atlas-1.3.0.jar into the server's mods folder (Fabric loader 0.19.5 or newer, Fabric API).
  2. Start the server. The first start renders every saved chunk (the DARC Funkstadt map takes about ten seconds).
  3. Open http://<your server>:8123/ in a browser. On a server at home, open TCP port 8123 in the firewall or router.

In singleplayer it works too (the map is on http://localhost:8123/ while the world is open).

Gridworks, Radiation, Ham Radio and Fission are optional: each layer appears when its mod is installed.

The map

Layers

Players and waypoints

Players are shown with their name and the direction they look (every two seconds). Spectators and players in hiddenPlayers are not. Waypoints are named places with a flag; click one to zoom in.

Command
/atlas waypoint add <name> A waypoint where you stand
/atlas waypoint remove <name>
/atlas waypoint list Click one to get a teleport command

Power grid (Gridworks)

Every cable as a dot and every overhead line as a line, coloured by voltage: 12 V DC red, 230 V white, 10 kV orange, 110 kV blue. A cable carrying more than 80 % of its rating gets an orange ring, an overloaded one a red ring. Machines, transformers, solar panels, batteries, meters and breakers (open or closed) are marked. Hover for the load and current. The legend lists the largest networks with the power delivered of what is wanted - a network that cannot supply everything shows the share it does.

The Funkstadt grid: 110 kV ring, 10 kV feeders, the club's 12 V network

The Funkstadt grid: 110 kV ring, 10 kV feeders, the club's 12 V network

Radiation (Radiation, Fission)

A reactor accident seen from the city Close up: dose rates, debris, clouds drifting away

Measuring radiation

Click ☢ (top right, or press M) and move the mouse over the map: a Geiger counter reading follows it - the dose rate 1.5 m above the ground at the block under the mouse, measured on the server right then (walls and roofs count), how long until a lethal dose there, and where it comes from (fallout, a cloud overhead, corium...). The 8-block dose rate map shows at once; the exact reading replaces it a moment later. Click to pin a reading to the map, click a pin to remove it. M or Esc switches the tool off.

Where no player is near, the area is not loaded: then the reading ignores walls and roofs, and the ground height is the one the world generator would make.

Measuring along two fallout trails: dry (right) and in rain (left)

Measuring along two fallout trails: dry (right) and in rain (left)

Broadcast reception (Ham Radio)

Every broadcast transmitter and studio on air (📡), and for each how well a portable radio (rubber duck antenna, 1.5 m above the ground) would receive it, computed with Ham Radio's own antenna and propagation model - ground wave, terrain, and the sky wave at the time of the computation:

Colour Reception
grey noisy: just below what can be copied
yellow fair (up to 10 dB above the minimum for the mode)
light green good (10-20 dB above)
green excellent (20 dB and more)

Choose one station or Best of all stations. The coverage is computed up to 2048 blocks from each transmitter (dashed circle) on a 64-block grid, coarse to fine: a first rough map after a minute, the full one after a few minutes on the first run (the propagation model has to learn the terrain), seconds later on. It is computed again every ten minutes. Transmitters are found in the saved chunks, so this works while nobody is near them; they are assumed to be powered as configured.

Coverage of RADIO FUNKSTADT LW, 500 kW

Coverage of RADIO FUNKSTADT LW, 500 kW

Commands

Command
/atlas The map's address, the state of rendering and of the coverage computation
/atlas waypoint add\|remove\|list See above
/atlas render Operators: render all saved chunks again (after changing the world outside the game)
/atlas render here <radius> Operators: redraw the loaded chunks around you now
/api/measure/<world>?x=..&z=.. (web) a dose rate reading as JSON, for scripts
/atlas refresh Operators: measure dose rates and broadcast coverage again now

Configuration

config/atlas.json:

Setting Default
bind, port 0.0.0.0, 8123 Where the web map listens; 127.0.0.1 keeps it to the server itself (e.g. behind a reverse proxy)
title Atlas Title of the page
dimensions overworld, nether, end Dimensions that are mapped
fullRenderOnStart true Render all saved chunks on the first start (when there are no tiles yet)
renderBudgetMs 8 Milliseconds per tick for drawing loaded chunks
liveRadiusChunks, liveIntervalSeconds 6, 20 Chunks around players that are redrawn, and how often
showPlayers, hiddenPlayers true, []
radiationSpacing, radiationIntervalSeconds 8, 30 Dose rate grid
coverageSpacing, coverageRange, coverageIntervalSeconds 64, 2048, 600 Broadcast coverage grid

Tiles, waypoints and the list of transmitters are kept in <world>/atlas/. Deleting atlas/tiles renders the map anew at the next start.

Good to know

Changes

Building from source

./gradlew build                 # build/libs/atlas-1.3.0.jar
./gradlew runServer -PmapMods=<other mods' jars, comma separated>

libs/ holds the Gridworks, Radiation and Ham Radio jars it compiles against (all optional at run time). The web page is in src/main/resources/web/.

License

MIT