ALB Studio

Level

Give islands XP from the blocks they build and from rewards, turn it into levels, and reward teams with milestones they claim in /is milestone.

Docs updated · What changed

On this page

What it is forLink to this section

The Level addon gives every island XP and a level. The level shows how far an island has come. Players use it to compare islands, and the server uses it as a goal: upgrades, biomes and missions can ask for a level, and milestones give rewards when an island reaches one.

With this addon you get:

  • /is level: your island's level, XP and the blocks that give it XP,
  • /is blockxp: how much XP each block gives,
  • /is milestone: rewards to claim at set levels,
  • the level:<N> requirement for other addons,
  • two boards for /is top: Island Level and Most Active.

To install it, put ALBSkyblock-Level.jar into plugins/ALBSkyblock/addons/ and restart. See Addons.

How island XP worksLink to this section

An island's XP has two parts:

Island XP = Block XP + Bonus XP

PartComes fromCan it go down?
Block XPThe blocks inside the island border right now. Each block in the block-xp list gives a fixed amount.Yes. Mining a block takes its XP back.
Bonus XPRewards, such as the Island XP rewards of Island Missions.No. It only grows.

Block XPLink to this section

Every block in the block-xp list is worth some XP while it stands on your island. A beacon gives 2,500, a diamond block 150, stone 1. Blocks that are not on the list give nothing.

  • Place a block: the island gets its XP.
  • Break it, blow it up or let it burn: the XP goes again.

This means placing and breaking the same block never adds up. To raise your Block XP for good, build with valuable blocks and leave them standing.

Block XP follows changes live. That includes pistons, explosions, fire, water washing blocks away, falling blocks, endermen, growing trees and crops, and generator blocks. Only blocks inside the island border count.

Bonus XPLink to this section

Bonus XP comes from other addons. With the default setup it comes from mission rewards. It never goes down, even when you mine blocks.

LevelsLink to this section

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

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

With the defaults (base: 100, step: 20, power: 1.0), each level costs 20 XP more than the one before:

LevelXP for this levelTotal XP to reach it
1100100
2120220
3140360
102801,900
501,08029,500

The highest level is max-level (1000). Because Block XP can go down, the level can go down too. See Configuration to change the curve.

Check your levelLink to this section

  1. Type /is level.
  2. The plugin counts every block on your island again. Chat says Counting your island's blocks... and then your level with its XP.
  3. The Level menu opens.

The menu shows:

PartWhat it shows
Top itemYour level, your rank on the level board, a progress bar, the XP into this level, the XP still needed, and your Block XP, Bonus XP and total XP.
Block listThe blocks on your island that give the most Block XP: how many are placed, the XP each, and the total.
RecalculateCounts every block again.
MilestonesOpens /is milestone.
Top islandsOpens /is top. Needs the Leaderboards addon.
Block XPOpens /is blockxp.

The menu updates live while your team builds.

The recount and its cooldownLink to this section

Live tracking catches almost every change. The full recount fixes anything it missed. A recount runs:

  • when you type /is level or click Recalculate, at most once every 60 seconds per island (recalc-cooldown-seconds). Inside the cooldown, the menu opens without a recount.
  • quietly when a team member joins, if the island was not counted in the last 30 minutes,
  • before a milestone is claimed.

Players with albskyblock.admin skip the cooldown.

Look at another islandLink to this section

/is level <player> opens the level menu of that player's island. The player may be offline. This does not recount their island.

See what blocks are worthLink to this section

/is blockxp opens the Block XP list: every block that gives XP, highest first.

  • Click Search and type part of a block name, like ore, to filter the list.
  • Right-click Search to clear the filter.

/is value is an older name for the same command.

MilestonesLink to this section

A milestone is a reward for reaching an island level. The default milestones are:

LevelNameReward
10Level 103 diamonds
50Level 505 emerald blocks

When your island reaches a milestone level, every online team member gets a message: Your island reached level 10! Claim Level 10 with /is milestone. Nothing is given yet. Someone has to claim it.

