Commands
Bank Commands
Section titled “Bank Commands”All bank commands use the /ksbank prefix. Alias: /banker.
Player commands require no special permissions. Admin commands require the bank.admin permission. See Permissions for details.
Player Commands
Section titled “Player Commands”These commands are available to all players. Individual features (upgrade, transfer, withdraw, deposit) can be gated behind permissions via the permissions config section. See Configuration for details.
/ksbank
Section titled “/ksbank”Opens your bank if you are near a bank NPC, or shows the help message.
/ksbank page <number>
Section titled “/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
Section titled “/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 upgrade.defaultCosts array (or upgrade.providerCosts for provider-specific pricing).
If you have already unlocked the maximum number of pages, this command will notify you.
/ksbank history
Section titled “/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
Section titled “Admin Commands”All admin commands require the bank.admin permission.
/ksbank admin
Section titled “/ksbank admin”Opens the admin panel UI with 8 management tabs: General, Economy, Ranks, Coins, Restrict, Players, History, and Worlds. All settings can be edited inline with immediate save. All tabs support pagination for large datasets.
The Players tab shows detailed player stats: UUID, page count, item count, current world group, and sort mode. Admins can add or remove pages directly from the player view.
/ksbank open <player>
Section titled “/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-446655440000Player 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]
Section titled “/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/ksbank adminupgrade <player> [pages]
Section titled “/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 3If the player has already reached maxPages, the command will report that the maximum has been reached.
/ksbank reset <player>
Section titled “/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/ksbank log <player>
Section titled “/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
Section titled “/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
Section titled “Permissions”| Permission | Description |
|---|---|
bank.admin | Required for all admin subcommands (admin, open, give, adminupgrade, reset, log, reload) |
Player commands (page, upgrade, history) require no special permissions.