LuckPerms¶
For: advanced users gating perks by manhunt role.
Install LuckPerms and JManhunt exposes a jmh-role context carrying
the player's live role: none, afk, spectator, speedrunner, or
hunter. Unassigned and offline players read as none; there is no
null value. The context refreshes on every role change without relog.
Use it in any context-aware command, for example (schematic):
Quick Start: Role Suffixes (5 Minutes)¶
Show a colored [RUNNER] or [HUNTER] tag after names in chat:
- Install a LuckPerms-compatible chat plugin so suffixes actually render. LPC Chat works and supports MiniMessage. Without one, the suffixes below exist in LuckPerms data but never display.
- Add the speedrunner suffix (note the leading space: suffixes
always look like
" [suffix]"so they never butt against the name):
- Add the hunter suffix:
That is it: the jmh-role context swaps the suffix automatically as
roles change. To avoid doubling up with the built-in team colors,
turn them off:
The built-in colors (red hunters, green speedrunners, yellow AFK, gray spectators) only recolor the name itself; LuckPerms prefixes and suffixes apply on top untouched. They stay on by default; see Role Roster.
Without LuckPerms installed the context is unavailable and the plugin logs a single line at startup. Nothing else changes.