Mods

Unified Xaero Worldmap

One shared Xaero's World Map for everyone on a server. How live sync and catch-up work, what players and server owners see, the /uxwm commands, every config key and the limits.

On this page (15)

Unified Xaero Worldmap makes Xaero's World Map a shared map. Without it, each player only sees the chunks they walked themselves. With it, whatever anyone explores is added to one map for the whole server, and a player who joins late gets the whole map filled in.

There is nothing to set up. No web map, no file copying and no command. Players explore as usual, and the map fills in on everyone's screen.

At a glance#

SideBoth. The same jar on the server and on every client
Version in the pack2.1.0, Fabric, Minecraft 1.21.1
NeedsXaero's World Map 1.46.0 or newer on the server and every client (the pack has 1.47.0), Fabric Loader 0.18.4 or newer, Fabric API, Java 21
OptionalXaero's Minimap, client side only (26.4.0 or newer; the pack has 26.6.0)
Made byNavrelis (listed as Obscura in the jar)
LicenceCC0 1.0
Players without itThey can still join. They keep their own map and do not take part in the sync

Why Nytheria has it#

Exploring is half the game, and with friends you do not want to map the same spawn area five times. Nytheria is built around parties, so the map should be a shared thing too. This mod is the missing piece: it keeps every explorer's work and shares it. See Play with Friends and Exploration & Travel.

What a player sees#

  • You explore, everyone sees it. A new area appears on your friends' maps about 7 seconds after it was mapped (measured in the real game with two clients and default settings). No reload, no menu.
  • Catch-up on join. When you join with an empty or old map, the server sends you the shared map in passes. At the default rate that is 2 map regions per second, roughly 200 to 600 KB/s. A server map of 1,000 regions took about 7 minutes to reach a new player in a test. An 840 block route showed up 6 to 10 seconds after joining.
  • Every dimension and cave layer. The Nether, the End and modded dimensions sync, and so do sliced cave layers. Discoveries in a dimension you are not in still arrive and wait for you there.
  • Your old map counts. A map you had before the mod was installed is shared in the background. It is not pushed live to others, so it reaches players who are online at their next periodic check (every 120 seconds by default).
  • Nothing to press. The mod adds no keys and no screens. You use M for the world map as before.
  • One chat line when it cannot sync. If the server and your client speak different protocol versions, you get one line, "Map sync off: server runs protocol vN, this client vM.", and sync stays off for that connection. You are never kicked for it.

Zooming out the first time

The first full zoom-out over a big explored area can show black patches for a while. That is Xaero's World Map building its zoomed-out caches, a few regions per second, not this mod. It is instant on later opens.

Singleplayer and LAN#

  • A singleplayer world that is never opened to LAN does not start the server half at all: no config file, no store, no background thread.
  • When you open a world to LAN (for example with e4mc), the host's own client does not take part in the sync, because Xaero already maps the host's world from the save. Every guest who joins syncs normally, with the host acting as the server.

How it works#

  1. When Xaero saves a region, the client uploads the 16 by 16 block tiles it changed.
  2. The server merges every upload into one store per dimension, cave layer and region. Merging only adds or updates tiles. Nothing a client sends can delete what another player explored.
  3. Changed tiles are pushed live to every other online player.
  4. On join, on a dimension change and every reconcileIntervalSeconds, each client compares region hashes with the server and pulls what it misses.

While at least one other synced player is online, the client asks Xaero to save map regions every 5 seconds instead of Xaero's own 60. That is what makes sharing fast. A player alone on the server keeps Xaero's own interval.

An upload of old data (from before you joined) only fills holes, so old never beats new. A "live" upload for a place far from where the player has been is only merged additively and is not broadcast, so a client cannot invent live updates for places it never visited.

Safety on public servers#

  • The server only accepts uploads for its own dimensions and for cave layers Xaero can really produce. Malformed data is rejected.
  • Each player has an upload rate limit and a capped share of the server's work, and the whole store has a size cap (4 GiB by default).
  • A region file that cannot be read is left alone. A corrupt one is renamed to <name>.corrupt-<timestamp>. A config.json that does not parse is kept as config.json.broken-<timestamp> next to a fresh default.
  • If a Xaero's World Map update changes something the mod links against, sync switches itself off with one warning in the log and one chat message. The game and Xaero's own map keep working as if the mod were not there.

Import and render (server owners, since 2.1.0)#

Two admin tools fill the shared map without anyone walking there. Both only add to the map. Online players get the result at their next periodic reconcile, not as a live push.

Commands#

CommandPermission levelWhat it does
/uxwm import [<folder>]3Imports the whole import folder, or a subfolder of it
/uxwm render [<dimension>]3Draws the surface of every level that has no ceiling, or of the named dimension
/uxwm status2Regions per dimension, store size against its cap, the running task with progress and the summary of the last one
/uxwm cancel3Cancels the running import or render

Only one of import and render runs at a time. Every command answers at once, so the answer also reaches RCON. The details go to the server log, with the prefix Map import: or Map render:.

Importing existing maps#

  1. Collect the newest maps you have, for example a player's xaero/world-map/<world> folder or the map of a singleplayer world.
  2. Copy them into <world>/unified_xaero_worldmap/import/. Any nesting works as long as the dimension folder is there: null for the Overworld, DIM-1 for the Nether, DIM1 for the End, or <namespace>$<path> for a modded dimension.
  3. Start the server, or run /uxwm import. The whole import folder is imported at every start if it holds region files.
  4. Read the summary in the log (Map import: finished: ...) or in chat.
  5. Processed files are moved to <world>/unified_xaero_worldmap/imported/<date-time>/. Nothing is deleted, so it is also your backup.

