Upgrades Menu
The structure of a file located inside menus/personal/upgrades-menus:
title: "&8Bank Upgrades"
# Possible values:
# "CHEST_1_ROW", "CHEST_2_ROW", "CHEST_3_ROW", "CHEST_4_ROW", "CHEST_5_ROW", "CHEST_6_ROW", "DISPENSER", "HOPPER"
inventory-type: "CHEST_4_ROW"
background-item:
material: "STAINED_GLASS_PANE:7"
amount: 1
items:
starter:
material: "WHEAT_SEEDS"
amount: 1
name: "&a%upgrade-starter-name%"
lore:
- "%upgrade-starter-description%"
click-actions:
- actions:
- "[UPGRADE] starter"
slot: 11
gold:
material: "GOLD_NUGGET"
amount: 1
name: "&6%upgrade-gold-name%"
lore:
- "%upgrade-gold-description%"
click-actions:
- actions:
- "[UPGRADE] gold"
slot: 12
deluxe:
material: "GOLD_INGOT"
amount: 1
name: "&b%upgrade-deluxe-name%"
lore:
- "%upgrade-deluxe-description%"
click-actions:
- actions:
- "[UPGRADE] deluxe"
slot: 13
super-deluxe:
material: "GOLDEN_CHESTPLATE"
amount: 1
name: "&d%upgrade-super-deluxe-name%"
lore:
- "%upgrade-super-deluxe-description%"
click-actions:
- actions:
- "[UPGRADE] super-deluxe"
slot: 14
premier:
material: "GOLDEN_HORSE_ARMOR"
amount: 1
name: "&5%upgrade-premier-name%"
lore:
- "%upgrade-premier-description%"
click-actions:
- actions:
- "[UPGRADE] premier"
slot: 15
go-back:
material: "ARROW"
amount: 1
name: "&cGo back"
lore:
- ""
- "&7Click to go back"
- "&7to your bank."
click-actions:
- actions:
- "[GO_BACK]"
slot: 31
# These options are added to the lore of the bank upgrades
# If you leave them empty they won't be added
lore-additions:
better-upgrade: "&eThis is a better account!"
own-upgrade: "&aThis is your account!"
previous-upgrade: "&cYou have a better account!"
need-previous-upgrade: "&cNeed previous upgrade!"Items
The items follow the format of Items.
You can define as many items as you want, using the following format:
Custom Actions
Besides the actions defined inside Actions this config file allows for the following custom ones:
[go_back] - This action simply returns the player to the main bank menu
[upgrade] <upgrade_config_name> - Based on the corresponding upgrades defined inside Upgrades, try to upgrade to a specific one.
Custom Placeholders
%currency-name%
The name of the bank's currency (in plural form)
%currency-color%
The color of the bank's currency
%upgrade-[upgrade-config-name]-name%
The name of an upgrade, fetched by their config name.
%upgrade-[upgrade-config-name]-description%
The description of an upgrade, fetched by their config name. It is a dynamic placeholder that spans over multiple lines.
%current-upgrade-name%
The name of the current upgrade.
%current-upgrade-description%
The description of the current upgrade. It is a dynamic placeholder that spans over multiple lines.
%current-upgrade-balance-limit%
The balance limit of the current upgrade.
Last updated