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.
| Argument | Type | Required | Description |
|---|---|---|---|
number | Integer | Yes | Page 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.
| Argument | Type | Required | Description |
|---|---|---|---|
player | String | Yes | Player name or UUID |
Example:
/ksbank open Steve
/ksbank open 550e8400-e29b-41d4-a716-446655440000
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.
| Argument | Type | Required | Description |
|---|---|---|---|
player | String | Yes | Player name or UUID |
item | String | Yes | Item ID (e.g. Sword_Iron) |
amount | Integer | No | Stack size. Defaults to 1. |
Example:
/ksbank give Steve Sword_Iron
/ksbank give Steve Gold_Ingot 64
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.
| Argument | Type | Required | Description |
|---|---|---|---|
player | String | Yes | Player name or UUID |
pages | Integer | No | Number 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.
| Argument | Type | Required | Description |
|---|---|---|---|
player | String | Yes | Player name or UUID |
Example:
/ksbank reset Steve
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.
| Argument | Type | Required | Description |
|---|---|---|---|
player | String | Yes | Player 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
| Permission | Description |
|---|---|
bank.admin | Required for all admin subcommands (open, give, adminupgrade, reset, log, reload) |
Player commands (page, upgrade, history) require no special permissions.