Create A New Bank Inventory
Follow the instruction to understand the inventory system and build unlimited GUIs by our own!
Buttons Values
NOTICE: Following the buttons values and understands them will save you a lot of time.
Value
Description
transfer
Sets button value to transfer custom amount action
deposit
Sets button value to deposit action
depositall
Sets button value to deposit all-action
depositcustom
Sets button value to deposit custom amount action
withdraw
Sets button value to withdraw action
withdrawall
Sets button value to withdraw all-action
withdrawcustom
Sets button value to withdraw custom amount action
back
Sets button value to back menu action
GUI buttons can be named like:
deposit1
,deposit2
,withdraw12
,withdraw24
, and so on.The custom values such:
depositCustom
,withdrawCustom
orTransfer
, can be numbered, with full action keyword (deposit/withdrawall/transfer/depositcustom etc..) and thevalue
of all of them needs to be0
.
Example of creating a new bank GUI menu
Final result
inventories.yml
:
inventories:
default:
my-custom-menu:
title: '&3&lMy Custom Bank GUI'
slots: 36
fillMaterial: CYAN_STAINED_GLASS_PANE
items:
deposit1:
material: LIME_STAINED_GLASS_PANE
slot: 10
flags: false
name: '&a&lDeposit $100'
value: 100.0
deposit2:
material: LIME_STAINED_GLASS_PANE
slot: 11
flags: false
name: '&a&lDeposit $5,000'
value: 5000.0
deposit3:
material: LIME_STAINED_GLASS_PANE
slot: 12
flags: false
name: '&a&lDeposit $15,000'
value: 15000.0
depositcustom:
material: GREEN_STAINED_GLASS_PANE
slot: 20
flags: false
name: '&a&lDeposit Custom Amount'
value: 0.0
depositall:
material: LIME_STAINED_GLASS_PANE
slot: 19
flags: false
name: '&2&lDeposit All'
value: 0.0
withdraw1:
material: YELLOW_STAINED_GLASS_PANE
slot: 14
flags: false
name: '&6&lWithdraw $100'
value: -100.0
withdraw2:
material: YELLOW_STAINED_GLASS_PANE
slot: 15
flags: false
name: '&6&lWithdraw $5,000'
value: -5000.0
withdraw3:
material: YELLOW_STAINED_GLASS_PANE
slot: 16
flags: false
name: '&6&lWithdraw $15,000'
value: -15000.0
withdrawcustom:
material: ORANGE_STAINED_GLASS_PANE
slot: 24
flags: false
name: '&6&lWithdraw Custom Amount'
value: 0.0
withdrawall:
material: YELLOW_STAINED_GLASS_PANE
slot: 25
flags: false
name: '&6&lWithdraw All'
value: 0.0
balance:
material: Sunflower
slot: 22
flags: false
name: '&2&l${balance}'
transfer:
material: Barrier
slot: 27
flags: false
name: '&5&lTransfer Money'
lore:
- '&7<o other account'
- '&8(Click again to clear selection)'
back:
material: IRON_DOOR
slot: 31
flags: false
name: '&c&lExit'
Last updated
Was this helpful?