ALB Studio

Upgrades

Let islands buy tiers of size, team slots, generator tiers, crop growth, limits, bank and storage space with money, items and requirements.

Docs updated · What changed

On this page

What it doesLink to this section

Upgrades let a team make its island better over time: a bigger border, more team slots, better generators, faster crops and more. Each upgrade has tiers. You buy them one after another, with money, sometimes items, once you meet the tier's requirements (for example an island level).

Upgrades belong to the island, not to a player. They stay after /is reset.

The addon is the jar ALBSkyblock-Upgrades.jar. See Addons to install it. Money needs an economy plugin through Vault.

The upgrade menuLink to this section

/is upgrade opens the Island Upgrades menu. /is upgrades does the same. The menu always shows your island: the one you own, or the one of your team.

Each upgrade shows:

  • what it does,
  • a bar with your tier, for example 2/7,
  • Now: what your island has now (Default before the first tier),
  • Next: what the next tier gives,
  • Cost: the money and items the next tier costs,
  • the next tier's requirements, each with ✔ (met) or ✖ (not met).

The last line tells you where you stand:

LineMeaning
Click to upgradeYou can buy the next tier now.
Not ready yetSomething is missing: a requirement, money or items.
Fully upgradedEvery tier is bought. The upgrade glows and shows MAX.

Buy an upgradeLink to this section

You need the Buy island upgrades right. The owner and co-owners have it by default.

  1. Type /is upgrade.
  2. Click an upgrade that says Click to upgrade.
  3. A confirm menu shows what you get, the cost, and who pays.
  4. Click Yes.
  5. Chat says Upgraded with the new tier. Your team mates who are online are told too.

The new tier works right away. A bigger island grows at once, also when the owner is offline.

If something is missing when you click, chat lists what you still need. Nothing is taken.

Pay from the island bankLink to this section

On servers that let you choose (the default, with the Island Bank addon installed), clicking an upgrade with a money cost opens the Who pays? menu instead of the confirm menu.

  1. Type /is upgrade and click the upgrade.
  2. Check the two payers. Each one says Click to pay, Not enough money, or Your role may not use the bank.
  3. Click Pay with your money or Pay from the island bank. Click Cancel to go back.

Paying from the bank needs the Take money from the island bank right as well. Officers and co-owners have it by default.

Things to knowLink to this section

  • Tiers are bought in order. You can't skip one.
  • Item costs always come from your inventory, whoever pays the money.
  • Only one purchase per island runs at a time. If a team mate is buying at the same moment, you are told to try again in a second.
  • If the tier or the price changed while the menu was open (a team mate bought it, or an admin changed it), nothing is bought. Chat says That changed while you were deciding. Look again and buy the new tier.
  • If anything goes wrong after paying, everything is given back. See Safe payments.

Upgrade typesLink to this section

Every upgrade has a type. The type decides what its value means.

TypeThe value isShown asNeeds
sizeThe island size. 100 = a 100x100 island. Capped at grid.spacing minus 32.100x100-
teamMost team members, the owner not counted.8-
trustedMost trusted players.12-
generatorThe generator tier unlocked: tiers 1 up to the value.Tier 3Generators
generator-speedThe chance in percent that a mined generator block comes back at once.25% instantGenerators
cropsThe chance in percent that a crop grows one extra stage each time it grows.+20% growth-
homesMost homes.5Homes
limitMost of one block. Set block too.45Block Limits
entity-limitMost of one entity type, or of a group. Set entity too.120Block Limits
bankMost money the island bank holds.$5,000,000.00Island Bank
storageIsland storage slots. 9 = one row, 45 = one page.27 slotsIsland Storage

More about some types:

  • crops works on crops and other plants that grow in stages, anywhere on the island. A plant that is already fully grown gets nothing extra.
  • generator-speed is explained on the Generators page.
  • limit and entity-limit only raise a limit that exists in the Block Limits config. A block or entity with no limit there stays unlimited, and the upgrade does nothing.
  • entity-limit takes an entity type (cow, villager, armor_stand...) or a group: animals, monsters, mobs or vehicles.
  • bank does nothing while the island bank has no limit.
  • storage never goes above the Island Storage addon's max-slots.

Ranks and upgradesLink to this section

Many values can also come from a rank permission, such as albskyblock.size.<N>. The rank and the upgrade are compared, and the higher one wins. Buying an upgrade never lowers what a rank gives.

TypeRank permission
sizealbskyblock.size.<N>
teamalbskyblock.team.<N>
trustedalbskyblock.trusted.<N>
generatoralbskyblock.generator.<N>
homesalbskyblock.home.<N>
limitalbskyblock.limit.<block>.<N>
entity-limitalbskyblock.entitylimit.<key>.<N>
bankalbskyblock.bank.capacity.<N>
storagealbskyblock.storage.slots.<N>

