ALB Studio

Generators

Give cobblestone and basalt generators tiers of ores, unlock better tiers with ranks, upgrades or admin commands, and set up the tiers and their blocks.

Docs updated · What changed

On this page

What it doesLink to this section

A generator is the classic skyblock block farm: lava meets water, a block forms, you mine it, and another one forms. Without this addon a generator only makes cobblestone. With it, a generator also makes ores, and the better your generator tier, the better the ores.

Every island has one generator tier. It counts for every generator on the island. Islands unlock better tiers with a rank, an upgrade or an admin command.

The addon is the jar ALBSkyblock-Generators.jar. See Addons to install it.

The two kinds of generatorLink to this section

GeneratorHow to build itUses the tier's
CobblestoneLava flowing into water, the vanilla way. Stone generators (lava flowing onto water) count too.Cobblestone list
BasaltLava next to blue ice, with soul soil under the spot where the block forms.Basalt list

You build them the same way as in vanilla. The addon only changes what forms. Generators made outside an island stay vanilla.

The default tiersLink to this section

The server comes with eight tiers. Each list adds new blocks to the one before, and makes the rare blocks a little more common. The percentages below are the chance for each block. The rest of the time the generator makes cobblestone (or basalt).

TierNameCobblestone generatorBasalt generator
1StoneOnly cobblestoneOnly basalt
2CoalCoal ore 12%Blackstone 10%
3CopperCoal ore 12%, Copper ore 10%Blackstone 12%, Netherrack 8%
4IronCoal ore 12%, Copper ore 8%, Iron ore 12%Blackstone 12%, Netherrack 8%, Nether quartz ore 8%
5GoldCoal ore 11%, Copper ore 8%, Iron ore 12%, Gold ore 9%Blackstone 12%, Netherrack 8%, Nether quartz ore 10%, Nether gold ore 6%
6Redstone & LapisCoal ore 10%, Copper ore 7%, Iron ore 12%, Gold ore 8%, Redstone ore 6%, Lapis ore 5%Blackstone 12%, Netherrack 8%, Nether quartz ore 12%, Nether gold ore 7%, Gilded blackstone 3%
7DiamondCoal ore 10%, Copper ore 6%, Iron ore 12%, Gold ore 8%, Redstone ore 6%, Lapis ore 6%, Diamond ore 6%Blackstone 12%, Netherrack 8%, Nether quartz ore 14%, Nether gold ore 9%, Gilded blackstone 5%
8EmeraldCoal ore 9%, Copper ore 6%, Iron ore 12%, Gold ore 9%, Redstone ore 6%, Lapis ore 6%, Diamond ore 7%, Emerald ore 5%Blackstone 12%, Netherrack 8%, Nether quartz ore 15%, Nether gold ore 10%, Gilded blackstone 8%, Ancient debris 1%

Admins can change every tier, add more, or add custom blocks from Nexo. See Configuration.

Use the generator menuLink to this section

/is gen opens the Island Generator menu. /is generator and /is generators do the same.

  • The top item shows the tier your island uses and the highest tier it has unlocked.
  • Below it is every tier, with the chance of each block for both kinds of generator.
  • The tier in use glows and says Your island uses this.
  • An unlocked tier says Click to use this tier.
  • A locked tier says Locked. You can still read what it would give.

The menu always shows your island: the one you own, or the one of your team. Everyone in the team can open it and look.

Switch your generator tierLink to this section

You need the Switch the generator tier right. Members, officers and co-owners have it by default.

  1. Type /is gen.
  2. Click an unlocked tier.
  3. Chat says Generator tier set to and the tier name. Every generator on the island now uses it.

You can pick any unlocked tier, also a lower one. That is useful to farm one kind of ore. For example, pick Iron to get iron without diamond-tier filler.

Unlock better tiersLink to this section

An island may use every tier up to its unlocked tier. There are three ways to unlock tiers. The highest of the three counts.

