ALB Studio

Menus and messages

Change any menu or message: the menu and lang files, the island functions buttons can run, your own /is menus, and what happens when an update redesigns a file.

Docs updated · What changed

On this page

Where the files areLink to this section

Every menu and every message players see is a YAML file you can change. You can edit them in game with /is admin editor (Menus and Messages), or in a text editor.

Path in plugins/ALBSkyblock/What it holds
menus/<id>.ymlOne file per ALBSkyblock menu, plus your own custom menus.
lang.ymlEvery ALBSkyblock message.
addons/<id>/menus/<menu>.ymlThe menus of an installed addon.
addons/<id>/lang.ymlThe messages of an installed addon.

The look every ALB plugin shares (frame panes, corners, back, close and page buttons) is in plugins/ALBCore/menus/common.yml. Menu sounds and the click cooldown are in plugins/ALBCore/config.yml under gui. See ALBCore YAML menus.

Files are copied from the jar when they are missing. After you edit a file by hand, run /is admin reload. Changes made in the editor apply at once.

Island menusLink to this section

FileOpens with
activity.yml/is activity and /is admin activity <player>.
border.yml/is border, /is settings and the helper.
confirm.ymlTransfer, leave and remove ask here first.
create-island.yml/is create when there are 2 or more island choices.
delete-confirm.yml/is delete and /is admin delete.
island-bans.yml/is bans and the team menu.
island-settings.yml/is settings and the helper.
permissions.yml/is permissions and the helper.
team.yml/is team and the helper.
team-member.ymlClicking someone in /is team.

Addon menusLink to this section

Each addon keeps its menus in addons/<id>/menus/. They show in the editor while the addon is installed.

AddonMenu files
Island Bankbank, bank-log, bank-members, bank-settings, bank-top
Biomebiome
Generatorsgenerator
Island Helperhelper
Homeshomes, home-manage
Island Infoisland-info, island-info-edit
Leaderboardsleaderboards, leaderboard
Levelisland-level, block-values, milestones
Block Limitsblock-limits
Island Missionsmissions, missions-daily, missions-weekly, missions-categories, missions-category
Island Storagestorage, storage-log
Upgradesupgrades, upgrade-pay
Visitvisit, ratings, reviews, island-profile, recent-visitors

Island Fly has no menu.

Change a menuLink to this section

The easy way is in game:

  1. Run /is admin editor and click Menus.
  2. Click the menu you want to change.
  3. Click an item to change it, or an empty slot to add one. You can change the item, its name, lore, glow, actions and permission.
  4. Click Try it to see the menu as players do.

Changes are saved to the menu's file at once.

The file formatLink to this section

Every menu file explains its own format at the top. This is the start of create-island.yml:

plugins/ALBSkyblock/menus/create-island.yml
# /is create: pick a starting island (choices: /is admin editor > Island Choices).
# List placeholders: {name}, {lore} (the choice's own lore).
# Format: every item has a slot (0 = top left, 9 per row), an item (a material, or item-data set in game),
# name, lore, glow and actions run in order when clicked (none = decoration):
#   [close] [back] [open] <menu> [next-page] [previous-page] [function] <id>
#   [player] <command> [console] <command> [message] <text> [sound] <sound> [volume] [pitch]
# permission: <perm> + locked: (hide: true, or a look and actions for players without it).
# list.slots = where the list entries go (more entries than slots = pages).
# list.layout: centered = few entries are spread out in the middle (default: fill in order).
# Edit in game: /is admin editor > Menus.

version: 2
revision: 3
title: "&8ɪꜱʟᴀɴᴅ | ᴄʜᴏᴏꜱᴇ ʏᴏᴜʀ ɪꜱʟᴀɴᴅ"
rows: 4
fill: edges

Every action ([close], [open] <menu>, [function] <id>, [player] <command>...) is explained in ALBCore YAML menus. The island functions you can run with [function] <id> are listed below.

Placeholders in island menusLink to this section

Island menus can show these values in names and lore:

PlaceholderValue
{owner}The island owner's name.
{size}Island size, for example 50x50.
{x}, {z}The island centre.
{members}, {team-limit}Team members and the most allowed.
{trusted}, {trusted-limit}Trusted players and the most allowed.
{locked}Whether the island is locked.
{my-role}The viewer's role on the island.
{player}, {prefix}, {page}, {pages}From ALBCore: the viewer, the message prefix, the page number and the page count.

Installed addons add their own, for example {biome} or {bank-balance}. The full list is on the Placeholders page. An addon placeholder whose addon is not installed shows - (the addons.missing-value message).

[function] <id> runs island code when the item is clicked. In the menu editor, the action picker lists the functions a menu can use. Each function needs the same permission as its /is command: a player without it gets the no-permission message.

If a button uses a function of an addon that is not installed, the player is told to contact an admin about that addon.

Any menuLink to this section

FunctionWhat it does
island-homeTeleports to the island.
open-createOpens the create island picker.
open-settingsOpens the island settings.
open-permissionsOpens the permissions menu.
open-borderOpens the border style menu.
open-activityOpens the island activity.
open-teamOpens the team menu.
open-bansOpens the banned players menu.
set-spawnSets the island spawn where the player stands (/is setspawn).
delete-islandDeletes the island (asks first).
reset-islandResets the island (asks first).
helpShows /is help.
team-inviteAsks for a player name in chat, then invites them.
team-trustAsks for a player name in chat, then trusts them.
team-lockLocks or unlocks the island.
team-chatTurns team chat on or off.
team-leaveLeaves the team (asks first).

