ALB Studio

Concepts

How the island grid, roles, island rights, island settings, island XP, requirements and safe payments work together.

Docs updated · What changed

On this page

This page explains the ideas the rest of the docs build on: where islands live, who may do what on them, and how levels, requirements and payments work. Read it once before you set up your server.

Islands and the gridLink to this section

Every island lives in one void world, skyblock by default. Each island has an owner, a centre, a size and an island spawn.

  • The grid. Island centres sit on a grid, grid.spacing blocks apart (1000 by default). New islands are placed in a square spiral around 0,0. The spot at 0,0 itself stays free.
  • Height. The island surface is at world.island-y (100 by default).
  • Size. Islands are squares. The owner's size comes from island.default-size (50 x 50), or from their albskyblock.size.<N> permission (the highest wins), or from the Upgrades addon, whichever is biggest. An admin can fix one island's size with /is admin setsize.
  • Limits. An island is at least 16 blocks wide and at most spacing - 32 (968 with the default spacing). The 32 blocks keep a gap between two islands at their biggest.
  • The border. Players build only inside their border. If an island shrinks (the owner lost a rank), blocks outside the new border stay but are locked.
  • Island spawn. Where players land on the island. Schemas set it, and /is setspawn moves it.
plugins/ALBSkyblock/config.yml
world:
  # Void world that holds every island. Created on first start.
  name: skyblock
  # Y level of the island surface (the template's top layer of ground).
  island-y: 100

grid:
  # Distance between island centres, in blocks. Islands are placed in a square spiral around 0,0.
  # Empty void costs no disk space or lag, so keep this big. Islands can grow to (spacing - 32).
  # Changing it is safe: existing islands keep their centre, and new islands skip any slot that
  # could overlap an existing one. /is admin editor > Settings refuses a spacing that is too small.
  spacing: 1000

island:
  # Island size (square, in blocks) for owners without an albskyblock.size.<N> permission.
  # The owner's highest albskyblock.size.<N> wins (e.g. albskyblock.size.100 = 100x100), capped at spacing - 32.
  # If an owner loses size, blocks outside the smaller border stay but are locked.
  default-size: 50

All three are on the Configuration page. Spacing and default size are also in /is admin editor > Settings.

Owner, team and rolesLink to this section

Everyone on an island has a role. The role decides what they may do there.

RoleKindRankWho has it
OwnerOwnerAbove allThe player who made the island. Always has every right.
Co-ownerTeam70Team members the owner promoted. Only the owner can make co-owners.
OfficerTeam60Team members with extra management rights.
MemberTeam50The role new team members get. It can't be turned off.
TrustedNot team10Players added with /is trust.
VisitorNone0Everyone else.

There are two kinds of roles:

  • Team roles (rank 50 to 999). The island is their island: /is takes them there and they get team chat. A player can be in one team only, and can't own an island at the same time.
  • Trusted-like roles (rank 1 to 49). They may build on the island if their rights allow it, but they are not in the team and keep their own island.

Rank matters. You can only kick, promote, ban or change the rights of players and roles below your own rank.

You can turn the built-in roles on or off (except Member), change their rank and icon, and add your own roles. A turned-off role keeps its players: they act as the nearest lower role of the same kind until you turn it back on. Do this in /is admin editor > Roles, or in config.yml:

plugins/ALBSkyblock/config.yml
# Custom role example:
#   builder: {enabled: true, rank: 55, team: true, icon: BRICKS, name: "&aBuilder", defaults-from: member}
roles:
  trusted:
    enabled: true
    rank: 10
    icon: GOLDEN_HELMET
  member:
    enabled: true
    rank: 50
    icon: IRON_HELMET
  officer:
    enabled: true
    rank: 60
    icon: CHAINMAIL_HELMET
  co_owner:
    enabled: true
    rank: 70
    icon: DIAMOND_HELMET
