How to make a Reward
Rewards are what the players earn for tiering up the battlepass. Without rewards, what would be the point? Thanks to libreforge, rewards don't have to just be some XP, some currency, an item. They can be Potion Effects, stat multipliers, and much more. Rewards are really easy to setup, and they are totally reusable.
Default configs
The default configs can be found here.
How to add rewards
Each skill is its own config file, placed in the /rewards/
folder, and you can add or remove them as you please. There's an example config called _example.yml
to help you out!
The ID of the Reward is the file name. This is what you use in your battlepass configs, and effect filters. ID's must be lowercase letters, numbers, and underscores only.
Example Reward Config
Understanding the Sections
The Display Options
If you do not want to have any lore, you can simply blank it out.
The Effects Section
You can configure effects, conditions, filters, and mutators in this section to run when the BattlePass reward is claimed.
Other Examples:
This example grants the player a 25% Movement Speed Bonus for 30 Minutes.
This example runs a command from an external plugin, in this case, giving the player 2 Envoy Flares from AxEnvoy.
This example gives 100 Skill XP for the EcoSkills Mining skill.
Last updated