WayHowKept when
RankThe island owner has albskyblock.generator.<N>.For perm-tier-offline-days (7 days) after the owner was last online.
UpgradeThe island bought a generator upgrade in /is upgrade (Upgrades addon).Always. It stays after /is reset.
Admin/is admin gen settier <player> <tier>.Always. It stays after /is reset.

The tier number is the tier's place in the list: the first tier is 1. The unlocked tier never goes above the number of tiers you have.

Unlock tiers with a rankLink to this section

Give the rank the permission albskyblock.generator.<N>, where <N> is the highest tier it unlocks.

Give VIP islands every tier up to Iron:

  1. In your permission plugin, give the VIP group albskyblock.generator.4.
  2. Islands whose owner is VIP can now pick tiers 1 to 4 in /is gen.

Rules for rank tiers:

  • The permission is read from the island owner, not from the player who opens the menu.
  • The highest number the owner has wins.
  • The permission must really be given by a permission plugin. Being OP is not enough.
  • A rank change can take up to 30 seconds to reach the island's generators.

When the owner is offlineLink to this section

Permissions can only be checked while a player is online. So the island remembers the tier the owner's rank gave, each time the owner is seen online.

  • While the owner is offline, the island keeps that tier for perm-tier-offline-days days (7 by default).
  • After that, the rank part counts as tier 1 until the owner joins again. This way an expired or removed rank stops working.
  • Set perm-tier-offline-days to 0 to keep the remembered tier forever.
  • Upgrade and admin unlocks are not affected. They always count.

To clear a remembered rank tier by hand, for example after you removed a rank from an offline owner, use /is admin gen resetperm <player>.

Unlock tiers with an upgradeLink to this section

With the Upgrades addon, islands can buy tiers in /is upgrade. The default Generator upgrade unlocks tier 2 up to tier 8, one tier at a time, for money and an island level. Change the prices and requirements in the Upgrades addon.

Unlock tiers as an adminLink to this section

/is admin gen settier <player> <tier> unlocks every tier up to that number for the island of <player> (the owner or a team member). It replaces the last admin unlock: /is admin gen settier Steve 1 takes an admin unlock away again. It never lowers what a rank or an upgrade gives.

To see where an island's tiers come from, type /is admin gen check <player>. It shows the tier in use, the unlocked tier, and the rank, admin and upgrade parts.

Generator speedLink to this section

Normally you wait for the lava to flow before the next block forms. Generator speed gives a chance that a mined generator block comes back at once.

Generator speed comes from the generator-speed upgrade type of the Upgrades addon. Its value is the chance in percent. The default Generator Speed upgrade has three tiers: 10%, 25% and 50%.

How it works:

  1. A player mines a block that a generator made.
  2. The island rolls its generator speed chance.
  3. On a hit, a new block forms in the same spot right away. It is rolled from the island's tier like any other generator block.

Without the Upgrades addon, or before an island buys the upgrade, generators work at normal speed.

Rules that stop abuseLink to this section

A few rules keep generators fair. Admins should know them.

  • Only real generator blocks count for speed. A block only rolls generator speed if a generator made it and nothing changed it since. Placing your own block in the gap and breaking it gives nothing. Blocks moved by pistons, blown up, or changed by another plugin no longer count.
  • The spot must still be a generator. The instant block only forms if the spot is still empty and the lava and water (or blue ice) are still next to it.
  • Only on active islands, inside the border. Generator speed does not work outside the island border or on an island that is being deleted.
  • Ranks must be given. albskyblock.generator.<N> only counts when a permission plugin gives it. OP alone does not unlock tiers.
  • Old ranks run out. A rank tier remembered for an offline owner stops counting after perm-tier-offline-days. See When the owner is offline.
  • Only safe Nexo blocks. Only Nexo custom blocks of the note block type can be generator blocks. Water and lava break string and chorus custom blocks, so they are refused.
  • The leaderboard counts real blocks. The production board only counts blocks that formed (no other plugin stopped them) and generator speed blocks. Islands being deleted are not counted.

