MiniMap Round 1.0.6

What it does
Adds a round minimap to the top right corner of every player's screen. When the server starts (or
the plugin loads) it draws a 512 x 512 map from the terrain, water and ground types. Each player
sees their own position as a marker. Under the map are zoom out and zoom in buttons, the current
grid square, and an optional extra button. The marker and grid square update every 2 seconds.

The map is shown to every player 2 seconds after they connect. There is no permission; each player
can hide it with /roundmap, which lasts until they reconnect.

The round shape, the frame ring and the player marker come from three images in data/MiniMapRound.
Without them the map still works but is square, has no ring, and the marker is a small orange
square.

The extra button runs the console command in "HUB button command". The default command belongs to
the MixCore hub, so the button stays hidden unless MixCore is loaded. Set it to a console command
that exists on your server to use it for something else, or turn "Show the HUB button" off.

Install
Drop plugins/MiniMapRound.cs into carbon/plugins (Carbon) or oxide/plugins (Oxide). Copy the
data/MiniMapRound folder into carbon/data (or oxide/data).

Commands
/roundmap - hide or show your map. Anyone.
/roundmap in (or +) - zoom in. /roundmap out (or -) - zoom out. Anyone. Three zoom steps.
roundmap.zoomin, roundmap.zoomout - console commands used by the map buttons. Player only.

Permissions
None.

Config highlights
Config file: carbon/configs/MiniMapRound.json
"Map size" = 140 - map size in pixels, 120 to 320.
"Margin" = 16 - gap from the top right corner in pixels.
"Left shift" = 0 - move the map further left in pixels, to clear other HUD items.
"Refresh seconds" = 2.0 - how often the marker and grid square update (1 or more).
"Show the HUB button" = true - show the extra button (hidden while its command is a mixcore. command
and MixCore is not loaded, or when the command is empty).
"HUB button command" = "mixcore.hud open" - console command the extra button runs.

Tested
Tested alone on Carbon 2.0.259.0 with Rust build 25454815 on 2026-09-28; runs without the rest of the MiX Server Pack.

Feedback
Questions, bugs and ideas: MixMods Discord, discord.gg/MZCdmvFrQ, message B1.

Licence
Free to run and change on your own servers. See LICENCE.txt.