OptionWhat it does
enabledfalse turns the role off. Member is always on.
rankHigher outranks lower. Team roles use 50 to 999, trusted-like roles 1 to 49. If two roles share a rank, one is moved up by one (with a console warning).
teamCustom roles only: true for a team role, false for a trusted-like role.
iconThe item shown for the role in menus.
nameCustom roles only: the name players see. Built-in names are in lang.yml under roles.
defaults-fromCustom roles only: the role whose default rights it starts with.

How many people fit is set under team: in config.yml: 4 team members (the owner is not counted) and 5 trusted players by default. Owners get more with albskyblock.team.<N> and albskyblock.trusted.<N> (the highest wins), or with the Upgrades addon. See Team.

Island rightsLink to this section

A right is one action a role may or may not do on an island, such as breaking blocks or opening chests. Each island sets its own rights per role in /is permissions. The owner always has every right, and admins with bypass on (/is admin bypass) do too.

  • To change rights you need the "Change permissions (lower roles)" right, and you can only change roles below your own.
  • New islands start with the server defaults: island-defaults.permissions in config.yml, or /is admin editor > Default Permissions.
  • An admin can hide a right from players. Then every island uses the default for it. See Island settings.

There are two groups of rights.

Building and usingLink to this section

These apply to every role, visitors included. By default every role except Visitor has all of them. Visitors may only use the ones marked Yes.

KeyWhat it allowsVisitor default
breakBreak blocksNo
placePlace blocksNo
bucketsUse bucketsNo
bone_mealUse bone mealNo
trample_cropsTrample cropsNo
tnt_igniteLight TNTNo
light_fireLight firesNo
signsEdit signsNo
note_blockUse note blocksNo
chestOpen chestsNo
trapped_chestOpen trapped chestsNo
ender_chestOpen ender chestsYes
barrelOpen barrelsNo
shulker_boxOpen shulker boxesNo
hopperOpen hoppersNo
dispenserOpen dispensersNo
dropperOpen droppersNo
crafterUse craftersNo
furnaceUse furnacesNo
blast_furnaceUse blast furnacesNo
smokerUse smokersNo
brewing_standUse brewing standsNo
chiseled_bookshelfUse chiseled bookshelvesNo
decorated_potUse decorated potsNo
jukeboxUse jukeboxesNo
lectern_readRead lectern booksYes
lectern_takeTake lectern booksNo
crafting_tableUse crafting tablesYes
enchanting_tableUse enchanting tablesNo
anvilUse anvilsNo
grindstoneUse grindstonesNo
smithing_tableUse smithing tablesNo
stonecutterUse stonecuttersNo
loomUse loomsNo
cartography_tableUse cartography tablesNo
beaconUse beaconsNo
doorsOpen and close doorsYes
trapdoorsOpen and close trapdoorsYes
fence_gatesOpen and close fence gatesYes
buttonsPress buttonsYes
leversFlip leversYes
pressure_platesUse pressure plates and tripwireYes
repeatersChange repeatersNo
comparatorsChange comparatorsNo
daylight_detectorChange daylight detectorsNo
bedsUse bedsNo
respawn_anchorUse respawn anchorsNo
cakeEat cakeNo
composterUse compostersNo
cauldronUse cauldronsNo
flower_potUse flower potsNo
bellRing bellsNo
campfireUse campfiresNo
beehiveUse beehivesNo
hurt_animalsHurt animalsNo
hurt_monstersHurt monstersNo
hurt_villagersHurt villagersNo
hurt_petsHurt tamed petsNo
hurt_namedHurt name-tagged mobsNo
tradeTrade with villagersNo
shearShear mobsNo
milkMilk cows and goatsNo
feed_breedFeed and breed animalsNo
leashUse leadsNo
name_tagUse name tagsNo
ride_animalsRide animalsNo
item_framesPlace, rotate and take from item framesNo
armor_standsUse armor standsNo
minecart_rideRide minecartsYes
minecart_placePlace and break minecartsNo
boat_rideRide boatsYes
boat_placePlace and break boatsNo
drop_itemsDrop itemsYes
pickup_itemsPick up itemsNo
throw_potionsThrow potionsNo
fishing_rodPull mobs and items with fishing rodsNo
carve_pumpkinsCarve pumpkinsNo

