AT-PinataParty

Permissions

The permission nodes the plugin uses and who gets them by default.

The plugin has one permission node.

NodeWhat it grantsDefault
pinataparty.adminEvery /pp subcommand, and the update notice on joinOperators

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 /pp command gives the no-permission message.

Granting it

With LuckPerms:

/lp group admin permission set pinataparty.admin true

Or to one player:

/lp user Steve permission set pinataparty.admin true

Operators 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.

On this page