Setting Up Rewards
Follow a step by step tutorial to create a reward by yourself.
There are three types of reward formats you can use: command format, money format or item format. You may use any plugin's command's in them as long as you use the "%player%" placeholder.
COMMAND FORMAT BREAKDOWN
Before we start you need to understand what you are editing and what each line of the format means and what it does. Below is a explanation next to each section of the format.
'1': #(The reward id used to link it to a tier) (DONT USE THE SAME NUMBER TWICE)
type: command #(Reward type)
name: "Announces you achievement" #(Name for booster message)
lore-addon: #(Reward description)
- '&6 - Announces you achievement.' #(Reward description)
commands: #(Item or Command being excuted when reward is claimed)
- 'broadcast &6%player% reached a key BattlePass tier!!' COMMAND FORMAT:
Here is a example using a ExcellentCrates command to give a key to the player.
'1':
type: command # You can still use commands to give items :)
name: "1 Common Key"
lore-addon:
- '&6 - &e1 Common Key'
commands:
- 'crate key give %player% Common 1'ITEM FORMAT BREAKDOWN
Before we start you need to understand what you are editing and what each line of the format means and what it does. Below is a explanation next to each section of the format.
ITEM FORMAT:
Here is a example of giving a diamond sword with a custom name and lore to the player.
MONEY FORMAT BREAKDOWN
Money rewards require Vault and economy plugin which is compatible with Vault
Before we start you need to understand what you are editing and what each line of the format means and what it does. Below is a explanation next to each section of the format.
MONEY FORMAT:
Here is a example where player get $250
Reward variables (+ boosters support)
Sometimes, you want to create one reward for multiple tiers. Let's say that you want to create reward which gives money to player (money type). This reward should be increased by $100 on every tier, so on 5th tier player get $500, on 8th $800 etc. You can create that using variables.
In this case player gets (100 * %tier%) * (1 + (%booster% / 100)) money.
(100 * %tier%)- $100 multiplied by tier* (1 + (%booster% / 100))- Reward boosters support
Ofc, you can create multiple variables with custom names in the same reward
ADDING ENCHANTMENTS
Make sure to use lowercase for enchantment IDs. You can also add enchantments from AdvancedEnchantments.
Last updated
Was this helpful?