Team rightsLink to this section

These are about running the island. They are never shown for visitors. Trusted players have none of them by default. Some only matter when the addon that uses them is installed.

KeyWhat it allowsMemberOfficerCo-owner
inviteInvite membersYesYesYes
kickKick membersNoYesYes
promoteChange member rolesNoYesYes
trustTrust and untrust playersNoYesYes
banBan and unban visitorsNoYesYes
expelSend visitors off the islandYesYesYes
lockLock the islandNoYesYes
settingsChange island settingsNoYesYes
permissionsChange the rights of lower rolesNoNoYes
set_spawnMove the island spawn (/is setspawn)NoYesYes
activitySee the island activity log (/is activity)NoYesYes
homesSet and manage homes (Homes addon)YesYesYes
biomeChange the biome (Biome addon)NoNoYes
generatorSwitch the generator tier (Generators addon)YesYesYes
upgradesBuy island upgrades (Upgrades addon)NoNoYes
helperUse the island helper (Island Helper addon)YesYesYes
bank_depositPut money in the island bank (Island Bank addon)YesYesYes
bank_withdrawTake money from the island bankNoYesYes
bank_logSee the island bank historyYesYesYes
bank_settingsChange the island bank settingsNoNoYes
storageOpen the island storage and put items in (Island Storage addon)YesYesYes
storage_takeTake items out of the island storageNoYesYes
milestonesClaim island milestone rewards (Level addon)NoNoYes
missionsClaim island mission rewards (Island Missions addon)NoYesYes

In config.yml a default looks like island-defaults.permissions.<role>.<key>, for example island-defaults.permissions.visitor.doors: "true".

Island settingsLink to this section

Settings are rules for the whole island, not per role. Players change them in /is settings (with the "Change island settings" right). The server defaults are in config.yml:

plugins/ALBSkyblock/config.yml
island-defaults:
  settings:
    monster_spawn: "true"
    animal_spawn: "true"
    enderman_grief: "false"
    creeper_damage: "false"
    tnt_damage: "true"
    fire_spread: "false"
    leaf_decay: "false"
    pvp: "false"
    time: normal        # normal, day, sunset, night
    weather: normal     # normal, clear, rain
KeyWhat it controlsDefault
monster_spawnMonsters spawn (zombies, skeletons, creepers...)On
animal_spawnAnimals spawn naturally (cows, sheep, pigs...)On
enderman_griefEndermen pick up and move blocksOff
creeper_damageCreeper blasts destroy blocksOff
tnt_damageTNT and TNT minecarts destroy blocksOn
fire_spreadFire spreads and burns blocksOff
leaf_decayLeaves without logs disappearOff
pvpPlayers can hurt each otherOff
timeTime of day on this island, for everyone on it: normal, day, sunset or nightnormal
weatherWeather on this island, for everyone on it: normal, clear or rainnormal

Change the defaults in /is admin editor > Default Island Settings. More on the Island settings page.

Island XPLink to this section

Island XP and levels come from the Level addon.

Island XP = Block XP + Bonus XP.

  • Block XP comes from the blocks standing inside the island's border right now. Each block type listed in the Level addon's block-xp gives a fixed amount. Mining a block takes its XP back, so placing and breaking can't be farmed.
  • Bonus XP comes from rewards, such as Island XP rewards of the Missions addon. It never goes down.

The island level follows from its XP on a curve. Going from level L-1 to level L costs:

round(base + step × (L-1) ^ power) XP

plugins/ALBSkyblock/addons/level/config.yml
# XP needed to go from level L-1 to L: round(base + step * (L-1)^power).
# Defaults: level 1 = 100 XP, 2 = 120, 3 = 140 ... 10 = 280, 50 = 1080.
xp:
  base: 100
  step: 20
  power: 1.0
  max-level: 1000

With the defaults, each level costs 20 XP more than the one before. Reaching level 3 takes 100 + 120 + 140 = 360 XP in total. A power above 1.0 makes high levels grow steeper.