Claim a milestoneLink to this section

  1. Type /is milestone (or click Milestones in /is level).
  2. Find the milestone. A milestone you can claim glows and says Reached!
  3. Click it.
  4. The plugin counts your island's blocks again and checks the level.
  5. You get the rewards. The online team sees who claimed it.

Each milestone can be claimed once per island. Items go into the inventory of the player who claims. Items that don't fit drop on the ground.

The menu shows each milestone in one of three looks:

LookMeaning
Reached (green, glowing)The island is at that level and nobody claimed it yet. Click to claim.
Claimed (grey)Already claimed.
Locked (red)The island is below that level. Shows a progress bar and the XP needed.

Who may claimLink to this section

The island owner can always claim. Other roles need the island right Claim island milestone rewards. By default only co-owners have it. The owner changes it per role in /is permissions.

Everyone in the team can open /is milestone and see the milestones. A player without the right sees Your role may not claim this. on a reached milestone.

Use the level as a requirementLink to this section

The Level addon adds the requirement type level. It is met when the island's level is at least the number.

YAML
requirements:
  - "level:20"

Use it anywhere requirements work, for example on upgrade tiers and biomes. Players see it as Island level 20 with their own level next to it.

  • The value must be a whole number. A value like 10.5 or abc is never met, so a typo can't open a gate for everyone.
  • Without the Level addon, a level requirement counts as met. See Requirements.

Island Missions also has a LEVEL goal, so a mission can ask for an island level.

CommandsLink to this section

CommandWhat it doesPermissionIsland right
/is levelCounts your island's blocks again (unless on cooldown) and opens the level menu.albskyblock.command.level-
/is level <player>Opens the level menu of that player's island.albskyblock.command.level-
/is blockxpOpens the Block XP list. Also /is value.albskyblock.command.value-
/is milestoneOpens the milestones. Also /is milestones.albskyblock.command.milestoneClaim island milestone rewards (to claim)

The Level addon has no admin commands. Admins change everything in the editor.

PermissionsLink to this section

PermissionDefaultWhat it does
albskyblock.command.leveltrueUse /is level and menu buttons that open the level menu.
albskyblock.command.valuetrueUse /is blockxp and /is value, and menu buttons that open the Block XP list.
albskyblock.command.milestonetrueUse /is milestone and menu buttons that open the milestones.
albskyblock.adminopSkip the recount cooldown, and edit the addon in /is admin editor.

Every player has the command permissions. Take one away to block that feature. See Permissions for the full list.

Island rightsLink to this section

KeyRightMemberOfficerCo-owner
milestonesClaim island milestone rewardsNoNoYes

The owner always has it. Change it per role in /is permissions. See Island settings.

ConfigurationLink to this section

The settings are in plugins/ALBSkyblock/addons/level/config.yml. You can change all of them in game too: see Edit in game.

plugins/ALBSkyblock/addons/level/config.yml
# Level addon: /is level, /is blockxp, /is milestone. Also editable in game: /is admin editor > Addons > Level.
# /is top is the Leaderboards addon: it shows this addon's "level" and "bonus-xp" boards.

# Island XP = Block XP + bonus XP. Block XP comes from the blocks on the island right now (see
# block-xp below): mining them takes it back, so placing and breaking can't farm it. Bonus XP comes
# from missions and milestones (other addons) and never goes down.
# 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

# Seconds between full rescans of one island (/is level).
recalc-cooldown-seconds: 60

# Island ranking for the {rank} and top-<n>-owner/level/xp/block-xp placeholders (old scoreboards):
# how many islands and how often it is rebuilt. Islands hidden from leaderboards are left out.
top-size: 100
top-refresh-minutes: 5
OptionDefaultWhat it does
xp.base100XP that level 1 costs. Every level costs at least this much. Lowest: 1.
xp.step20Extra XP each level costs on top of the one before. 0 makes every level cost the same.
xp.power1.01.0 adds the same step every level. Above 1.0, high levels get harder faster. From 0 to 10, decimals allowed.
xp.max-level1000The highest level. Islands stop levelling here.
recalc-cooldown-seconds60Seconds between two full recounts of one island with /is level. 0 = no cooldown.
top-size100How many islands the addon's own ranking keeps. It feeds the old top_<n> placeholders.
top-refresh-minutes5Minutes between two rebuilds of that ranking. Applies after a restart.

