Appearance
Inventory Weights Client Configuration
MT Inventory Weight uses fzzy_config for client-side configuration.
The old ItemWeightsConfigClient class and inventory_weights_client.json file are no longer used.
Client settings are now stored in a fzzy_config TOML file, usually located at:
text
config/inventoryweight/client-config.tomlIf Mod Menu is installed, players can usually open the config screen directly from the in-game Mods menu.
What the Client Config Controls
The client config only affects local display and UI features, such as:
- HUD style
- HUD position
- HUD text
- HUD text position
- tooltip visibility
- sprite/bar display settings
Gameplay values such as max weight, item category weights, pocket weight, and overload penalties are controlled by the server config.
Configuration Options
hudStyle
Controls the visual style of the HUD.
Available values:
text
SPRITE
BARSPRITEuses the old bundle-style PNG icon display.BARuses a simple rectangular progress bar.
Default:
toml
hudStyle = "SPRITE"hudPosition
Controls where the HUD appears on the screen.
Available values:
text
TOP_LEFT
TOP_RIGHT
CENTER_LEFT
CENTER_RIGHT
BOTTOM_LEFT
BOTTOM_RIGHT
HOTBAR_LEFT
HOTBAR_RIGHT
CENTER_HOTBAR
CUSTOMDefault:
toml
hudPosition = "BOTTOM_RIGHT"xOffset and yOffset
Used when:
toml
hudPosition = "CUSTOM"These values are percentages of the screen size.
Examples:
toml
xOffset = 0.5
yOffset = 0.5This places the HUD near the center of the screen.
toml
xOffset = 0.0
yOffset = 0.0This places the HUD near the top-left corner.
spriteSize
Controls the rendered size of the sprite HUD.
The source textures are 16x16, but this value can scale them.
Default:
toml
spriteSize = 16barWidth and barHeight
Controls the size of the bar HUD.
Default:
toml
barWidth = 82
barHeight = 10These options only affect the HUD when:
toml
hudStyle = "BAR"hudTextMode
Controls what text is shown near the HUD.
Available values:
text
NONE
CURRENT
MAX
CURRENT_MAX
PERCENT
REMAINING
CURRENT_MAX_PERCENTExamples:
| Value | Example Display |
|---|---|
NONE | no text |
CURRENT | 45.0k |
MAX | 90.0k |
CURRENT_MAX | 45.0k/90.0k |
PERCENT | 50% |
REMAINING | 45.0k |
CURRENT_MAX_PERCENT | 45.0k/90.0k (50%) |
Default:
toml
hudTextMode = "CURRENT_MAX"hudTextPosition
Controls where HUD text appears relative to the HUD element.
Available values:
text
BELOW
ABOVE
LEFT
RIGHT
INSIDE
CUSTOMDefault:
toml
hudTextPosition = "BELOW"hudTextXOffset and hudTextYOffset
Extra pixel offsets for HUD text.
These values work with all text positions.
Example:
toml
hudTextXOffset = 4
hudTextYOffset = -2When hudTextPosition is set to CUSTOM, these values act as the custom text position relative to the HUD element.
keepHudTextOnScreen
Prevents HUD text from rendering outside the screen.
Default:
toml
keepHudTextOnScreen = trueWhen enabled:
- text below the HUD flips above if it would go off the bottom of the screen
- text above the HUD flips below if it would go off the top
- text on the left flips right if it would go off-screen
- text on the right flips left if it would go off-screen
- final text position is clamped inside the screen
This is especially useful for the sprite HUD because the icon can be close to screen edges.
hudTextColor
Text color as an RGB integer.
Default white:
toml
hudTextColor = 1677721516777215 is decimal for 0xFFFFFF.
hudTextShadow
Controls whether HUD text has a shadow.
Default:
toml
hudTextShadow = trueshowTooltips
Controls whether item weight tooltips are shown.
Default:
toml
showTooltips = trueLegacy Options
These options are kept for migration compatibility:
toml
showNumbers = true
showPercentage = trueNew configurations should use hudTextMode instead.
Example Client Config
toml
hudStyle = "SPRITE"
hudPosition = "BOTTOM_RIGHT"
xOffset = 0.5
yOffset = 0.5
spriteSize = 16
barWidth = 82
barHeight = 10
hudTextMode = "CURRENT_MAX"
hudTextPosition = "BELOW"
hudTextXOffset = 0
hudTextYOffset = 0
keepHudTextOnScreen = true
hudTextColor = 16777215
hudTextShadow = true
showTooltips = trueExample: Simple Bar with Percentage Text
toml
hudStyle = "BAR"
hudPosition = "HOTBAR_RIGHT"
hudTextMode = "PERCENT"
hudTextPosition = "ABOVE"
barWidth = 82
barHeight = 10Example: Sprite HUD with Text Above
toml
hudStyle = "SPRITE"
hudPosition = "BOTTOM_RIGHT"
hudTextMode = "CURRENT_MAX"
hudTextPosition = "ABOVE"
spriteSize = 16
keepHudTextOnScreen = trueConfig Management
fzzy_config manages loading, saving, validation, and GUI generation automatically.
You no longer need manual methods such as:
text
loadConfig()
saveConfig()Changes made through the config screen are saved by fzzy_config.
Troubleshooting
The HUD text goes off-screen
Enable:
toml
keepHudTextOnScreen = trueI do not see a config screen
Install:
I want to disable tooltips
Set:
toml
showTooltips = false