Skip to content

UI Pages

The Bank plugin uses Hytale’s native UI system with InteractiveCustomUIPage and ContainerWindow for drag-and-drop support. This page documents every player-facing UI element.


How to open: Interact with a bank NPC (press F) or use /ksbank

The bank page uses a 3-panel layout:

ElementTypeDescription
View modeSection headerLabel for the view toggle section
Sort dropdownDropdownSort items: Default, A-Z, Z-A, Rarity
Scroll toggleButtonSwitch between scrollbar mode and paginated view
SearchText InputSearch for items across all pages by name

Settings are saved per player and persist across sessions.

ElementTypeDescription
ItemGridNative ItemGridDrag-and-drop grid displaying bank items. Uses DecoratedContainer styling
Page selectorPopupClick to open page overview — shows all unlocked pages with navigation
Page navigationButtonsPrevious/Next page buttons (Bank_Prev/Bank_Next items)
Item slotsGrid cellsEach slot shows the item icon with quantity. Custom BankSlot.png background

The ItemGrid uses native Hytale drag-and-drop:

  • Drag items between bank and inventory
  • Shift+Click to quickly move items from inventory to bank
  • Right-click to split stacks
  • Items are validated server-side — restricted items are rejected by BankItemContainer
ElementTypeDescription
Balance displayLabelsShows balance for each detected economy provider
Currency withdrawButtonWithdraw currency to inventory as coin items
Provider selectorDropdownChoose which economy provider to use for upgrades

How to open: Click the page indicator in the bank UI

Shows all bank pages in a list:

ElementTypeDescription
Page rowsListEach row shows page number, used/total slots, and items count
Buy buttonButton (per row)Purchase the next locked page — shows cost in the selected currency
Lock iconDisplayShown on pages that are locked (not yet purchased)
Shop info buttonButton”Want more pages?” link to web shop (if configured)

:::tip Inline Buy Buttons Each locked page row displays a buy button with the exact cost. Players can purchase pages directly from this overview without a separate dialog. :::


How to open: /ksbank history

ElementTypeDescription
Entry listScrollable listShows the 20 most recent transactions
Entry formatDisplay`DD.MM HH:mm
Color codingVisualDeposits in green (#66ff66), withdrawals in red (#ff6666)
Item iconsDisplayItem icons shown next to each entry

When a player interacts with a bank NPC (press F):

  1. The BankCitizenHandler detects the interaction
  2. The NPC’s dialog greeting is shown (if configured)
  3. The bank page opens automatically with the player’s data
  4. World group is resolved based on the player’s current world

The bank NPC requires a citizen profile with the bank role configured in the KyuubiSoft Citizens system.


When a player tries to deposit a restricted item:

  • The item is rejected server-side by BankItemContainer slot validation
  • The item bounces back to the player’s cursor
  • No error message is shown — the slot simply refuses the item

This applies to both drag-and-drop and Shift+Click operations.