CommandsLink to this section

CommandWhat it doesPermissionIsland right
/is genOpens the generator menu. Also /is generator and /is generators.albskyblock.command.generatorSwitch the generator tier (to switch)
/is admin gen settier <player> <tier>Unlocks tiers up to <tier> for the island.albskyblock.admin-
/is admin gen check <player>Shows the tier in use and what unlocked it (rank, admin, upgrade).albskyblock.admin-
/is admin gen resetperm <player>Forgets the rank tier the island remembered for its owner.albskyblock.admin-

<player> is the owner or any team member of the island. Offline players work too.

PermissionsLink to this section

PermissionDefaultWhat it does
albskyblock.command.generatortrueUse /is gen and menu buttons that open the generator menu. Take it away to block them.
albskyblock.generator.<N>falseThe island owner's rank unlocks tiers 1 to N.
albskyblock.adminopThe /is admin gen commands and the editor.

See Permissions for every permission of the plugin.

Island rightsLink to this section

KeyRightMemberOfficerCo-owner
generatorSwitch the generator tierYesYesYes

The owner always has it. Trusted players and visitors don't. Change it per role in /is permissions. See Island settings.

ConfigurationLink to this section

The settings are in plugins/ALBSkyblock/addons/generators/config.yml. You can change the tiers in game too: see Edit tiers in game.

plugins/ALBSkyblock/addons/generators/config.yml
# Generators addon. Also editable in game: /is admin editor > Addons > Generators.
#
# Every island has one generator tier for all its generators:
#   cobble - lava + water (cobblestone and stone generators)
#   basalt - lava + blue ice over soul soil
# Each block has a weight: its chance = weight / all weights of that list.
# Blocks are vanilla blocks (COAL_ORE) or Nexo custom blocks: "nexo:<item id>": 5 (needs Nexo; only
# NOTEBLOCK type custom blocks; in the editor, hold the Nexo block item and click "Add a block").
#
# Tier number = place in this list (first = 1). An island may use tier N when:
#   - the island owner has albskyblock.generator.<N>, or
#   - an admin unlocked it: /is admin gen settier <player> <N>, or
#   - the island bought it with the Upgrades addon (/is upgrade).
# Players pick any unlocked tier in /is gen (also lower ones, e.g. to farm only iron).
# Who may switch: /is permissions > "Switch the generator tier".

# Days an offline owner keeps the tier their albskyblock.generator.<N> rank gave (seen the last time
# they were online). After that the island counts as rank tier 1 until the owner joins again, so an
# expired or removed rank stops working. 0 = forever. Reset by hand: /is admin gen resetperm <player>.
perm-tier-offline-days: 7

tiers:
  stone:
    name: "&7Stone"
    icon: COBBLESTONE
    cobble:
      COBBLESTONE: 100
    basalt:
      BASALT: 100
  coal:
    name: "&8Coal"
    icon: COAL_ORE
    cobble:
      COBBLESTONE: 88
      COAL_ORE: 12
    basalt:
      BASALT: 90
      BLACKSTONE: 10
  copper:
    name: "&6Copper"
    icon: COPPER_ORE
    cobble:
      COBBLESTONE: 78
      COAL_ORE: 12
      COPPER_ORE: 10
    basalt:
      BASALT: 80
      BLACKSTONE: 12
      NETHERRACK: 8

The file goes on with the iron, gold, redstone, diamond and emerald tiers from the table above.

OptionDefaultWhat it does
perm-tier-offline-days7Days an offline owner keeps the tier their rank gave. 0 = forever.
tiers.<id>8 tiersOne tier. The <id> is only a name in the file. The tier number is its place in the list.
tiers.<id>.nameThe name players see. Colour codes work.
tiers.<id>.iconThe item shown for the tier in /is gen.
tiers.<id>.cobbleBlocks of the cobblestone generator, each with a weight.
tiers.<id>.basaltBlocks of the basalt generator, each with a weight.