generator-speed and crops come from upgrades only. If two upgrades raise the same thing (for example two size upgrades), the higher value counts.

An island size fixed by an admin with /is admin setsize is not changed by upgrades. See Rank permissions.

The default upgradesLink to this section

The addon comes with these upgrades. Every tier costs money and needs an island level from the Level addon. None of them cost items.

UpgradeIdTypeTiersValuesCostIsland level
Island Sizesizesize775x75 to 500x50010,000 to 1,000,0005 to 100
Team Membersteamteam45, 6, 8, 1015,000 to 250,0005 to 60
Trusted Playerstrustedtrusted48, 12, 16, 2010,000 to 150,0005 to 50
Generatorgeneratorgenerator7Tier 2 to tier 85,000 to 800,0002 to 90
Crop Growthcropscrops410%, 20%, 35%, 50%10,000 to 200,0005 to 50
Homeshomeshomes34, 5, 710,000 to 60,0005 to 30
Hopper Limithopperlimit (hopper)330, 45, 6015,000 to 100,00010 to 45
Chest Limitchestlimit (chest)375, 100, 15010,000 to 75,00010 to 45
Redstone Limitredstonelimit (redstone dust)3150, 200, 30015,000 to 100,00010 to 45
Animal Limitanimalsentity-limit (animals)390, 120, 16015,000 to 100,00010 to 45
Generator Speedgenerator_speedgenerator-speed310%, 25%, 50%15,000 to 100,00010 to 45
Bank Sizebankbank32.5 million, 5 million, 10 million20,000 to 150,00010 to 45
Storage Slotsstoragestorage1018 to 135 slots5,000 to 250,0002 to 60

Without the Level addon, level requirements count as met, so the default upgrades only cost money.

Who paysLink to this section

The pay-with option decides whose money pays for upgrades. Change it in config.yml or in the editor (Who pays button).

pay-withWho pays
chooseThe buyer picks in the Who pays? menu: their own money or the island bank. Paying from the bank needs the Take money from the island bank right. Without the Island Bank addon, this works like player. This is the default.
playerAlways the buyer's own money.
bankAlways the island bank (Island Bank addon). If the bank doesn't have enough, nothing is bought.
bank-firstThe island bank when it has enough, else the buyer's own money. The confirm menu says which one pays.

A tier with a cost of 0 is free. It needs no economy and no menu choice. If a tier costs money and the server has no economy, players are told upgrades can't be bought.

Costs and requirementsLink to this section

Each tier has three things a team must pay or meet.

PartWhat it isTaken?
costMoney.Yes, from the payer.
itemsItems, for example 64 cobblestone. Vanilla items or Nexo items.Yes, from the buyer's inventory.
requirementsConditions, for example island level 10.No. They only have to be true.

Item costs are written as ITEM:amount: COBBLESTONE:64, nexo:<id>:8, or just DIAMOND for one. Nexo items need Nexo.

Requirements use the shared requirement types. The ones you will use most:

RequirementMet when
level:10The island is level 10 or higher (Level addon).
money:5000The buyer has at least 5000. Nothing is taken.
bank:10000The island bank holds at least 10000 (Island Bank addon).
item:DIAMOND:5The buyer carries 5 diamonds. Nothing is taken.
upgrade:size:2The island has the size upgrade at tier 2 or higher.
placeholder:%player_level%>=10A PlaceholderAPI comparison is true.

All requirement types and their rules are on the Concepts page.

The upgrade requirementLink to this section

The Upgrades addon adds the upgrade requirement type. Every feature that uses requirements can use it, not only upgrades. The Biome addon, for example, can lock a biome behind an upgrade.

  • Format: upgrade:<id>:<tier>, for example upgrade:size:2. The tier is optional: upgrade:size means tier 1.
  • Met when the island has that upgrade at that tier or higher.
  • Players read it as the upgrade's name and tier, for example "Island Size tier II".
  • An upgrade id that doesn't exist counts as met.

CommandsLink to this section

CommandWhat it doesPermissionIsland right
/is upgradeOpens the upgrade menu. Also /is upgrades.albskyblock.command.upgradeBuy island upgrades (to buy). Paying from the bank with choose also needs Take money from the island bank.
/is admin upgrade set <player> <upgrade> <tier>Sets an upgrade to a tier. 0 removes it. Nothing is paid.albskyblock.admin-
/is admin upgrade check <player>Lists every upgrade of the island with its tier and value.albskyblock.admin-

<player> is the owner or any team member of the island. Offline players work too. <upgrade> is the upgrade's id, for example size or generator_speed.

Give an island the third size tier for free:

  1. Type /is admin upgrade check Steve to see the island's tiers.
  2. Type /is admin upgrade set Steve size 3.
  3. The island grows to the third tier's size at once.

