Skip to main content

Bank Commands

All bank commands use the /ksbank prefix. Alias: /banker.


Player Commands

These commands are available to all players.

/ksbank

Opens your bank if you are near a bank NPC, or shows the help message.

/ksbank page <number>

Switch to a specific bank page.

ArgumentTypeRequiredDescription
numberIntegerYesPage number (1-based). Page 1 is the first page.

Example:

/ksbank page 3

/ksbank upgrade

Unlock the next bank page using in-game currency. The cost depends on the page being unlocked and is configured in config.json via the pageCosts array.

If you have already unlocked the maximum number of pages, this command will notify you.

/ksbank history

View your personal bank transaction history. Displays the 20 most recent deposits and withdrawals with timestamps, action type, item ID, and amount.

Deposits are shown in green, withdrawals in red.


Admin Commands

All admin commands require the bank.admin permission.

/ksbank open <player>

Open and view another player's bank contents. The target player's bank opens in read/write mode for the admin.

ArgumentTypeRequiredDescription
playerStringYesPlayer name or UUID

Example:

/ksbank open Steve
/ksbank open 550e8400-e29b-41d4-a716-446655440000
info

Player resolution checks online players first by UUID, then by username (case-insensitive). Offline players can only be resolved by UUID.

/ksbank give <player> <item> [amount]

Add an item directly to a player's bank storage. The item is placed in the first available slot on page 1.

ArgumentTypeRequiredDescription
playerStringYesPlayer name or UUID
itemStringYesItem ID (e.g. Sword_Iron)
amountIntegerNoStack size. Defaults to 1.

Example:

/ksbank give Steve Sword_Iron
/ksbank give Steve Gold_Ingot 64
note

This command can also be executed from the server console.

/ksbank adminupgrade <player> [pages]

Unlock additional bank pages for a player at no currency cost.

ArgumentTypeRequiredDescription
playerStringYesPlayer name or UUID
pagesIntegerNoNumber of pages to add. Defaults to 1.

Example:

/ksbank adminupgrade Steve
/ksbank adminupgrade Steve 3

If the player has already reached maxPages, the command will report that the maximum has been reached.

/ksbank reset <player>

Reset a player's bank entirely. All items are removed and the page count is set back to defaultPages from the config.

ArgumentTypeRequiredDescription
playerStringYesPlayer name or UUID

Example:

/ksbank reset Steve
danger

This action is irreversible. All items in the player's bank will be permanently deleted.

/ksbank log <player>

View the full bank transaction log for a specific player. Displays the 30 most recent entries with precise timestamps (date + time with seconds), action type, item ID, and amount.

ArgumentTypeRequiredDescription
playerStringYesPlayer name or UUID

Example:

/ksbank log Steve

/ksbank reload

Reload the bank configuration from config.json without restarting the server. Changes to page costs, slot counts, restriction mode, and restricted items take effect immediately.


Permissions

PermissionDescription
bank.adminRequired for all admin subcommands (open, give, adminupgrade, reset, log, reload)

Player commands (page, upgrade, history) require no special permissions.