One menu onlyLink to this section

These only work in the menu named, because they act on what that menu shows.

FunctionMenuWhat it does
member-promote, member-demote, member-remove, member-transferteam-memberPromote, demote, remove (asks) or give the island to the clicked member (asks).
team-banisland-bansAsks for a player name in chat, then bans them.
confirm-yes, confirm-noconfirmAnswer the question.
role-switch, allow-all, deny-allpermissionsSwitch role, allow or deny every right on the page.
border-off, border-blue, border-green, border-redborderPick a border style.
confirm-delete, cancel-deletedelete-confirmDelete the island, or cancel.

Addon functionsLink to this section

These exist while their addon is installed.

AddonFunctions for any menuFunctions for one menu
Island Bankopen-bank, open-bank-log, open-bank-members, open-bank-top-
Biomeopen-biome-
Island Flytoggle-fly-
Generatorsopen-generator-
Island Helperopen-helper, move-helper-
Homesopen-homes, home-addhome-teleport, home-main, home-rename, home-icon, home-pin, home-move, home-delete (home-manage)
Island Infoopen-info, open-info-edit-
Leaderboardsopen-leaderboards, open-topleaderboard-find (leaderboard)
Levelopen-level, open-values, open-milestoneslevel-recalc (island-level), values-search (block-values)
Block Limitsopen-limits-
Island Missionsopen-missionsmissions-daily, missions-weekly, missions-permanent (missions)
Island Storageopen-storage, open-storage-log-
Upgradesopen-upgrades-
Visitopen-visit, open-ratings, open-profilevisit-sort, visit-search (visit), ratings-search (ratings), review-visit (reviews), profile-name, profile-desc, profile-welcome, profile-welcome-text, profile-open, profile-warp, profile-notify, open-recent, open-my-reviews (island-profile)

Some menus also use functions that only their own code knows, for example the bank's deposit buttons or the activity filter. They are in the default files. Keep them as they are.

Make your own menuLink to this section

You can add menus of your own, for example a rules page or a shortcut menu. Each one opens with /is <name>.

  1. Run /is admin editor > Menus and click + New menu.
  2. Type the menu's name in chat: a-z, 0-9, _ or -, up to 24 characters. The new menu has 3 rows, a frame and a close button.
  3. Add items and give them actions: [open] <menu>, island functions, commands or messages.
  4. Players open it with /is <name>. A different command can be set in Menu options.

A few rules:

  • The command can't be one /is already uses (tp, team, settings, bank...), an addon command, or a command of an official addon, even one that is not installed.
  • Island placeholders ({owner}, {size}...) work when the player has an island.
  • Custom menus are listed in /is help under Menus, with their title.
  • The file is menus/<name>.yml. Delete the menu in the editor to remove it.

When a menu is redesignedLink to this section

Each menu file has a revision number. When a new version of the plugin or an addon ships a redesigned menu (a higher revision):

  1. Your copy is kept as <id>.old.yml next to the new file.
  2. The new menu is written and used.
  3. The console says which menu was replaced.

Open the .old.yml file to copy your own texts or items into the new menu, or redo them in the editor. Old files are never loaded as menus.

MessagesLink to this section

Every ALBSkyblock message is in lang.yml. Each addon has its own addons/<id>/lang.yml. In the editor, Messages shows all of them together, one section at a time.

plugins/ALBSkyblock/lang.yml
# ALBSkyblock messages. Text accepts & colour codes, &#rrggbb and MiniMessage.
# {prefix} is replaced by the prefix below. Other {placeholders} are listed next to each message.
# Bedrock players see the same text: keep lines short and use the 16 classic colours for important words.

# Bumped when the plugin's texts are redesigned: an older lang.yml is saved as lang-old-<n>.yml and replaced.
lang-version: 5

prefix: "<gradient:#7DD3FC:#A78BFA><b>ꜱᴋʏʙʟᴏᴄᴋ</b></gradient> &8» &7"

command:
  player-only: "{prefix}&#F87171✖ &7Only players can use this."
  no-permission: "{prefix}&#F87171✖ &7You don't have permission to do that."
  • Colours: & codes, &#rrggbb and MiniMessage tags.
  • {prefix} is the prefix key at the top of the file. Other placeholders are listed in a comment next to each message.
  • PlaceholderAPI placeholders (%...%) work in messages sent to players.
  • A message can be one line or a list of lines.

Where a message showsLink to this section

Start a message with a tag to choose where it appears:

TagShows in
[chat]Chat. This is used when there is no tag.
[actionbar]The action bar above the hotbar.
[title]A title in the middle of the screen.
[bossbar]A boss bar at the top. Time and colour: messages in config.yml.
[off]Not sent at all.
plugins/ALBSkyblock/lang.yml
command:
  player-only: "[actionbar] {prefix}&#F87171✖ &7Only players can use this."

In the editor, the Shows in button sets the tag for you.

Change a messageLink to this section

  1. Run /is admin editor > Messages.
  2. Click the section, then the message.
  3. Click Edit text and type the new text in chat. For a list, type one line per chat message, then done.

Or edit lang.yml and run /is admin reload.

New versionsLink to this section

  • New messages are added to your file by themselves. Your texts stay.
  • Messages that no longer exist are removed from your file.
  • When a release redesigns the texts, it raises lang-version. Your file is then kept as lang-old-<n>.yml (<n> is your old version) and a fresh file is written. Addon files work the same way, in their own folder.

How ALBCore handles messages is explained in ALBCore lang.

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