
Reusable reward files are stored in:
plugins/VotingPlugin/Rewards
Reference a file by its name without .yml.
plugins/VotingPlugin/Rewards/Thanks.yml:
Money: 100
Commands:
- 'say %player% voted'
Messages:
Player: '&aThanks for voting!'
Reference it from a VotingPlugin reward location:
Rewards:
- Thanks
A reward file starts directly with reward keys. Do not wrap the entire file in another Rewards: section.
RequirePermission: true
Permission: 'server.vip'
Worlds:
- world
Chance: 25
RewardType: ONLINE
Requirements can be combined. Online-only requirements and effects need a live player context.
Reward files can provide:
Use All Reward Possibilities for syntax and AdvancedPriority Rewards for first-match selection.
VotingPlugin may queue a reward until the player is available. Avoid assuming that online-only effects, permissions, worlds, inventories, GUI choices, action bars, or player commands can run identically while offline. Test the actual proxy/standalone delivery path.
Do not edit generated files under Rewards/DirectlyDefined; change the inline source configuration instead.