Mercantile

Commands

The /mercantile command tree. Op-restricted subcommands require permission level 2 (default op). Self-query commands work for any player.

/mercantile reputation

Show own reputation

/mercantile reputation

No permission required. Displays the executing player's reputation score and tier name (e.g. "Liked", "Trusted", "Honored"). Returns the score as the command result.

Example: /mercantile reputation → "You: 42 (Liked)"

Show another player's reputation (op 2)

/mercantile reputation <player>

Op-restricted. Reports another player's score and tier.

Example: /mercantile reputation Steve → "Steve: 105 (Honored)"

Set a player's reputation (op 2)

/mercantile reputation set <player> <value>

Op-restricted. Sets a player's reputation to an absolute value. Range: −100 to 200; Brigadier rejects out-of-range values at parse time.

Example: /mercantile reputation set Steve 100 → broadcasts "Set Steve's reputation to 100 (Honored)"

Add to a player's reputation (op 2)

/mercantile reputation add <player> <value>

Op-restricted. Adds (or subtracts, with a negative value) to the current score, then clamps to [−100, 200]. The <value> argument is bounded to [−300, 300] — wide enough to traverse the full range in one call, narrow enough to reject parser overflow.

Example: /mercantile reputation add Steve -50 → "Added -50 to Steve's reputation: 50 (Trusted)"

/mercantile reload

Reload config from disk (op 2)

/mercantile reload

Op-restricted. Re-reads .minecraft/config/mercantile.json on the server and broadcasts the new config to every connected client via the ConfigSyncS2CPayload. No restart required.

Out-of-range numeric values are clamped on load — hand-edited typos are silently corrected to safe values.

Example: /mercantile reload → broadcasts "Mercantile config reloaded."