DUXPLIMA Documentation

Reference

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

Using the bow needs no node: a player who holds it shoots it. What the server decides is who is given one, through item.give and the world filter.

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.

NodeDefaultGrants
uxmteleportbow.languageeveryonelang, lang set, lang reset
uxmteleportbow.admin.giveopgive, to yourself or another player
uxmteleportbow.admin.reloadopreload
uxmteleportbow.admin.doctoropdoctor
uxmteleportbow.admin.versionopversion, and the bare /uxmteleportbow
uxmteleportbow.admin.languageoplang set-player and lang reset-player
uxmteleportbow.admin.*opEvery admin node, on a permission plugin that reads wildcards

uxmteleportbow.admin.* declares no children, so it grants the nodes under it only through a permission plugin that reads a * as a wildcard, as LuckPerms does. On one that does not, grant each node.

With LuckPerms:

lp group helper permission set uxmteleportbow.admin.give true
lp group admin permission set uxmteleportbow.admin.* true

Keeping the bow from a group

There is no node for shooting. To keep the bow from some players, do not hand it to them: turn off the item.give switches and give it with a command that names who gets it, such as a [console] uxmteleportbow give %player_name% line in another plugin's join actions, guarded by its own permission.

Related: Operator commands, The bow and the arrow