-
-
Notifications
You must be signed in to change notification settings - Fork 82
Reward File
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:
- ThanksA 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: ONLINERequirements can be combined. Online-only requirements and effects need a live player context.
Reward files can provide:
- items and random item amounts;
- economy money through Vault;
- experience and levels;
- console or player commands;
- potion effects;
- titles, boss bars, and action bars;
- sounds, particles, and fireworks;
- player messages and broadcasts;
- delayed or scheduled child rewards;
- ordered, random, weighted, or choice-based child rewards.
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.
- Vote Milestones
- Vote Streak System
- Vote Reminders β Current System
- Legacy Vote Reminding
- Vote Broadcast System
- Vote Logging
- Webhooks
- Time Changes
- Month Date Totals
- VoteShop
- Rewards Overview β Start Here
- Special Rewards
- Reward System Concepts
- Reward File Format
- Where to Set Rewards
- All Reward Possibilities
- AdvancedPriority Rewards
- Reward Examples
- Delayed Reward Command
- World Example
- VotingPlugin-Specific Rewards
- Commands & Permissions
- Signs
- API
- PlaceholderAPI Placeholders
- Minecraft Server Lists
- Bedrock Player Support
- Transferring Data Storage
