English
English
Appearance
English
English
Appearance
In the MT Inventory Weight mod, a set of admin commands allows for full control over a player's inventory weight, including setting base values, adding multipliers, and retrieving current weight information. These commands are crucial for managing gameplay balance, adjusting weight limits, or debugging inventory and armor weight in the game.
The primary command used to manage inventory weight for players. It has several subcommands, allowing admins to set and get different weight values for themselves or other players.
This command is used to set specific weight-related values for players. It has the following subcommands:
/inventoryweight set base <value>
/inventoryweight set base 50
/inventoryweight set multiplier <value>
/inventoryweight set multiplier 10
/inventoryweight set multiplier <player> <value>
/inventoryweight set multiplier player123 15
player123
a 15-unit weight increase.This set of commands allows admins to retrieve information about the weight-related stats of players.
/inventoryweight get base
/inventoryweight get base
/inventoryweight get base <player>
/inventoryweight get base player123
/inventoryweight get multiplier
/inventoryweight get multiplier
/inventoryweight get multiplier <player>
/inventoryweight get multiplier player123
/inventoryweight get combined
/inventoryweight get combined
/inventoryweight get combined <player>
/inventoryweight get combined player123
/inventoryweight get value
/inventoryweight get value
/inventoryweight get value <player>
/inventoryweight get value player123
The debugweight
command is useful for debugging individual item weights in the game. It can give information about the weight of the item currently held in the player's main hand.
/debugweight
/debugweight
Output could be something like:
This command provides detailed information about the player's armor and the pockets it has.
/debugarmor
/debugarmor
Output example:
If no armor pieces have pockets, it will inform the player: "No pockets detected on equipped armor."
Set Player Limits:
/inventoryweight set base
and /inventoryweight set multiplier
to adjust how much weight a player can carry before being affected by penalties.Get Player Info:
/inventoryweight get base
, /inventoryweight get multiplier
, and /inventoryweight get combined
to monitor how much weight a player can carry and adjust balance accordingly.Debugging Items and Armor:
/debugweight
to check how much weight an item adds to the player's inventory, especially useful for modded items or debugging custom weights./debugarmor
to inspect how many pockets armor pieces have and their overall weight contribution.All the above commands require the player issuing them to have a permission level of 4 or higher (typically admin-level permissions).
This ensures that only server administrators or players with appropriate permissions can adjust inventory weight settings or retrieve sensitive player weight information.
The MT Inventory Weight mod provides a robust set of commands for managing and debugging inventory weight mechanics. Admins can easily modify a player's weight capacity, monitor their inventory stats, and debug items and armor to maintain balance in gameplay.