Command Permissions
This plugin requires no permission configuration by default, allowing server owners to use it out of the box ( hot-loading the plugin may cause default permissions to be invalid).
For many of the types mentioned below, if you’re unsure in lower versions, please use tab completion; in 1.12 and above, it will prompt automatically.
# Permissions
| Permission | Purpose | Default Holder |
|---|---|---|
| PlayerRewards.reload | Reload the plugin | op |
| PlayerRewards.view | View rewards | op |
| PlayerRewards.addReward | Add a reward | op |
| PlayerRewards.editReward | Edit a reward (1.1.2+) | op |
| PlayerRewards.createBatch | Batch create one-time activation codes | op |
| PlayerRewards.create | Create an activation code | op |
| PlayerRewards.createGift | Create a reward gift | op |
| PlayerRewards.use | Use an activation code | everyone |
# Commands
| Command | Purpose |
|---|---|
| /pr addReward [rewardType] [amount] (desc) | Add a reward |
| /pr editReward [ID] [rewardType] [amount] (desc) | Edit a reward (1.1.2+) |
| /pr create [codeName] [uses] [daysValid] (permission) | Create an activation code |
| /pr createBatch [amount] | Batch generate one-time activation codes into cdk.yml |
| /pr createGift [giftName] (rewardIds) (playerName) | Create a gift |
| /pr use [activationCode] | Player uses an activation code |
| /pr view reward | View reward list in the GUI |
| /pr reload | Reload the configuration file |
[] Required, () Optional
Reward Type Descriptions
- vault — Currency
- playerPoints — Points
- itemStack — Item
- command — Execute a command as OP
- console — Execute a command as the console (1.0.3+)