PermissionsLink to this section

PermissionDefaultWhat it does
albskyblock.command.upgradetrueUse /is upgrade and menu buttons that open the upgrade menu. Take it away to block them.
albskyblock.adminopThe /is admin upgrade commands and the editor.

The rank permissions that upgrades are compared with are listed in Ranks and upgrades.

Island rightsLink to this section

KeyRightMemberOfficerCo-owner
upgradesBuy island upgradesNoNoYes
bank_withdrawTake money from the island bankNoYesYes

The owner always has both. bank_withdraw comes from the Island Bank addon. Change rights per role in /is permissions. See Island settings.

ConfigurationLink to this section

The settings are in plugins/ALBSkyblock/addons/upgrades/config.yml. Everything can also be changed in game: see Edit upgrades in game.

The top of the file, and two of the default upgrades:

plugins/ALBSkyblock/addons/upgrades/config.yml
# Upgrades addon (/is upgrade). Also editable in game: /is admin editor > Addons > Upgrades.
#
# Every upgrade is a line of tiers bought one after another. Each tier has:
#   value        - what the island gets at that tier (see the types below)
#   cost         - money taken from the buyer (Vault). 0 = free.
#   items        - items taken from the buyer's inventory too, e.g. ["COBBLESTONE:64", "nexo:bloodstone:8"]
#                  (Nexo items need Nexo). In the editor: shift-right-click a tier with the item in hand.
#   requirements - extra things needed first, e.g. "level:10" (Level addon: island level),
#                  "money:5000" (just having it) or "upgrade:size:2" (another upgrade at tier 2+).

# Who pays for upgrades: choose (the buyer picks their own money or the island bank in a menu; the bank
# needs the "take money from the island bank" right), player (the buyer's own money), bank (the island
# bank only, Island Bank addon) or bank-first (the island bank when it has enough, else the buyer).
# Without the Island Bank addon, choose works like player. Also in /is admin editor > Addons > Upgrades.
pay-with: choose

upgrades:
  size:
    type: size
    name: "&#7DD3FCIsland Size"
    icon: GRASS_BLOCK
    tiers:
      - {value: 75, cost: 10000, requirements: ["level:5"]}
      - {value: 100, cost: 25000, requirements: ["level:10"]}
      - {value: 150, cost: 60000, requirements: ["level:20"]}
      - {value: 200, cost: 120000, requirements: ["level:35"]}
      - {value: 300, cost: 250000, requirements: ["level:50"]}
      - {value: 400, cost: 500000, requirements: ["level:75"]}
      - {value: 500, cost: 1000000, requirements: ["level:100"]}
  hopper:
    type: limit
    block: HOPPER
    name: "&#7DD3FCHopper Limit"
    icon: HOPPER
    tiers:
      - {value: 30, cost: 15000, requirements: ["level:10"]}
      - {value: 45, cost: 40000, requirements: ["level:25"]}
      - {value: 60, cost: 100000, requirements: ["level:45"]}

The upgrades appear in /is upgrade in the order of the file.

OptionDefaultWhat it does
pay-withchooseWho pays: choose, player, bank or bank-first. See Who pays.
upgrades.<id>13 upgradesOne upgrade. The <id> is used in commands, placeholders and the upgrade requirement.
upgrades.<id>.typeWhat it raises. See Upgrade types.
upgrades.<id>.nameThe name players see. Colour codes work.
upgrades.<id>.iconthe type's iconThe item shown in /is upgrade.
upgrades.<id>.blocklimit only: the block, for example HOPPER. Redstone dust is REDSTONE_WIRE.
upgrades.<id>.entityentity-limit only: an entity type such as cow, or a group such as animals.
upgrades.<id>.tiersThe tiers, in buying order. Each is {value, cost, items, requirements}.
tiers[].valueWhat the island gets at this tier. A whole number.
tiers[].cost0Money taken from the payer. 0 = free.
tiers[].itemsnoneItems taken from the buyer's inventory, as ITEM:amount.
tiers[].requirementsnoneRequirements, as <type>:<value>. All must be met.

An upgrade with an unknown type, a limit without a valid block, an entity-limit without an entity, or no tiers is skipped with a warning in the console.

When a newer version of the addon brings a new default upgrade, it is added to your config.yml once. The addon writes a defaults-added list to remember which ones it added, so an upgrade you deleted stays deleted. Leave that list as it is.

Add your own upgrade in the fileLink to this section

This adds a villager limit with an item cost and an upgrade requirement. Put it under upgrades:, then run /is admin reload.

YAML
  villagers:
    type: entity-limit
    entity: villager
    name: "&#7DD3FCVillager Limit"
    icon: VILLAGER_SPAWN_EGG
    tiers:
      - {value: 30, cost: 50000, requirements: ["level:20"]}
      - {value: 40, cost: 120000, items: ["EMERALD:32"], requirements: ["level:40", "upgrade:size:3"]}