The Block XP listLink to this section

block-xp lists the XP each block gives while it is on the island. The default list is long. Here is a part of it:

plugins/ALBSkyblock/addons/level/config.yml
# Block XP: XP each block gives while it is on the island (blocks not listed give none).
block-xp:
  STONE: 1
  COBBLESTONE: 0
  DIRT: 0
  GRASS_BLOCK: 1
  OAK_LOG: 1
  STONE_BRICKS: 2
  BRICKS: 3
  QUARTZ_BLOCK: 5
  COAL_BLOCK: 10
  IRON_BLOCK: 25
  GOLD_BLOCK: 40
  DIAMOND_BLOCK: 150
  EMERALD_BLOCK: 200
  NETHERITE_BLOCK: 1000
  HOPPER: 10
  ENCHANTING_TABLE: 100
  BEACON: 2500
  CONDUIT: 1500
  DRAGON_EGG: 5000
  SPAWNER: 1000
  • The key is a block name. The value is the XP for one block.
  • 0, or a block that is not listed, gives no XP.
  • Players see the whole list with /is blockxp.

When you change a block's XP, every island's Block XP is worked out again at once. Islands with someone online are recounted right away. A block that had no XP before is counted on the island's next full recount.

Milestone settingsLink to this section

plugins/ALBSkyblock/addons/level/config.yml
# Milestones: rewards players claim in /is milestone once the island reaches the level (the owner,
# or roles with the "Claim island milestone rewards" permission). Nothing is given automatically: the
# online team gets [message] (empty = the default text from lang.yml telling them to use /is milestone).
#   name, icon (item: DIAMOND or nexo:<id>), message ({prefix} {level} {player} = owner, {milestone}),
#   rewards: <id>: type command (commands run from the console) or item (item + amount into the
#   claimer's inventory), display (menu icon), name, lore.
#   Command placeholders: {player} = who claims, {owner}, {level}, {island} (island id).
milestones:
  '10':
    name: "&#FBBF24Level 10"
    icon: DIAMOND
    message: ""
    rewards:
      r1:
        type: item
        display: DIAMOND
        name: "&f3x Diamond"
        lore: []
        item: DIAMOND
        amount: 3
  '50':
    name: "&#FBBF24Level 50"
    icon: EMERALD_BLOCK
    message: ""
    rewards:
      r1:
        type: command
        display: EMERALD_BLOCK
        name: "&f5x Emerald Block"
        lore: []
        commands:
          - "give {player} emerald_block 5"

Each milestone is listed under its level, in quotes.

OptionWhat it does
nameThe milestone's name in /is milestone and in messages. Colour codes work.
iconThe item shown in /is milestone: a material like DIAMOND, or nexo:<id>.
messageSent to the online team when the island reaches the level. Empty uses the default text. Placeholders: {prefix}, {level}, {player} (the owner) and {milestone}.
rewards.<id>One reward. A milestone can have many. The id is only a name, like r1.
rewards.<id>.typeitem or command.
rewards.<id>.nameThe line shown under the milestone in /is milestone.
rewards.<id>.displayThe reward's icon in the editor.
rewards.<id>.loreExtra lines for the reward in the editor.
rewards.<id>.itemFor item: the item to give, like DIAMOND or nexo:<id>.
rewards.<id>.amountFor item: how many.
rewards.<id>.commandsFor command: commands run from the console, in order, without /.

Command placeholders: {player} (who claims), {owner} (the island owner), {level} (the milestone level) and {island} (the island id).

Edit in gameLink to this section

Open /is admin editor > Addons > Level. Every change is saved to config.yml and used at once.

ButtonWhat it changes
XP: base, XP: step, XP: power, Max levelThe level curve. Each button shows the XP for levels 1, 2, 10 and 50, and the total XP for the max level.
Recalculate cooldownrecalc-cooldown-seconds.
Rank list sizetop-size.
Rank list refreshtop-refresh-minutes.
Block XPOpens the Block XP list.
MilestonesOpens the milestone list.

