Island Bank
Give every island a shared money balance with deposits, withdrawals, daily limits per role, interest, history and a richest-islands board.
Docs updated · What changed
On this page
- What it is for
- Open the bank
- Put money in
- Take money out
- Typing amounts
- The yes / no menu
- The history
- Richest islands
- Set daily limits for your island
- Commands
- Island rights
- Permissions
- How much the bank holds
- Let players buy a bigger bank
- Interest
- When an island is deleted
- Works with other addons
- The bank requirement
- The wealth board
- Configuration
- In-game editor
- Placeholders
- Admin commands
- Menus
- Add a bank button to a menu
- Messages
- For developers
What it is forLink to this section
The Island Bank gives every island one money balance that the whole team shares. Team members put their own money in, and roles you trust can take it out again. The bank:
- keeps a history of every deposit and withdrawal, and how much each player put in and took out,
- can earn interest over time,
- has daily withdraw limits per role, so a new member can't empty it,
- can pay for upgrades and receive mission money rewards,
- adds a "Richest Islands" board to
/is top.
The bank always belongs to your own island: the one you own, or the one whose team you are in. Trusted players use the bank of their own island, not yours.
To install it, put ALBSkyblock-Bank.jar into plugins/ALBSkyblock/addons/ and restart. See Addons.
Open the bankLink to this section
Type /is bank. You can also add a button to any island menu with the function open-bank (see Add a bank button to a menu).
| Button | What it does |
|---|---|
| Island Bank (top) | Shows the balance, how much fits, a fill bar, the interest rate, when the next interest comes, and your own money. |
| Deposit 100 / 1,000 / 10,000 | Puts that much of your money in. |
| Deposit everything | Puts all your money in, as much as fits. |
| Deposit an amount | Asks you to type an amount in chat. |
| Withdraw 100 / 1,000 / 10,000 | Takes that much out. |
| Withdraw everything | Takes the whole balance out. |
| Withdraw an amount | Asks you to type an amount in chat. |
| Bank History | Every change to the bank. See The history. |
| Who Gave What | How much each player put in and took out. |
| Richest Islands | The island banks with the most money. |
| Bank Settings | Daily withdraw limits for your island. See Set daily limits. |
The menu updates live: when a team mate puts money in, you see the new balance at once. A button your role may not use shows "Locked (your role may not)".
The three amounts on the quick buttons are set by the server (amounts in the configuration).
Put money inLink to this section
- Open
/is bank. - Click a Deposit button. For your own amount, click Deposit an amount and type it in chat, like
1500or2.5k. - A yes / no menu shows the amount, the bank balance after, and your money after. Click Yes.
The money leaves your balance and goes into the bank. The owner and team members who are online get a message.
Or use a command: /is bank deposit 1500.
Rules:
- You need the Put money in the island bank right. Members, officers and co-owners have it by default.
- When the bank is almost full, only what fits goes in. The yes / no menu shows that smaller amount.
- When the bank is full, you are told to upgrade it. See How much the bank holds.
- The smallest amount is 1 by default (
min-amount).
Take money outLink to this section
- Open
/is bank. - Click a Withdraw button, or Withdraw an amount and type it.
- Check the amount in the yes / no menu and click Yes.
The money goes into your own balance. Or use a command: /is bank withdraw 1500.
Rules:
- You need the Take money from the island bank right. Officers and co-owners have it by default. Members don't.
- Your role may have a daily limit: the most you may take out in any 24 hours. Members may take out 25,000 a day by default. The owner never has a limit.
- If an amount would take you over your daily limit, nothing is taken. You are told your limit and how much you may still take out today.
- If you ask for more than the bank holds, you get what it holds.
Typing amountsLink to this section
Wherever you type an amount, in chat or in a command, these work:
| You type | Means |
|---|---|
1500, 1,500, 12.50 | That amount. Decimals work. |
2.5k, 1m | Short forms: 2,500 and 1,000,000. |
half | Half your money (deposit) or half the bank (withdraw). |
all (or max, everything) | All your money (deposit) or the whole bank (withdraw). |
cancel | In chat only: stops and opens the bank again. |
The yes / no menuLink to this section
By default the bank asks before money goes in or out. The menu shows the exact amount that will move. Only that amount moves: if the bank or your money changed while the menu was open, nothing moves and you are asked to try again.
Server owners can turn the question off, or only ask for bigger amounts. See confirm in the configuration.
The historyLink to this section
Bank History (or /is bank log) lists every change, newest first. Each line shows the kind, who did it, the amount, the balance after and how long ago.
| Kind | What it is |
|---|---|
| Deposit | A player put money in. |
| Withdrawal | A player took money out. |
| Interest | The bank earned interest. |
| Payment | The bank paid for something, like an upgrade. |
| Income | An addon paid the bank, like a mission reward. |
| Staff change | Staff changed the balance with /is admin bank. |
Click Show at the bottom to switch between Everything, Money in, Money out, Interest and Staff changes.
You need the See the island bank history right (members and up by default). History older than 30 days is removed (history-keep-days).
Who Gave What (/is bank members) shows each player's total deposits, total withdrawals and the difference, for as long as the island exists. These totals are never removed with old history. Players who left the team show as "left the island".
Richest islandsLink to this section
Richest Islands (/is bank top) ranks every island bank by its balance. Your own island is highlighted, and the top shows your place. Click an island to visit it (this uses the Visit addon).
Islands with an empty bank are not listed. Islands that staff hid from the leaderboards are not listed either.
Set daily limits for your islandLink to this section
The server sets a daily withdraw limit for each role. An island can set its own instead, for example to let members take out more, or nothing at all.
- Open
/is bankand click Bank Settings (or type/is bank settings). - Click a role.
- Type the new limit in chat:
- an amount, like
5000or2.5k, -1(ornone) for no limit,0to stop that role from taking money out at all.
- an amount, like
To go back to the server's limit, point at the role and press Q.
Rules:
- You need the Change the island bank settings right. By default only the owner and co-owners have it.
- You can only change roles below your own. A co-owner can change officers and members, but not co-owners.
- The owner has no limit, and that can't be changed.
- The limit counts what that player took out in the last 24 hours. Paying for an upgrade from the bank does not count.
- A role also needs the Take money from the island bank right. A limit alone does not let a role take money out.
CommandsLink to this section
| Command | What it does | Island right |
|---|---|---|
/is bank | Opens the bank. | - |
/is bank deposit <amount> | Puts money in. Short forms: d, put. | Put money in the island bank |
/is bank withdraw <amount> | Takes money out. Short forms: w, take. | Take money from the island bank |
/is bank balance | Shows the balance and how much fits. Short form: bal. | - |
/is bank log | Opens the history. Also /is bank history. | See the island bank history |
/is bank members | Opens Who Gave What. | - |
/is bank top | Opens Richest Islands. | - |
/is bank settings | Opens the bank settings. | Change the island bank settings |
All of them need the server permission albskyblock.command.bank, which every player has by default.
Island rightsLink to this section
The bank adds four island rights. Teams change them in /is permissions. The owner always has all of them.
| Right | Key | Member | Officer | Co-owner |
|---|---|---|---|---|
| Put money in the island bank | bank_deposit | Yes | Yes | Yes |
| Take money from the island bank | bank_withdraw | No | Yes | Yes |
| See the island bank history | bank_log | Yes | Yes | Yes |
| Change the island bank settings | bank_settings | No | No | Yes |
Trusted players have none of them by default. To change the defaults for every new island, use /is admin editor > Default Permissions, or island-defaults.permissions in config.yml. See Server defaults.
PermissionsLink to this section
| Permission | Default | What it does |
|---|---|---|
albskyblock.command.bank | true | Use /is bank and the bank menus. Take it away to block the bank for a group. |
albskyblock.bank.capacity.<N> | false | The island bank holds up to N money. Read from the island owner. |
albskyblock.admin | op | /is admin bank. |
Staff with the bypass turned on have no daily limit and can change every role in Bank Settings.
How much the bank holdsLink to this section
Every bank has a capacity: the most money it can hold. Deposits stop there, and interest never goes over it.
The capacity comes from three places:
default-capacityin the config: 1,000,000 by default. Set it to0for no limit at all.- A rank: if the island owner has
albskyblock.bank.capacity.<N>, the highestNis used instead. This is only read while the owner is online. While they are offline,default-capacityis used. - An upgrade: the Upgrades addon can sell a bigger bank with the upgrade type
bank. When the upgrade is higher than the rank (or default), the upgrade wins.
With default-capacity: 0 the bank has no limit, so ranks and upgrades don't change anything.
Let players buy a bigger bankLink to this section
The Upgrades addon ships with a Bank Size upgrade already set up:
bank:
type: bank
name: "DD3FCBank Size"
icon: GOLD_BLOCK
tiers:
- {value: 2500000, cost: 20000, requirements: ["level:10"]}
- {value: 5000000, cost: 60000, requirements: ["level:25"]}
- {value: 10000000, cost: 150000, requirements: ["level:45"]}value is the new capacity. Change the tiers in /is admin editor > Addons > Upgrades. See Upgrades.
InterestLink to this section
Interest makes a bank grow by itself. By default, every 60 minutes the bank gets 1% of its balance, at most 5,000 at a time.
- The timer starts when money first goes into the bank. After that, interest is paid every
interval-minutes. - A payout is capped at
max-payout, and never goes over the bank's capacity. A full bank gets nothing. - By default, interest is only paid while the owner or a team member is online (
need-online-member). This stops empty islands from farming interest. - The online team gets a message with the amount.
- The interest rate and the time until the next payout show in
/is bank.
Turn interest off with interest.enabled: false.
When an island is deletedLink to this section
When an island is deleted, its bank closes. What happens to the money depends on on-delete:
refund-owner(default): the owner gets the whole balance into their own money, even if they are offline.lose: the money is gone.
The bank's history and member totals are deleted with it.
Works with other addonsLink to this section
| Addon | What it does with the bank |
|---|---|
| Upgrades | Upgrades can be paid from the bank (its pay-with option). With pay-with: choose, the buyer may only pick the bank when they have the Take money from the island bank right. The bank upgrade type raises the capacity. |
| Island Missions | Money rewards go into the bank, as much as fits. The rest goes to the player who claimed it. |
| Leaderboards | Adds the board wealth ("Richest Islands"), ranked by bank balance. |
| Any addon with requirements | The requirement type bank (see below). |
Bank payments show as Payment and Income in the history.
The bank requirementLink to this section
The bank adds the requirement type bank. It is met when the island bank holds at least that much. Nothing is taken.
requirements:
- "bank:10000"Players see it as "Island bank holds <amount>", with the current balance. A value that is not an amount is never met. In the requirement editor it is called Island bank.
The wealth boardLink to this section
With the Leaderboards addon installed, /is top gets a Richest Islands board. It ranks islands by bank balance and leaves out empty banks. Its id is wealth, so its placeholders are %albskyblock_rank_wealth% and %albskyblock_top_wealth_<n>_owner%, _name%, _value% and _score%. See Leaderboard placeholders.
The board's name, description and line are in the bank's lang.yml under bank.board-name, bank.board-description and bank.board-line. Turn the board off in the Leaderboards addon's settings.
ConfigurationLink to this section
The file is plugins/ALBSkyblock/addons/bank/config.yml. These are the defaults:
# Island Bank addon (/is bank): money the whole island team shares.
# Also editable in game: /is admin editor > Addons > Island Bank.
# Needs Vault and an economy plugin. Amounts are money (decimals work, e.g. 12.50).
# Who may put in, take out and see the history: /is permissions (Island Bank rights).
# Most an island bank may hold (0 = no limit). The island owner's highest
# albskyblock.bank.capacity.<N> gives more, and so does the Upgrades addon (type bank).
default-capacity: 1000000
# The quick buttons in /is bank.
amounts:
small: 100
medium: 1000
large: 10000
# Smallest deposit or withdrawal.
min-amount: 1
# Ask in a yes / no menu before money goes in or out: the menu buttons, typed amounts and
# /is bank deposit|withdraw. The menu shows the exact amount; only that amount is moved.
confirm:
deposit: true
withdraw: true
# Only ask for amounts of at least this much (0 = always ask).
min-amount: 0
# Most each role may take out in 24 hours. -1 = no limit, 0 = may not take out at all.
# The island owner has no limit. They still need the "Take money from the island bank" right.
daily-withdraw-limit:
co-owner: -1
member: 25000
trusted: 0
interest:
enabled: true
# Percent of the balance added every interval.
percent: 1.0
interval-minutes: 60
# Most one payout may be (0 = no limit). Payouts never go over the bank's capacity.
max-payout: 5000
# Only pay while someone of the island team is online (stops AFK-free farming of offline banks).
need-online-member: true
# When an island is deleted: refund-owner (the owner gets the money) or lose.
on-delete: refund-owner
# Tell the online team when someone puts money in or takes it out.
notify-team: true
# Days the bank history is kept (0 = forever). Totals per member are kept for good.
history-keep-days: 30
# Most history lines shown in /is bank log.
history-size: 200| Option | Default | What it does |
|---|---|---|
default-capacity | 1000000 | Most money a bank holds without a rank or upgrade. 0 = no limit. |
amounts.small | 100 | Amount of the small Deposit and Withdraw buttons. |
amounts.medium | 1000 | Amount of the medium buttons. |
amounts.large | 10000 | Amount of the large buttons. |
min-amount | 1 | Smallest deposit or withdrawal. |
confirm.deposit | true | Ask yes / no before money goes in. |
confirm.withdraw | true | Ask yes / no before money comes out. |
confirm.min-amount | 0 | Only ask for amounts of at least this much. 0 = always ask. |
daily-withdraw-limit.<role> | see above | Most that role may take out in 24 hours. -1 = no limit, 0 = may not take out. Role keys use -: co-owner. A role not listed has no limit, so officers have none by default. Islands can set their own in Bank Settings. |
interest.enabled | true | Turns interest on or off. |
interest.percent | 1.0 | Percent of the balance paid each time (0 to 100). |
interest.interval-minutes | 60 | Minutes between two payouts (1 to 10080). |
interest.max-payout | 5000 | Most one payout may be. 0 = no limit. |
interest.need-online-member | true | Only pay while the owner or a team member is online. |
on-delete | refund-owner | When an island is deleted: refund-owner or lose. |
notify-team | true | Tell the online team about deposits and withdrawals. |
history-keep-days | 30 | Days the history is kept. 0 = forever. Old lines are removed at start and every 6 hours. |
history-size | 200 | Most lines shown in the history menu (10 to 1000). |
After editing the file, run /is admin reload.
In-game editorLink to this section
Open /is admin editor > Addons > Island Bank. Click a button and type the new value in chat, or click a switch to flip it. Changes apply at once.
| Button | Option |
|---|---|
| Bank size | default-capacity (0 = no limit) |
| Small button, Medium button, Large button | amounts.small, amounts.medium, amounts.large |
| Smallest amount | min-amount |
| Team messages | notify-team |
| Interest | interest.enabled |
| Interest percent | interest.percent |
| Interest every | interest.interval-minutes |
| Biggest payout | interest.max-payout (0 = no limit) |
| Needs someone online | interest.need-online-member |
| Keep history | history-keep-days (0 = forever) |
| Confirm deposits, Confirm withdrawals | confirm.deposit, confirm.withdraw |
| Confirm from | confirm.min-amount |
| Island deleted | on-delete: click to switch between "The owner gets it" and "It is lost". |
| Daily limits per role | daily-withdraw-limit: click a role and type a limit (-1 = no limit, 0 = may not take out). |
history-size is only in the file.
PlaceholdersLink to this section
| Placeholder | Returns | Example |
|---|---|---|
%albskyblock_bank_balance% | Money in the island bank. | $12,500.00 |
%albskyblock_bank_capacity% | Most the bank can hold, or no limit. | $1,000,000.00 |
%albskyblock_bank_interest% | The interest rate, or none. | 1% every 1h 0m |
In island menus the same values are {bank-balance}, {bank-capacity} and {bank-interest}. Menus also have {bank-top-<n>-owner} and {bank-top-<n>-balance} for the 10 richest banks. Money is shown in your economy plugin's format. See Placeholders.
Admin commandsLink to this section
These need albskyblock.admin and also work from the console. <player> is anyone on the island: the owner or a team member.
| Command | What it does |
|---|---|
/is admin bank <player> info | Shows the balance, capacity, interest rate and when the next interest comes. |
/is admin bank <player> log | Shows the last 15 history lines in chat. |
/is admin bank <player> give <amount> | Puts money into the bank. |
/is admin bank <player> take <amount> | Takes money out (at most the balance). |
/is admin bank <player> set <amount> | Sets the balance. |
Amounts work like for players: 1000, 10k, 1m, half or all (of the current balance). Staff changes ignore the capacity and the daily limits. They show in the island's history as Staff change, with your name.
MenusLink to this section
The bank's menus are in plugins/ALBSkyblock/addons/bank/menus/. Change them in /is admin editor > Menus.
| File | Opens with | Its own placeholders |
|---|---|---|
bank.yml | /is bank | {balance} {capacity} {room} {percent} {bar} {wallet} {small} {medium} {large} {interest} {next-interest} {daily-limit} |
bank-log.yml | /is bank log | {filter} {count}, and per line {kind} {who} {amount} {balance} {when} {note} |
bank-members.yml | /is bank members | Per player {rank} {name} {role} {deposited} {withdrawn} {net} |
bank-top.yml | /is bank top | {my-rank} {my-balance}, and per island {rank} {owner} {name} {balance} |
bank-settings.yml | /is bank settings | Per role {role} {limit} {source} |
The buttons in bank.yml use functions only the bank knows: bank-deposit-small, -medium, -large, -all, -custom, the same for bank-withdraw-, and open-bank-settings. Keep them as they are.
Add a bank button to a menuLink to this section
Any island menu can open the bank. Add a button with one of these functions:
| Function | Opens |
|---|---|
open-bank | The bank |
open-bank-log | The history |
open-bank-members | Who Gave What |
open-bank-top | Richest Islands |
For example, in a menu file:
bank:
slot: 22
item: GOLD_BLOCK
name: "DD3FCIsland Bank"
lore:
- "&8▪ &7Balance: &f{bank-balance}"
actions:
- "[function] open-bank"Or add it in /is admin editor > Menus. See Menus and messages.
MessagesLink to this section
The bank's messages are in plugins/ALBSkyblock/addons/bank/lang.yml, in the sections bank, bank-admin and bank-editor. Change them in /is admin editor > Messages. See Messages.
For developersLink to this section
Other plugins can read and change island banks through the Skyblock API, and listen to every bank change with IslandBankTransactionEvent. See Events.