DUXPLIMA Documentation

Reference

Every node uxmHubPvP declares, its default, and what it grants.

Every node is declared in the plugin, so a permission plugin lists them all. Players can fight on a fresh install without any setup.

A node held by everybody (default: true) keeps its command visible, and a sender without it is refused with command.no-permission; any other node hides its command from a sender without it.

Players

NodeDefaultGrants
uxmhubpvp.useeveryone/pvp and every branch under it; the bare /pvp presses the toggle
uxmhubpvp.statseveryone/pvp stats, your own record and another player's
uxmhubpvp.topeveryone/pvp top
uxmhubpvp.languageeveryone/pvp lang, lang set, lang reset: reading this plugin in a language of your own
uxmhubpvp.bypass.commandsopTyping any command while combat tagged

stats and top need uxmhubpvp.use as well, because it guards the whole /pvp command. The toggle item checks no node: a player who holds it can press it.

Operators

NodeDefaultGrants
uxmhubpvp.admin.*opEvery operator node, through a permission plugin that reads wildcards, such as LuckPerms
uxmhubpvp.admin.resetopreset: taking a player off the record and every board
uxmhubpvp.admin.reloadopreload
uxmhubpvp.admin.doctoropdoctor
uxmhubpvp.admin.versionopversion, and the bare /uxmhubpvp
uxmhubpvp.admin.languageop/pvp lang set-player and lang reset-player: another player's language
Operators type anything in a fight

uxmhubpvp.bypass.commands is an operator's by default, so an operator who fights can teleport out of it. Test the combat tag with a player who is not an operator, and deny the node to staff who fight for real.

A working setup

GroupGive
Everyonenothing: the defaults already let them fight
A moderatoruxmhubpvp.admin.reset
An administratoruxmhubpvp.admin.*
A group kept out of fightsdeny uxmhubpvp.use, and keep the toggle item from them

With LuckPerms:

lp group default permission set uxmhubpvp.bypass.commands false
lp group admin permission set uxmhubpvp.admin.* true

Related: Player commands, Operator commands