Click a setting and type the new value in chat. Type cancel to stop.

Give a block Block XPLink to this section

  1. Open /is admin editor > Addons > Level > Block XP.
  2. Hold the block in your main hand.
  3. Click + Add block.
  4. Type its Block XP in chat, like 50.

In the list, click a block to change its XP. Right-click it, or press Q, to remove it. Typing 0 removes it too.

Add a milestoneLink to this section

  1. Open /is admin editor > Addons > Level > Milestones.
  2. Click + Add milestone and type the level in chat, like 25.
  3. The new milestone opens. Click Name to rename it, and click Icon while you hold its icon item.
  4. Click + Add reward and pick one:
    • Item reward: hold the item first. The stack in your hand is the reward, with its amount.
    • Command reward: type the first command without /, like eco give {player} 1000.
  5. Players can claim it in /is milestone once their island reaches that level.

More controls:

  • Message: click to type the team message. Right-click to use the default text again.
  • A reward: click to change its menu icon, name, lore, commands, item or amount. Press Q on it in the milestone to delete it.
  • Delete: click Delete milestone twice. In the milestone list, Q deletes one too.

PlaceholdersLink to this section

These work with PlaceholderAPI. In island menus, use the brace form with dashes, like {level} or {block-xp}.

PlaceholderReturnsExample
%albskyblock_level%The island level.12
%albskyblock_xp%Total XP: Block XP plus Bonus XP.1,640
%albskyblock_block_xp%XP from the blocks on the island.1,400
%albskyblock_bonus_xp%Bonus XP.240
%albskyblock_rank%The island's place on the level board, or unranked.#3
%albskyblock_value%Old name of block_xp.1,400

%albskyblock_rank% is the island's place on the Island Level board of /is top. Without the Leaderboards addon, or with that board off, it uses the Level addon's own ranking: by level, then XP.

Only in menusLink to this section

PlaceholderReturns
{xp-next}XP still needed for the next level.
{xp-progress}XP gained since the current level.
{xp-level}XP the whole step to the next level costs (0 at the max level).
{level-percent}Progress to the next level, 0 to 100.
{milestones-ready}Milestones the island reached and did not claim yet.

Old top placeholdersLink to this section

The addon also keeps its own top 10, by level and then XP. These exist for older scoreboards. <n> is 1 to 10, and they work without an island. Islands hidden from the leaderboards are left out.

PlaceholderReturnsEmpty spot
%albskyblock_top_<n>_owner%Owner of the island at place n.-
%albskyblock_top_<n>_level%Its level.0
%albskyblock_top_<n>_xp%Its total XP.0
%albskyblock_top_<n>_block_xp%Its Block XP.0
%albskyblock_top_<n>_value%Old name of top_<n>_block_xp.0

For new scoreboards, use the leaderboard placeholders instead, like %albskyblock_top_level_1_name%.

See Placeholders for every placeholder of the plugin.

LeaderboardsLink to this section

With the Leaderboards addon, /is top gets two boards from this addon:

BoardIdRanks islands byShows
Island LevellevelTotal XP (so level, then XP)Level 12 (1,640 XP)
Most Activebonus-xpBonus XP240 Bonus XP

Islands with no XP are not listed. Turn a board off in /is admin editor > Addons > Leaderboards.

FileWhat is in it
addons/level/menus/island-level.ymlThe /is level menu.
addons/level/menus/block-values.ymlThe /is blockxp list.
addons/level/menus/milestones.ymlThe /is milestone menu, with the looks claimable, claimed and locked.
addons/level/lang.ymlEvery message, the board names and the editor texts.

All are in plugins/ALBSkyblock/ and can be edited in game in /is admin editor > Menus and Messages.

To open these menus from another menu, use the functions [function] open-level, [function] open-values and [function] open-milestones. See Menus and messages.

For developersLink to this section

Other addons give Bonus XP and read levels through the server's island levels, which this addon provides. The addon fires an event each time an island's level changes, up or down. See Skyblock API and Events.

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