-
-
Notifications
You must be signed in to change notification settings - Fork 78
All Reward Possibilities
Most reward types and logic can be configured easily through /av gui.
For manual editing, examples are provided here:
Define when a reward should run. Multiple can be combined together.
| Requirement | Description |
|---|---|
| Permission | Requires specific permission. (AdvancedCore.Reward.<RewardName> by default) |
| World / BlackListedWorlds | Restrict or block execution by world name. |
| Chance | Chance out of 100 (e.g., Chance: 40). |
| Online / Offline / Both (RewardType) | Defines if reward runs only for online, offline, or both players.ONLINE → Player must be online at the time.OFFLINE → Only given if the player is offline.BOTH → Default behavior. |
| JavascriptExpression | Expression must return true to run. |
| VaultGroup | Requires player to be in Vault permission group. |
| RewardExpiration | Reward expires if not claimed in time (in minutes). |
| Server / BlockedServers | Restrict to specific servers or exclude some (Bungee/Velocity setups). |
| LocationDistance | Only run if player is within distance of given coordinates. |
| Timed | Trigger reward at a specific time of day (hour/minute). |
| Delayed | Delay the reward by seconds or ticks. |
| Date / DayOfMonth | Trigger reward on specific days, weekdays, or months. |
| WorldGuardRegion | (If supported) Limit to specific regions. |
| AdvancedWorld | Define rewards per world. |
Money: 1000
# Or random range:
# Money:
# Min: 100
# Max: 3000
# Round: falseRequires Vault. Negative values remove money.
EXP: 100
EXPLevels: 3
# Random EXP range:
# EXP:
# Min: 100
# Max: 1000
# EXPLevels:
# Min: 3
# Max: 7🎒 Items
Items:
Diamond:
Material: DIAMOND
Amount: 1
Name: '&aSpecial Diamond'
Lore:
- 'Line 1'
Enchants:
unbreaking: 1
Glow: false
# ItemFlags, SkullURL, ItemsAdder, CustomModelData, etc. also supported.Supports chance, random amount ranges, custom models, ItemsAdder/Nexo compatibility, potions, and custom names.
Commands:
- 'say %player% received a reward!'
# Random command:
RandomCommand:
- 'say random1'
- 'say random2'
# NumberCommand:
NumberCommand:
Min: 1
Max: 10
Command: 'say Random number: %number%'Commands can run as console or player and support placeholder parsing.
Potions:
ABSORPTION:
Duration: 100
Amplifier: 1 Title:
Enabled: true
Title: '&cTitle!'
SubTitle: '&aSubTitle!'
FadeIn: 10
ShowTime: 50
FadeOut: 10
BossBar:
Enabled: true
Message: '&aBossbar Message'
Color: BLUE
Style: SOLID
Progress: 0.5
Delay: 30
ActionBar:
Message: '&cThis is an actionbar!'
Delay: 30 Sound:
Enabled: true
Sound: 'entity.player.levelup'
Volume: 1.0
Pitch: 1.0 Effect:
Enabled: true
Effect: 'EXPLOSION_NORMAL'
Data: 1
Particles: 10
Radius: 5 Firework:
Enabled: true
Power: 2
Colors:
- BLUE
FadeOutColor:
- RED
Trail: true
Flicker: true
Types:
- BALL_LARGE
Detonate: false Messages:
Player: '&aYou received a reward!'
Broadcast: '&b%player% just voted!'
Broadcastsupports global proxy broadcast if configured.
Selects one random item from a defined list.
RandomItem:
Diamond:
Material: DIAMOND
Amount: 1
Iron:
Material: IRON_INGOT
Amount: 10Chooses one random reward block or file.
AdvancedRandomReward:
reward1:
Commands:
- 'say reward1'
reward2:
Commands:
- 'say reward2' Random:
Chance: 40
PickRandom: true
Rewards:
- 'RewardA'
FallBack:
- 'RewardB'Executes rewards in order — the first one to meet all conditions runs.
AdvancedPriority:
Reward1:
Chance: 50
Messages:
Player: 'You got first reward'
Reward2:
Chance: 20
Messages:
Player: 'You got second reward'
Fallback:
Messages:
Player: 'You got unlucky'📘 Docs: AdvancedPriority Examples
SpecialChance:
5:
Commands:
- 'say 5'
15:
Commands:
- 'say 15'
30:
Commands:
- 'say 30'
50:
Commands:
- 'say 50'Adds up all numbers (weights). Each reward’s chance = (value / total) × 100%.
Lucky:
'10':
Messages:
Player: 'You were lucky and got $100!'
Money: 100
'50':
Messages:
Player: 'You were lucky and got $1000!'
Money: 1000Adds all numbers together and selects 1 out of the total.
Example: 1 “10� and 1 “50� = 10 in 60 chance (~16.6%).
Run logic inside rewards to determine actions or conditions dynamically.
Javascript:
Enabled: true
Expression: "BukkitPlayer.hasPermission('vip')"
TrueRewards:
Commands:
- 'say VIP Reward!'
FalseRewards:
Commands:
- 'say Not VIP'📘 Reference: Javascript API
Allows players to select one of multiple rewards (GUI prompt).
EnableChoices: true
Choices:
Diamond:
DisplayItem:
Name: '&c3 Diamonds'
Material: DIAMOND
Amount: 3
Rewards:
Items:
Diamond:
Material: DIAMOND
Amount: 3
Iron:
DisplayItem:
Name: '&c15 Iron Ingots'
Material: IRON_INGOT
Amount: 15
Rewards:
Items:
Iron:
Material: IRON_INGOT
Amount: 15Great for giving players a reward selection (e.g., choose between XP or money).
Summary
| Category | Examples / Features |
|---|---|
| Requirements | Chance, Permission, World, Timed, Delayed, LocationDistance |
| Effects | Items, Money, EXP, Commands, Potions, Titles, BossBar, ActionBar, Fireworks, Sound, Effects |
| Advanced Logic | Priority, AdvancedPriority, SpecialChance, Lucky, Javascript, RandomReward, ChoiceRewards |
| Meta Options | Delayed execution, Server restrictions, Date-based triggers, RewardType handling |
- VoteMilestones
- Vote Streak System
- VoteReminders
- Vote Broadcast System
- Vote Logging
- Webhooks
- Time Changes
- Month Date Totals
- Rewards Overview
- Reward System
- Reward File
- Where to Set Rewards
- All Reward Possibilities
- Reward Examples
- Delayed Reward Command
- World Example
- VotingPlugin Specific Rewards
- Commands & Permissions
- API
- PlaceHolderAPI Placeholders
- Minecraft Server Lists
- Bedrock Player Support
- Transferring Data Storage