Skip to content

Client Configuration

Client config file modularshootammo-client.toml (NeoForge config system), located in the standard config directory. Editable in-game via Options → Mods → ModularShootAmmo; changes take effect next frame after saving — no restart needed.

This mod has no server-side configuration; everything below is client (HUD) config.

Options

Config keyTypeDefaultRangeDescription
hud.offsetXInteger80-2000HUD offset from the right/left screen edge (GUI-scaled pixels)
hud.offsetYInteger80-2000HUD offset from the bottom/top screen edge (GUI-scaled pixels)
hud.scaleDouble1.00.25-4.0HUD overall scale factor
hud.showReserveBooleantrueShow the reserve count (second segment of the mag/reserve format); when off, only the magazine count is shown
hud.showReloadProgressBooleantrueShow the reloading message and progress bar while reloading
hud.anchorEnumBOTTOM_RIGHTBOTTOM_RIGHT / BOTTOM_LEFT / TOP_RIGHT / TOP_LEFTHUD corner anchor

HUD Display Rules

  • While holding a gun with the ammo system enabled (uses_ammo), line 1 shows: mag/reserve
    • Both numbers are tinted with the bound ammo type's color
    • An empty magazine turns the numbers red (0xFFFF5555) as a warning
    • Infinite ammo (infinite_ammo) or creative mode show
  • While reloading, line 2 shows the reload message plus a progress bar (controlled by hud.showReloadProgress)

Released under the MIT License