TRGB Companion Map

by WickedWabbit
TRGB Companion Map

Summary

Live companion map for your Arma Reforger server. Shows players, vehicles and AI on a map, viewable on a phone or second screen and posted to Discord. Server-side, works on any terrain.

Description

This mod is intended for Discord Members of TRGB Community

TRGB Companion Map

A live companion map for your server. While the game runs, the mod sends player, vehicle and AI positions to a companion map service, which shows them on a web map and posts a live map image to Discord. Perfect for a second screen, a phone, or keeping an eye on the server from Discord.

FEATURES
- Players with names and facing direction, updated every 2 seconds
- Vehicles with crew counts, and AI groups by faction
- A full map drawn from the loaded terrain: roads, buildings, town names, forests, contour lines, sea and a grid that matches the in-game one
- Works on any terrain, vanilla or modded; the map switches automatically when the scenario changes
- Members-only web map and a live map image in Discord (when used with the TRGB bot)
- Lightweight: the map is scanned once per terrain, a few tiles at a time, so the server never stalls

HOW IT WORKS
The mod runs on the server only. It reads the loaded world and sends the data to a companion map web service over HTTPS. The service draws the map and handles who can see it. Players need nothing extra beyond the mod being in the server's mod list.

SETUP (SERVER OWNERS)
1. Add TRGB Companion Map to your server's mod list and start the server once.
2. The mod creates this file in your server's profile folder:
   profile/TRGB_CompanionMap/config.json
3. Fill it in:
   "url"               - your companion map service address, ending in /ingest
   "key"               - the secret key from your companion map service
   "serverId"          - a short ID for this server, e.g. "B"
   "intervalMs"        - how often positions are sent (default 2000 = 2 seconds)
   "showAI"            - true or false
   "showVehicles"      - true or false
   "terrainResolution" - terrain detail, 256 (default) or 512 for sharper hills
4. Restart the server. The console shows "[CompanionMap] Sending map data..." when it's working.

On the first start on each map, the server sends the terrain and then scans the map features (roads, buildings, names, forests). This takes around a minute and only happens once per terrain.

REQUIREMENTS
- A companion map service to send the data to. The mod does nothing until url and key are set.
- The web map and Discord image are provided by the TRGB bot. To get set up, ask on our Discord.

NOTES
- Roads come from the terrain's AI road network, so maps without one show no roads.
- Leaving url or key empty disables the mod.

Discord: HTTPS://www.TRGB.Link/Discord
Made by WickedWabbit

License

Arma Public License No Derivatives (APL-ND)

Version
1.0.6
Game Version
1.9.0.37
Version size
15.89 KB
Downloads
1
Created
16.11.2026
Last Modified
25.11.2026
ID
73FD1AACCC402465