DUXPLIMA Documentation

Reference

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

Every node is declared in the plugin, so a permission plugin lists them all. Players can play on a fresh install without any setup: uxmkotl.play and uxmkotl.language are everyone's.

Players

NodeDefaultGrants
uxmkotl.playeveryone/kotl and every subcommand under it: the arena list, join, leave, stats, top, and the two windows
uxmkotl.languageeveryone/kotl lang, lang set, lang reset: reading this plugin in a language of your own

Joining by walking into an arena checks no node. To keep a group out of every arena, take uxmkotl.play away and switch join-on-enter off on the arenas.

Operators

NodeDefaultGrants
uxmkotl.admin.*opEvery node below, through a permission plugin that reads wildcards, such as LuckPerms
uxmkotl.admin.createop/uxmkotl create
uxmkotl.admin.editopset and edit
uxmkotl.admin.enableopenable
uxmkotl.admin.disableopdisable
uxmkotl.admin.deleteopdelete
uxmkotl.admin.listoplist and show
uxmkotl.admin.tpoptp
uxmkotl.admin.resetopreset: taking a player off the record and every board
uxmkotl.admin.reloadopreload
uxmkotl.admin.doctoropdoctor
uxmkotl.admin.versionopversion, and the bare /uxmkotl, which opens the arena list
uxmkotl.admin.languageop/kotl lang set-player and lang reset-player: another player's language
The windows do not check the nodes again

The buttons of the arena list and the editor act for whoever has the window open. An operator who can open the list with uxmkotl.admin.list or uxmkotl.admin.version can create, edit, switch and delete arenas from it without create, edit, enable, disable or delete. Give a moderator who should only read the list show through the console instead, or give them nothing here.

A working setup

GroupGive
Everyonenothing: the defaults already let them play
A builderuxmkotl.admin.create, uxmkotl.admin.edit, uxmkotl.admin.enable, uxmkotl.admin.disable, uxmkotl.admin.list, uxmkotl.admin.tp
A moderatoruxmkotl.admin.reset
An administratoruxmkotl.admin.*

With LuckPerms:

lp group builder permission set uxmkotl.admin.edit true
lp group admin permission set uxmkotl.admin.* true

Related: Player commands, Operator commands