Upgrades
Using upgrades, you can give your players custom perks that are upgradable. In this documentation, you will understand how to edit them to your own style!
Creating your first upgrade
upgrades:
island-generators: # The name of the upgrade.
'1': # The first level of the upgrade.
<to-do>
'2': # The second level of the upgrade.
<to-do>'1':
price-type: 'money' # The type of price handler. More information below.
price: 100000.0 # The price to rank up to the second level.
commands:
- 'island admin setupgrade %player% island-generators 2' # We must change the level of the upgrade manually using a command.
- 'island admin msgall %player% &e&lUpgrade | &7%player% upgraded your generators to level 2!' # Message that will be sent to the island members.
permission: <your-permission> # You can add it if you want a required permission to rankup.Price Types
money
placeholders
Example
Last updated