Skip to main content

Rewards

EpicAchievements offers a bunch of built-in rewards.
Below is a list of them:

tip

You can use the {player} placeholder in all rewards.

RewardDescription
BROADCASTBroadcast a message to the server
COMMANDExecute a console command
EXPERIENCE_LEVELSGive experience levels to a player
EXPERIENCEGive experience points to a player
MESSAGESend a message to a player
VAULTGive money to a player

Reward leveling system

Using the points earned by completing achievements, players can unlock rewards.
Below is an example configuration:

tip

You can use the {level} placeholder to get the current level.
Math expressions and functions are supported!

rewards.yml
rewards:
# Range of levels
1-100:
# Points required to unlock the reward. Math expressions are supported!
required-points: "{level} * 100"
# A list of rewards
rewards:
- "VAULT:{level} * 10"
# Item displayed when the reward is locked
locked-item:
material: "COAL"
name: "&cAchievement Reward"
lore:
- "&8Level {level}"
- "&7Required Points: &e{points}"
- ""
- "&7Reward:"
- "{rewards}"
- ""
- "{status}"
# Item displayed when the reward is unlocked
unlocked-item:
material: "GOLD_NUGGET"
name: "&aAchievement Reward"
lore:
- "&8Level {level}"
- "&7Required Points: &e{points}"
- ""
- "&7Reward:"
- "{rewards}"
- ""
- "{status}"
# Other levels can be added below