The villager key must have a limit in the Block Limits config, or the upgrade does nothing. It does by default.

Edit upgrades in gameLink to this section

Open /is admin editor > Addons > Upgrades. The upgrades are listed in the order of /is upgrade. Every change is saved to config.yml and used at once.

Button or clickWhat it does
Left-click an upgradeOpens its tiers.
Right-click an upgradeMoves it one place earlier. The first one goes to the end.
Shift + left-clickRename it. Type the name in chat.
Shift + right-clickIts icon becomes the item in your hand.
Press QDeletes the upgrade.
Add an upgradePick a type for a new upgrade.
Who paysClick to switch pay-with: choose, player, bank, bank-first.

On the tiers screen:

Click on a tierWhat it does
Left-clickChange the value. Type a whole number of 1 or more.
Right-clickChange the cost. Type an amount, like 5000, 2.5k or 1,000. 0 = free.
Shift + left-clickOpens the requirement editor for this tier.
Shift + right-clickThe item in your hand becomes an item cost, as many as the stack holds. With an empty hand, every item cost of the tier is removed.
Press QDeletes the tier. An upgrade needs at least one tier.

Add a tier adds a new last tier, a copy of the current last one.

If another admin or /is admin reload changed the upgrade while you were editing, your change is not saved. The menu says so and opens again with the current data.

Add an upgradeLink to this section

  1. Open /is admin editor > Addons > Upgrades.
  2. Click Add an upgrade.
  3. Click a type. For a Block limit, hold the block first (redstone dust works for redstone). For an Entity limit, hold a spawn egg, or an armor stand, minecart, boat, item frame or painting.
  4. The new upgrade is added at the end with one tier: value 1, cost 1,000, no requirements.
  5. Left-click it to open its tiers, and set the value and cost of the first tier.
  6. Click Add a tier for each tier more, and set each one.

For an entity limit on a group (animals, monsters, mobs, vehicles), set entity in config.yml instead.

Add an item cost to a tierLink to this section

  1. Open the upgrade's tiers.
  2. Hold the item in your main hand, as many as the cost should be. For 64 cobblestone, hold a stack of 64.
  3. Shift + right-click the tier.

Only plain items or Nexo items can be a cost. An item with a custom name, enchantments, damage or other extra data is refused.

Add a requirement to a tierLink to this section

  1. Open the upgrade's tiers.
  2. Shift + left-click the tier. The requirement editor opens.
  3. Click Add requirement, pick a type (island level, money, item, upgrade tier...) and set its value.
  4. Click a requirement to change it, or press Q on it to remove it.

PlaceholdersLink to this section

The Upgrades addon's values work in island menus only, not in PlaceholderAPI.

PlaceholderReturns
{upgrade-<id>}The island's tier of that upgrade, for example {upgrade-size}.
{upgrade-<id>-max}How many tiers that upgrade has.
{upgrade-<id>-value}What the island's tier gives, or Default before the first tier.
{upgrade-list}One line per upgrade with its tier and a bar. Put it alone on a lore line.

In the upgrade menu, every item can use {balance} (the viewer's money). Each upgrade in the list can use:

PlaceholderReturns
{name}The upgrade's name.
{about}What its type does.
{tier}, {tier-roman}The island's tier, as a number and in Roman numerals.
{max}How many tiers it has.
{bar}A progress bar of the tiers.
{current}What the island has now.
{next}, {next-tier}What the next tier gives, and its number in Roman numerals.
{cost}The next tier's money and item cost.
{requirements}The next tier's requirements, one line each with ✔ or ✖.
{missing}One line per thing still missing.

See Placeholders for all placeholders.

FileWhat is in it
addons/upgrades/menus/upgrades.ymlThe /is upgrade menu. Its list has three looks: buy, locked and maxed.
addons/upgrades/menus/upgrade-pay.ymlThe Who pays? menu. Its buttons use the functions pay-wallet, pay-bank and pay-cancel.
addons/upgrades/lang.ymlEvery message, the confirm menu's title and lines, and how values read (+20% growth, Tier 3...).

The confirm menu itself is the shared menus/confirm.yml. All files are in plugins/ALBSkyblock/ and can be edited in game in /is admin editor > Menus and Messages. To open the upgrade menu from another menu, use [function] open-upgrades. See Menus and messages.

For developersLink to this section

Every time an upgrade tier changes (bought, or set by an admin), the addon fires an event with the island, the upgrade id, what it raises and the new tier. Purchases also fire the shared purchase events, which can stop a purchase before anything is taken. See Events.

Type a class, method, config key or topic. Use the arrow keys and Enter to open a result.