Bank & Economy

6commands
2files
2figures
3min read
Sheet 16 of 53 · Playing

Filesconfig.yml · gui/bank.yml

Fileconfig.ymlFilegui/bank.ymlCommand/is bankCommand/is depositEvery island has a shared bank that the whole team pays into and spends from. It earns interest, and loans and season prizes run through it too.

The island bank: balance, deposits and withdrawals, and the interest it earns.
The island bank menu, the gold ingot hovered showing the balance

Using the bank

CommandWhat it does
/is bankOpen the island bank GUI
/is deposit <amount>Deposit money into the bank
/is withdraw <amount>Withdraw money from the bank
/is banklogsView the bank transaction log. Alias: banklog
/is bank loan <amount>Borrow money into the bank (if loans are enabled)
/is bank repay <amount>Repay outstanding loan debt from the bank

Who may deposit and withdraw is controlled by the DEPOSIT_BANK and WITHDRAW_BANK role permissions, so an owner can let members chip in while keeping withdrawals to themselves. The bank log keeps a running history of who moved what. How much the bank can hold is the bank-limit upgrade; deposits past it are refused and you keep the excess.

Interest

Every movement is logged with who made it.
The bank ledger, an interest entry hovered showing the amount and when it landed

Command/is banklogsThe bank pays interest on a timer, which gives players a reason to bank money instead of sitting on it. Skill tree and prestige perks raise the rate. Each payout shows up in /is banklogs as an interest entry next to deposits and withdrawals.

config.yml
economy:
  bank-interest:
    enabled: true
    rate: 0.002             # per cycle, compounding: about +5% a day at 60 minutes
    interval-minutes: 60
    max-balance: 0.0        # cap interest growth; 0 = no cap
    skip-inactive-days: 30  # no interest for islands nobody has joined in this many days; 0 = pay forever
    # Optional tiered rates: a balance at or above min-balance earns that rate
    # instead of the base rate (highest matching bracket wins). Leave empty for a flat rate.
    tiers:
      - { min-balance: 100000, rate: 0.0025 }
      - { min-balance: 1000000, rate: 0.003 }
      - { min-balance: 10000000, rate: 0.0035 }

rate is per cycle, not per day, and it compounds: the daily multiplier is (1 + rate) ^ (1440 / interval-minutes). Interest never pushes a balance past max-balance or the island's bank-limit. An island that has been inactive for skip-inactive-days stops earning until a member joins again; nothing is lost, it only pauses.

Filegui/bank.ymlThe one-click deposit and withdraw buttons (100, 1,000 and 10,000 by default) live in gui/bank.yml, where you set each button's amount, icon and slot together. The bank menu also has a button that opens the log.

Tiered interest

A bigger balance can earn a better rate. Each tiers bracket sets a min-balance and the rate it pays; the highest bracket the island's balance reaches wins, and balances below every bracket fall back to the flat rate. The bracket rate stacks with skill-tree and prestige interest bonuses on top.

Loans

Loans let an island borrow money into its bank now and pay it back later, with interest on the debt. They're off by default; turn them on if you want debt as a money sink.

config.yml
economy:
  bank-loan:
    enabled: false
    max-loan: 1000000.0   # cap on outstanding debt
    interest-rate: 0.01   # per bank-interest cycle, compounding

Command/is bank loanCommand/is bank repay/is bank loan <amount> credits the bank and records the debt up to max-loan; /is bank repay <amount> pays it back out of the bank. While any debt is outstanding it grows by interest-rate every bank-interest cycle (loans ride the same timer as interest), so borrowing isn't free. Both actions need the WITHDRAW_BANK role permission.

Keep interest-rate above every deposit rate, including the skill-tree and prestige bonuses that stack on top. Otherwise a player could borrow the maximum, leave it in the bank and earn the difference forever. While loans are on, IgniteSky never pays a deposit rate above the loan rate and warns in the console if the config would.

Where else money matters

WhereFlow
Unlocking a ChunkBlock chunkCosts economy.chunk-unlock-cost (default 1000); without Vault it costs items from chunklock.chunk-unlock-materials instead
Island upgradesCost per tier, set in progression/upgrades.yml
Season rewardsPays out to the top islands, by default into their banks (see Seasons)

Loading the index

Enter openUp Down moveEsc close