Item
Test and correction hooks against the item stack in the caller’s active hotbar slot. Every leaf that changes the item writes an audit line at warning severity, naming the caller, the change, and the item id, since handing out a tier, a crafter stamp, or an item’s remaining durability is not something a debug switch should be able to silence.
/mw item break/mw item resync/mw item set crafter <player>/mw item set crafterByUuid <uuid>/mw item set grade <grade>
/mw item break
masterwork.admin
Wear the held item down to its last point of durability, one use short of breaking. A repair kit’s price scales with how worn the item is, so what a repair actually costs is only visible on a nearly broken piece, and this is how to get one without spending the item first. It changes how worn the item is and never its maximum durability, so it is not a stand in for a repair kit. An item with no durability at all is refused.
/mw item resync
masterwork.admin
Run the item resync sweep over the caller’s own six containers right now (hotbar, storage, tool belt, utility belt, backpack, worn armor), instead of waiting for the sweep’s own triggers.
/mw item set crafter <player>
masterwork.item.crafter
Stamp the held item with an online player’s name and UUID, if it is not already signed. Re-signing an already signed item is refused, since a signature is written once.
/mw item set crafterByUuid <uuid>
masterwork.item.crafter
The same, for a player who is currently offline. Their name and signature color are read from their player file; a UUID with no player file is refused rather than stamped.
/mw item set grade <grade>
masterwork.item.grade
Swap the held item to the chosen tier’s variant. Setting it back to the base tier reverts it.