Permissions
The permission nodes the plugin uses and who gets them by default.
The plugin has one permission node.
| Node | What it grants | Default |
|---|---|---|
pinataparty.admin | Every /pp subcommand, and the update notice on join | Operators |
What that means
- Players need nothing. Hitting a piñata, getting rewards, seeing the countdown and the finale all work with no permission at all. That is deliberate, since a party is meant to be for everyone online.
- Admins need
pinataparty.admin. Without it, any/ppcommand gives theno-permissionmessage.
Granting it
With LuckPerms:
/lp group admin permission set pinataparty.admin trueOr to one player:
/lp user Steve permission set pinataparty.admin trueOperators have it already, so if you only ever run the command as an op there is nothing to set up.
The update notice
Players with pinataparty.admin also see a short message a couple of seconds after joining when a newer version of the plugin is out. Turn it off for everyone with update-notifier: false in config.yml. See Metrics and update checks.
Reward commands
Rewards run as console, not as the player. That means a reward command works even if the player would not be allowed to run it themselves, which is usually what you want. A crate key reward does not need the player to have permission for the crate plugin's give command.