Skip to main content

Rewards

Structure

tasks.yml
get_diamonds:
type: block_break

conditions:
- type: block
materials:
- DIAMOND_ORE
- GOLD_ORE

rewards:
- guild_xp:100
- guild_quest:2

We are going to focus on the rewards part of the task structure.

Rewards is a list of rewards, written as a list of strings, each element follows the format: {reward_type}:{value}

where {reward_type} is the type of reward and {value} is the value for that reward.
Value is usually a number, but it can also be another type of value, depending on the reward type.

General Conditions

These conditions will be structured using a string to value format.

TypeValues TypeDescriptionExample
xpNumericGive the player experience points.xp:100
guild_xpNumericAdd experience points to the guild.guild_xp:100
guild_questNumericAdd progress to the guild quest.guild_quest:2