Commands & Permissions
Commands
Section titled βCommandsβBase command /dstattrack, with aliases /dstat and /stattrack.
| Command | Permission | Player only | Description |
|---|---|---|---|
/dstattrack |
β | β | Open the apply/remove GUI. |
/dstattrack help |
β | β | Show the command list. |
/dstattrack info |
dstattrack.info |
β | List the stat categories. |
/dstattrack add |
dstattrack.add |
β | Apply a stattrack to the held item (charges the price). |
/dstattrack remove |
dstattrack.remove |
β | Remove the stattrack from the held item. |
/dstattrack set <category> <amount> |
dstattrack.set |
β | Set a counter to an exact value. |
/dstattrack check |
dstattrack.check |
β | Print the raw tags on the held item. |
<category> tab-completes to Playerkills, Mobkills, Block, Fishing (accepted case-insensitively). <amount> is a non-negative integer.
Commands are registered at runtime by DzusillCore β there are no command entries in
plugin.yml, so nothing clashes with other plugins unless they use the exact same name/alias.
Permissions
Section titled βPermissionsβ| Node | Default | Grants |
|---|---|---|
dstattrack.info |
everyone | List categories with /dstattrack info. |
dstattrack.add |
op | Apply a stattrack. |
dstattrack.remove |
op | Remove a stattrack. |
dstattrack.set |
op | Set a counter to an exact value. |
dstattrack.check |
op | Inspect raw tags. |
Suggested setup
Section titled βSuggested setupβ- Players β leave defaults. With
dstattrack.infothey can list categories; grantingdstattrack.addanddstattrack.removelets them stattrack their own gear (they still pay the price). - Staff β
dstattrack.setanddstattrack.checkfor fixing or auditing values.
/lp group default permission set dstattrack.add true/lp group default permission set dstattrack.remove true/lp group staff permission set dstattrack.set true/lp group staff permission set dstattrack.check trueThe Add and Remove buttons in the GUI are hidden from players who lack dstattrack.add / dstattrack.remove.