Leaderboards
Rank islands on every board your addons offer with /is top, hide staff islands, and show the top islands in scoreboards with placeholders.
Docs updated · What changed
On this page
What it is forLink to this section
The Leaderboards addon adds /is top: a list of the best islands on the server, board by board. It has no boards of its own. Every board comes from another addon: the Level addon ranks islands by level, the Island Bank addon by money, and so on. Install the addons you want, and their boards show up in /is top.
With this addon you get:
/is top: one hub with every board, and a page per board,- a place on each board for every island, also below the top that is shown,
- placeholders for scoreboards and holograms, like the name of the number 1 island,
- admin tools to keep staff and test islands off every board.
To install it, put ALBSkyblock-Leaderboards.jar into plugins/ALBSkyblock/addons/ and restart. See Addons.
Open the leaderboardsLink to this section
Type /is top. You can also use /is leaderboard, /is leaderboards or /is lb.
The hubLink to this section
The Leaderboards menu has one button per board. Each button shows:
- what the board ranks,
- the top 3 islands,
- where your island is on it, like #4, or not ranked.
The top item says when the boards were last updated and when the next update comes. Click a board to open it.
One boardLink to this section
A board lists the islands in order, 28 per page. Each island shows its name, its owner and its value, like Level 12 (1,640 XP).
- The top 3 have gold, silver and bronze colours.
- Your own island says (you).
- With the Visit addon, click an island to visit it.
- Your island at the bottom shows your rank and value. Click it to jump to the page with your island.
- The clock shows when the board was updated and how often it updates.
The island name comes from the Visit addon (/is setname). Without it, or without a name, the owner's name is shown.
Open one board directlyLink to this section
/is top <board> opens one board without the hub. <board> is the board's id or its name:
/is top level/is top richest islands
Spaces and capitals don't matter. For an unknown board, chat lists the board ids you can use.
The boardsLink to this section
These are the boards of the official addons, in the order the hub shows them:
| Board | Id | Addon | Ranks islands by | Shows |
|---|---|---|---|---|
| Island Level | level | Level | Total XP, so level and then XP | Level 12 (1,640 XP) |
| Richest Islands | wealth | Island Bank | Money in the island bank | $12,500.00 |
| Most Missions | missions | Island Missions | Missions claimed, all time | 37 missions |
| Best Rated | rating | Visit | Average visitor rating | 4.7 ★ (12 ratings) |
| Top Producers | production | Generators | Blocks their generators made, all time | 52,310 blocks |
| Most Active | bonus-xp | Level | Bonus XP from missions and other rewards | 240 Bonus XP |
A board is only there when its addon is installed. You can switch any board off: see Switch a board off.
Who is on a boardLink to this section
- Only islands that have something to rank are listed. An island with no XP, an empty bank, no claimed missions or no generator blocks is not on that board.
- Best Rated needs at least 3 ratings. Change that with
leaderboard-min-ratingsin the Visit addon. With the same rating, the island with more ratings comes first. - Islands that are being deleted are left out.
- Islands that staff hid are left out of every board.
- With the same score, the older island comes first.
How boards updateLink to this section
Boards are not worked out each time someone opens them. The addon ranks every island on every board at set times, and menus and placeholders show that last result. This keeps /is top fast on big servers.
The boards update:
- every 5 minutes (
refresh-minutes), - 20 seconds after the server starts,
- when an admin types
/is admin top refresh, or clicks Update now in the editor, - when an island is hidden or shown again,
- right after an island is deleted, reset or given to a new owner.
Menus that are open when the boards update are redrawn with the new results.
Hide an islandLink to this section
Staff islands, test islands or event islands often should not compete. A hidden island is left off every board. It also leaves the bank's Richest Islands list and the Level addon's own top placeholders. Hiding lasts until you show the island again.
To hide an island with a command:
- Type
/is admin top hide <player>, where<player>is the owner or any team member. - Chat says the island is now hidden from every leaderboard. The boards update at once.
To hide it in the editor:
- Open
/is admin editor> Addons > Leaderboards > Hidden islands. - Click Hide an island and type a player's name in chat.
To show an island again, type /is admin top unhide <player>, or click it in the Hidden islands list.
/is admin top list lists every hidden island with its owner and island id.
CommandsLink to this section
| Command | What it does | Permission | Island right |
|---|---|---|---|
/is top | Opens the leaderboards hub. Also /is leaderboard, /is leaderboards and /is lb. | albskyblock.command.top | - |
/is top <board> | Opens one board by its id or name. | albskyblock.command.top | - |
Admin commandsLink to this section
| Command | What it does |
|---|---|
/is admin top hide <player> | Hides that island from every board. |
/is admin top unhide <player> | Shows a hidden island again. |
/is admin top refresh | Updates every board now. |
/is admin top list | Lists the hidden islands. |
All four need albskyblock.admin. Offline players work too.
PermissionsLink to this section
| Permission | Default | What it does |
|---|---|---|
albskyblock.command.top | true | Use /is top and its other names, and menu buttons that open the leaderboards. Take it away to block them. |
albskyblock.admin | op | The /is admin top commands and the editor. |
There are no island rights for leaderboards. See Permissions for every permission of the plugin.
ConfigurationLink to this section
The settings are in plugins/ALBSkyblock/addons/leaderboards/config.yml. You can change all of them in game too: see Edit in game.
# Leaderboards addon: /is top. Also editable in game: /is admin editor > Addons > Leaderboards.
# Minutes between two rebuilds of every board. Boards are also rebuilt 20 seconds after the server
# starts and with /is admin top refresh. Menus and placeholders always show the last rebuild.
refresh-minutes: 5
# How many islands each board keeps and shows in /is top (28 per page).
top-size: 100
# Boards other addons offer (Level, Bank, Visit...): false = switched off (not in /is top, its
# placeholders show "-"). New boards are written in here as true when their addon is installed.
boards: {}| Option | Default | What it does |
|---|---|---|
refresh-minutes | 5 | Minutes between two updates of every board. From 1 to 1440. |
top-size | 100 | How many islands each board lists in /is top. From 1 to 1000. Islands below it still have a rank for {my-rank} and the rank placeholders. |
boards.<id> | true | false switches that board off. |
After the first start with your addons, boards fills in by itself:
boards:
level: true
wealth: true
missions: true
rating: true
production: true
bonus-xp: falseHere the Most Active board is switched off.
Edit in gameLink to this section
Open /is admin editor > Addons > Leaderboards. Every change is saved to config.yml and the boards update at once.
| Button | What it does |
|---|---|
| Update every | refresh-minutes. Type a number from 1 to 1440. |
| Board size | top-size. Type a number from 1 to 1000. |
| Update now | Updates every board now. Shows when they were last updated and when the next update comes. |
| Hidden islands | The hidden islands. Click one to show it again, or click Hide an island to hide another. |
| One button per board | Switches that board on or off. |
Switch a board offLink to this section
- Open
/is admin editor> Addons > Leaderboards. - Click the board, for example Most Active. It now says off.
The board leaves /is top, and its placeholders show -. Click it again to switch it back on.
PlaceholdersLink to this section
These work with PlaceholderAPI. The top placeholders are the same for every player, so they also work for players without an island.
| Placeholder | Returns |
|---|---|
%albskyblock_top_<board>_<n>_owner% | Owner of the island at place n (1 to 10). |
%albskyblock_top_<board>_<n>_name% | That island's name, or the owner's name when it has none. |
%albskyblock_top_<board>_<n>_value% | What the board shows for it, like Level 12 (1,640 XP). |
%albskyblock_top_<board>_<n>_score% | The plain number, like 1,640 or 4.67. |
%albskyblock_rank_<board>% | The player's island place on that board, like 3. |
<board>is the board id. Dashes become underscores: the boardbonus-xpisbonus_xp.- An empty place, an island that is not on the board, and a board that is switched off all show
-. - The values change when the boards update.
Examples:
%albskyblock_top_level_1_name%: the name of the island with the highest level.%albskyblock_top_wealth_3_value%: the bank balance of the third richest island.%albskyblock_top_bonus_xp_1_owner%: the owner of the island with the most Bonus XP.%albskyblock_rank_rating%: the player's island place on the Best Rated board.
A board from any other addon gets the same placeholders, with its own id. In island menus, use the brace form with dashes: {top-level-1-name}, {rank-wealth}.
For a scoreboard line, the Level addon's %albskyblock_rank% shows the island's place on the Island Level board as #3. See Level.
See Placeholders for every placeholder of the plugin.
Menus and messagesLink to this section
| File | What is in it |
|---|---|
addons/leaderboards/menus/leaderboards.yml | The hub. Each board is a button with the look board. |
addons/leaderboards/menus/leaderboard.yml | One board. Islands use the looks first, second, third and entry. |
addons/leaderboards/lang.yml | Every message and the editor texts. |
All are in plugins/ALBSkyblock/ and can be edited in game in /is admin editor > Menus and Messages. The board names and descriptions are in the lang.yml of the addon that adds the board.
A few things you can change in the hub file:
list.icons.<board id>: another icon for one board, likelevel: EXPERIENCE_BOTTLE.list.layout: centered: a few boards are spread out in the middle. Remove it to fill the slots in order.
The menu placeholders are listed at the top of each file. Useful ones:
| Placeholder | Where | Returns |
|---|---|---|
{updated} | Both menus | Time since the last update, like 2m 5s. |
{next} | Both menus | Time until the next update. |
{every} | Both menus | Time between two updates, like 5 min. |
{my-rank} | Board buttons, one board | Your island's place, like #4, or not ranked. |
{my-value} | Board buttons, one board | What the board shows for your island. |
{top-1-name} to {top-3-name} | Board buttons in the hub | The top 3 island names. {top-1-owner} and {top-1-value} work too. |
{rank}, {name}, {owner}, {value}, {score} | Islands on one board | That island's place, name, owner, value and plain number. |
Islands on a board also get every island placeholder, like {members} or {level}.
To open the hub from another menu, use [function] open-leaderboards or [function] open-top. In the board menu, [function] leaderboard-find jumps to the page with the player's island. See Menus and messages.
For developersLink to this section
Any addon can add a board. It registers an id, a name, an icon, a description, its place in the hub, a score for each island, and the text to show for a score. The Leaderboards addon ranks it, adds it to /is top, and gives it placeholders. Addons can also read an island's place on any board. See Addon API.