Weights and chancesLink to this section

Each block in a list has a weight. Its chance is its weight divided by all the weights of that list. In the default lists the weights add up to 100, so each weight is also the chance in percent. They don't have to add up to 100.

A list entry is:

  • a vanilla block name, like COAL_ORE: 12. It must be a solid block.
  • a Nexo custom block, like "nexo:<item id>": 5. It needs Nexo, and it must be a note block type custom block.

Wrong entries are skipped with a warning in the console. A list with no valid block makes plain cobblestone (or basalt). If a Nexo block can't be made (Nexo is not running, or the id is wrong), the vanilla block forms instead and the console warns once.

Edit tiers in gameLink to this section

Open /is admin editor > Addons > Generators. The tiers are listed in order. Every change is saved to config.yml and used at once.

On a tierWhat it does
Left-clickOpens its cobblestone list.
Right-clickOpens its basalt list.
Shift + left-clickRename it. Type the name in chat.
Shift + right-clickIts icon becomes the item in your hand.
Press QDeletes it. There must be at least one tier.

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

In a block list, the top item shows every block with its chance.

On a blockWhat it does
ClickChange its weight. Type a whole number of 1 or more in chat.
Right-click or QRemoves it. A list needs at least one block.

Add a block to a tierLink to this section

  1. Open /is admin editor > Addons > Generators.
  2. Left-click the tier for the cobblestone list, or right-click it for the basalt list.
  3. Hold the block in your main hand. For a Nexo block, hold the Nexo block item.
  4. Click Add a block. It is added with weight 10.
  5. Click the new block and type its weight in chat.

Add a new top tierLink to this section

  1. Open /is admin editor > Addons > Generators.
  2. Click Add a tier. A copy of the last tier is added at the end.
  3. Shift + left-click it and type its name.
  4. Shift + right-click it while you hold its icon item.
  5. Add blocks to its lists and set their weights.
  6. Let islands reach it: give a rank the new albskyblock.generator.<N>, or add a tier to the Generator upgrade (see Upgrades).

PlaceholdersLink to this section

These work with PlaceholderAPI and, in brace form, in every island menu ({gen-tier}, {gen-tier-number}, {gen-max-tier}).

PlaceholderReturnsExample
%albskyblock_gen_tier%Name of the tier the island uses.Stone
%albskyblock_gen_tier_number%Number of that tier.1
%albskyblock_gen_max_tier%Highest tier the island has unlocked.3

The generator menu's tier list also has {name}, {number}, {cobble} and {basalt}. {cobble} and {basalt} are one lore line per block with its chance, so put each alone on a lore line.

See Placeholders for all placeholders.

LeaderboardLink to this section

With the Leaderboards addon, /is top gets a Top Producers board (id production). It ranks islands by the blocks their generators made, all time. Generator speed blocks count too.

PlaceholderReturns
%albskyblock_top_production_<n>_value%The blocks made by the island at place n (1 to 10), e.g. 52,310 blocks.
%albskyblock_rank_production%The player's island place on the board.

The other board placeholders (owner, name, score) are on the Placeholders page. Turn the board off in /is admin editor > Addons > Leaderboards.

FileWhat is in it
addons/generators/menus/generator.ymlThe /is gen menu. Its tier list has three looks: current, available and locked.
addons/generators/lang.ymlEvery message of the addon, the board name and the editor texts.

Both are in plugins/ALBSkyblock/ and can be edited in game in /is admin editor > Menus and Messages. To open the generator menu from another menu, use the function [function] open-generator. See Menus and messages.

For developersLink to this section

The addon fires three events: one when a player switches the tier, one when an island's unlocked tier changes, and one each time a generator makes a block (listeners can change or stop that block). See Events.

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