#
Rewards
Rewards feature allows you to define custom rewards for Daily Quests, Milestones and Battle Pass using the dedicated config file.
Rewards configuration file located at the following path: /ExcellentQuests/rewards.yml
You can create as many rewards as you want!
#
Reward Configuration
Reward configuration is simple!
# Rewards section. All rewards must go under it.
Rewards:
# Reward identifier (ID). Used in Quest and Milestone configuration in the 'Rewards.Custom' setting.
ms_cash_low:
# Custom variables for the reward.
# This option allows you to define one or multiple numberic values that will scale based on Quest, Milestone or Battle Pass data.
Variables:
# Variable identifier (ID). Used to insert variable value in the 'Name' or 'Commands' options of the reward.
# Variable placeholder format: %[VARIABLE_ID]%` -> %my_custom_variable%
amount:
# Base (initial) variable value.
Base: 0.0
# Bonus value (that is added to the 'Base' value) per objective unit.
# For example, a quest requiring mining 200 stones will result in [UnitBonus] * 200 bonus value.
# (This setting is useless for Battle Pass)
UnitBonus: 0.0
# Bonus value (that is added to the 'Base' value) for each Milestone or Battle Pass's level. [LV1, LV2, LV3, ..., LV99]
# (This setting is useless for Daily Quests)
LevelBonus: '[150.0, 300.0, 500.0, 750.0, 1500.0, 3000.0, 5000.0, 7500.0, 10000.0]'
# Reward display name.
# Supports variable placeholders.
Name: $%amount%
# Commands to run when reward is given to a player.
# Supports variable placeholders and PlaceholderAPI.
# Use %player_name% for player name.
Commands:
- money give %player_name% %amount%