Block XP is tracked live as blocks are placed, broken or blown up. /is level also rescans the whole island (at most once a minute by default) to fix anything live tracking missed.

RequirementsLink to this section

A requirement is a condition that must be true before a player can do something, such as "island level 10" before an upgrade tier. Requirements are written as <type>:<value>. The Upgrades addon uses them for each tier and the Biome addon for each biome.

In the editor you never type them: the requirement editor lets you pick a type, then asks for the value step by step. In YAML they are a list:

YAML
requirements:
  - "level:10"
  - "money:5000"
  - "upgrade:size:2"
  - "item:DIAMOND:5"
  - "placeholder:%player_level%>=10|Player level 10"
TypeValueMet whenComes from
moneyAn amount: 5000, 2.5k, 1,000The player has at least that much money. Nothing is taken.Core (needs Vault)
itemDIAMOND:5, nexo:<id>:3, or DIAMOND for oneThe player carries that many. Nothing is taken.Core
placeholderA comparison, see belowThe comparison is true for the player.Core (needs PlaceholderAPI)
levelA whole number: 10The island's level is at least that.Level addon
bankAn amount: 10000The island bank holds at least that much.Island Bank addon
upgrade<upgrade>:<tier>, for example size:2The island has that upgrade at that tier or higher.Upgrades addon

A few rules:

  • Players see each unmet requirement as readable text, most with their progress (for example how much money they have now).
  • A money, level or bank value that is not a number is never met, so a typo can't open a gate for everyone.
  • A type whose addon is not installed counts as met. The console says so once: Requirement type '<type>' has no addon yet; it counts as met.

Placeholder requirementsLink to this section

A placeholder requirement compares a PlaceholderAPI placeholder with a value:

YAML
- "placeholder:%player_level%>=10"
- "placeholder:%player_level%>=10|Player level 10"
  • Operators: >=, <=, >, <, == (or =), !=, contains and !contains. Put spaces around contains and !contains.
  • Numbers like 1,250, 75% and 2.5k are compared as numbers. Text is compared without caring about upper or lower case.
  • Text after | is the label players see. Without a label they see the placeholder, the operator and the value.
  • Without PlaceholderAPI, or when the placeholder is unknown, the requirement is never met.

Safe paymentsLink to this section

Everything players buy for their island, such as upgrades, goes through one payment system. It makes sure nobody loses money to an error and nothing is bought twice.

  1. One purchase per island at a time. A second click, or a team mate buying at the same moment, is told to try again in a second. Nothing is taken.
  2. Money and items are taken first. If the player (or the island bank) is short, the purchase stops and nothing is taken.
  3. Then the purchase is applied and saved.
  4. If that fails, everything is given back. Money goes back to whoever paid. Items go back into the buyer's inventory. Items that don't fit drop at their feet.

Who pays depends on the addon: the buyer's own money (Vault), or the island bank (Island Bank addon). The Upgrades addon lets you choose with its pay-with option.

More safety nets:

  • If a refund into the island bank fails, it is tried again a few times. If it still fails, the money goes to the buyer's own balance instead.
  • If the buyer left before their items came back, they get them a moment after they next join. They are never dropped in the world.
  • If even a refund fails, it is logged in the console and the admin log (/is admin log), so staff can give it back by hand.

Other plugins can stop a purchase before anything is taken. See Events.

AddonsLink to this section

Most features beyond islands, teams and rights are addons. An addon is a jar in plugins/ALBSkyblock/addons/. Each one:

  • has its own folder, plugins/ALBSkyblock/addons/<id>/, with its config.yml, lang.yml and menus/,
  • adds /is subcommands, menu buttons, placeholders, permissions and sometimes requirement types,
  • shows up in /is admin editor > Addons, where you change its settings in game.

When an addon is missing, its commands and menu buttons tell players to contact an admin, and its placeholders show -. Nothing breaks.

See Addons for the list, or Addon API to write your own.

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