Reward File - BenCodez/VotingPlugin GitHub Wiki
Reward files is how player gets reward. They can be given on voting, or via Rewards.yml (First vote, all sites, Number of votes)
Requirements to give reward possiblities:
- Permission
- World
- Chance
Possible Rewards/Effects that can be defined:
- Items (with random item amounts possible)
- Money (with random money amounts possible)
- Commands
- Potion Effects
- Title
- BossBar
- ActionBar
- Sound
- Particle Effect
- Custom Message (or default message in Format.yml)
Advanced:
- Randomly pick a reward file to give on chance, Also option if chance is unlucky give fallback reward
- Delay when to run reward file (useful for giving players perk on vote, then removing x hours later)
- Run reward file at specific time
See ExampleReward for examples on the above!