Good to know:

  • The existing server map always wins over an import, and an import only fills gaps. Import before players join if you can.
  • More than one mw$ folder in one dimension folder is refused (they are different worlds, and mixing them would corrupt the shared map for good).
  • Maps from another Minecraft family, or from before World Map 1.46, are skipped and counted.
  • A tile a player never sent to the server can be replaced by an older imported one. A visit to the chunk heals it for everyone.

Rendering from pre-generated chunks#

/uxwm render makes the server draw the surface from chunks that already exist in the world files, for example chunks pre-generated with Chunky. It only reads what is on disk. It generates nothing and loads no chunk.

  1. Run /save-all first. The render reads only chunks that are saved in the region files.
  2. Run /uxwm render. Without an argument it draws every level that has no ceiling. The Nether is left out unless you name it: /uxwm render minecraft:the_nether.
  3. Watch /uxwm status or the log, which prints a line every 60 seconds.

It works one region file at a time, nearest to the world origin first, reads a few chunks per tick, and pauses while the average tick is above 40 ms. In one test, 24 regions with about 1,250 chunks took about 15 seconds. It resumes after a restart, and /uxwm cancel stops it for good. Run it again after the world changed.

Server-drawn tiles live in their own store, <world>/unified_xaero_worldmap/generated/, and never replace a real tile. When a player walks into a server-drawn chunk, Xaero redraws it from the real world and the real tile replaces the drawn one for everyone. Only 2.1.0 clients see server-drawn tiles. A 2.0.x player gets imports but not renders, and one chat line asking to update.

Config#

File: <world>/unified_xaero_worldmap/config.json, written with defaults on the first start. Changes take effect on restart. Values are clamped to their range. The pack ships no override, so Nytheria runs the defaults. The defaults are made for a 5 to 20 player survival server.

KeyDefaultWhat it does
syncEnabledtrueMaster switch. When false the server answers the handshake and does nothing else
reconcileIntervalSeconds120 (10 to 86400)How often clients re-sync. Also how long a joiner's old map takes to reach the others
maxRegionsPerTick2 (1 to 64)Regions sent to one catching-up player per pass
syncIntervalTicks20 (1 to 1200)Ticks between those passes (20 is one second)
persistIntervalSeconds30 (0 to 3600)How often merged regions are written to disk
maxUploadsPerSecond8 (1 to 256)Upload rate per player
liveSaveIntervalMillis5000 (1000 to 60000)How long a client may hold a dirty region before saving, while other synced players are online. Lower is fresher and costs more
maxStoreBytes4 GiB (256 MiB to 1 TiB)Size cap of the whole store. At the cap no new region is created, while existing ones keep merging
maxRegionsPerLayer50000 (1 to 65536)Cap of stored regions per dimension and cave layer
maxPayloadBytes1048576Largest compressed tile payload
maxInFlightBytesPerPlayer8388608Uploaded but not yet merged bytes allowed per player
maxIoMillisPerSecondPerPlayer500 (50 to 1000)One player's share of the server's single IO thread
regionCacheSize128 (8 to 4096)Regions held in the store's cache, roughly 10 to 30 MB
ioQueueCapacity512Depth of the IO queue
copiedTileGuardtrueKeeps copied map tiles (a chunk showing another chunk's picture) out of the map. Only judges 2.0.0 and 2.0.1 clients
backgroundIoMillisPerSecond200 (20 to 1000)IO time per second that /uxwm import and /uxwm render may use
renderChunkReadsPerTick32 (1 to 1024)Chunks /uxwm render reads per tick

A well explored region is about 100 to 200 KB on disk, so the default 4 GiB holds some 20,000 to 40,000 of them.

Compatibility notes#

  • Same version of Xaero everywhere. Xaero's World Map 1.46.0 or newer is required on the server and every client. Older releases are not supported.
  • Same jar on both sides. The 2.x releases speak one protocol (v5) and work together in any mix. The 1.0.0 release does not.
  • Minecraft family. The map format must match, which in practice means the same Minecraft version. A proxy that bridges versions can break this for one player. Sync then turns off for that player with a message.
  • Performance. The mod's own per-frame code costs about 0.01 ms per client tick. Parsing and disk work run on background threads. With another synced player online, the 5 second save interval cost about 10 percent at roughly 2,000 FPS in one test, a few hundred microseconds a frame.
  • Not synced. Xaero's "full" cave mode layer (only sliced layers sync) and region files in a save format from before Xaero 6.
  • A viewed region reloads briefly when other players' tiles arrive for it.

What it builds on and credits#

  • Xaero's World Map by Xaero96. Everything about map drawing, storage and exploration is his. This mod is an independent, unofficial add-on, not affiliated with or endorsed by him, and it does not include his mod.
  • Unified Xaero Worldmap: Navrelis. It is public domain (CC0), so anyone may reuse it.

FAQ#

Do I need it to see the map? No. Xaero's World Map works without it. You need it to share the map.

Can someone wipe our map? No. Merging only adds or updates tiles. A client cannot delete what others explored.

Why does my friend's route appear on my map a few seconds late? New tiles are saved every 5 seconds and then pushed on. Expect about 7 seconds. Old data a player already had before joining takes up to a reconcile interval (120 seconds by default).

A tile on the map shows the picture of another chunk. That was a bug of 2.0.0. Walking through the chunk with a current client redraws it and heals it for everyone.

I joined and my map is empty. Give it a minute. Catch-up is paced so it does not flood the server. Large maps take minutes.

Can I use it on my own server? Yes. It is CC0, and the project has a jar for each Minecraft version from 1.16.5 to 26.3 on Fabric, Forge and NeoForge. Pick the jar for your version and loader, and install it next to Xaero's World Map on the server and on every client.

See also#

Last updated 2026-12-01 Source: content/mod-unified-xaero-worldmap.md ↑ Back to top