Skip to main content
Structure: NumericalStorageMenuConfig Configures the UI layout for the storage menu.

Layout

title
String
default:"Storage"
Menu title.
rows
Int
default:"3"
Size of the menu (1-6).
fillEnabled
Boolean
default:"true"
If true, fills empty slots with the fill item.
fill
Item
Format for filler items.

Components

transactionButtons
List<Button>
Buttons for “Deposit 100”, “Withdraw All”, etc.
optionalButtons
List<Button>
Decorative or info buttons.
levelButton
Button
The main button showing current level/stats and triggering upgrade.
customAmountDialog
Dialog
Configuration for the Anvil GUI used for custom amounts.

Messages

maxLevelMessage
String
Feedback when clicking level button at max level.
criteriaNotMetMessage
String
Feedback when upgrade requirements are missing.
notEnoughFundsMessage
String
Feedback when player cannot afford upgrade cost.