Main Bank Menu

title: "&8Bank"
# Possible values:
# "CHEST_1_ROW", "CHEST_2_ROW", "CHEST_3_ROW", "CHEST_4_ROW", "CHEST_5_ROW", "CHEST_6_ROW", "DISPENSER", "HOPPER"
inventory-type: "CHEST_4_ROW"
background-item:
  material: "STAINED_GLASS_PANE:7"
  amount: 1
items:
  deposit:
    material: "CHEST"
    amount: 1
    name: "&aDeposit"
    lore:
      - ""
      - "&7Store coins in the bank to"
      - "&7keep them safe while you go"
      - "&7on adventures!"
      - ""
      - "&7Until interest: &b%interest-cooldown%"
      - ""
      - "&eClick to make a deposit!"
    click-actions:
      - actions:
          - "[OPEN_DEPOSIT]"
    slot: 11
  withdraw:
    material: "DISPENSER"
    amount: 1
    name: "&cWithdraw"
    lore:
      - ""
      - "&7Take your coins out of the"
      - "&7bank in order to spend"
      - "&7them."
      - ""
      - "&eClick to withdraw coins"
    click-actions:
      - actions:
          - "[OPEN_WITHDRAW]"
    slot: 13
  transaction-history:
    material: "PAPER"
    amount: 1
    name: "&aTransaction History"
    lore:
      - "%transaction-history%"
    slot: 15
  close:
    material: "BARRIER"
    amount: 1
    name: "&cClose"
    lore:
      - ""
      - "&7Close the bank menu."
      - ""
      - "&eClick to close the bank."
    click-actions:
      - actions:
          - "[MENU_CLOSE]"
    slot: 31
  info:
    material: "REDSTONE_TORCH_ON"
    amount: 1
    name: "&aInformation"
    lore:
      - ""
      - "&7Keep your money safe in the bank!"
      - ""
      - "&7Balance limit: %currency-color%%current-upgrade-balance-limit%"
      - ""
      - "&7The banker rewards you every 24"
      - "&7hours with &binterest &7for the"
      - "&7money in your bank balance."
      - ""
      - "&7Interest in: &b%interest-cooldown%"
      - "&7Projected: %currency-color%%interest-value% %currency-name%"
    slot: 32
  upgrades:
    material: "EMERALD"
    amount: 1
    name: "&aBank Upgrades"
    lore:
      - ""
      - "&7Are you so rich that you can't"
      - "&7even store your coins?"
      - ""
      - "&7Current account: %current-upgrade-name%"
      - "&7Bank limit: %currency-color%%current-upgrade-balance-limit%"
      - ""
      - "&eClick to view upgrades!"
    click-actions:
      - actions:
          - "[OPEN_UPGRADES]"
    slot: 35
transaction-history-templates:
  DEPOSIT: "&a+ %currency-color%%amount% %currency-name%&7, &e%transaction-countdown% Ago &7by &b%player-name%"
  WITHDRAW: "&c- %currency-color%%amount% %currency-name%&7, &e%transaction-countdown% Ago &7by &b%player-name%"
  INTEREST: "&8= %currency-color%%amount% %currency-name%&7, &e%transaction-countdown% Ago &7by &8Server Banker"
no-transaction-history:
  - "&7You have no transactions"
  - "&7to display."
# The maximum number of transactions to be stored
# and displayed in the transaction history.
transaction-history-limit: 10

Custom Actions

Besides the actions defined inside Actions this config file allows for the following custom ones:

  • [open_deposit] - Opens the deposit menu

  • [open_withdraw] - Opens the withdraw menu

  • [open_upgrades] - Opens the upgrades menu

Custom Placeholders

Placeholder
Description

%transaction-history%

Displays the transaction history. It is a dynamic placeholder that spans over multiple lines.

%currency-name%

The name of the bank's currency

%currency-color%

The color of the bank's currency

%current-upgrade-name%

The name of the bank's current upgrade

%current-upgrade-balance-limit%

The maximum balance of the bank's current upgrade

%interest-cooldown%

Time left until the interest

%interest-value%

How much interest should you expect to get with your current bank balance

Last updated