Skip to content

Commands

Zefir edited this page Jul 30, 2023 · 9 revisions

Note: For command permissions, see Permissions.

/bank

This command shows which version of the plugin you are using. It is highly recommended to always use the latest version so that you do not miss out on bug fixes and security patches.

/bank balance

Aliases: /bank bal, /bank account, /bank accounts.

Without providing any additional arguments, this command will list all of your available accounts. If you have just one account, it will show the balance of that account.

/bank balance <account>

Arguments:

  • account — Required. Account ID.

The command shows the balance of the specified account.

/bank balance --player <player>

Arguments:

  • player — Required. Player username.

By specifying a player's username, you can see the list of their accounts.

/bank transfer <from> <to> <amount> [description]

Aliases: send, pay.

Arguments:

  • from — Required. Account ID. The ID of one of your accounts from which you want to send money.
  • to — Required. Account ID. The account to which you want to send money.
  • amount — Required. Number. The amount of money to send to the account. Must be more than 0.
  • description — Optional. Text. A description that will show in both your and recipient's bank transactions history.

Send money to another account.

/bank transactions <account> [page|--all]

Aliases: history.

Arguments:

  • account — Required. Account ID. Account for which to list transactions.
  • page — Optional. Number. Which page to show. Default 1. Specify --all to show all transactions.

List transaction history for the account.

/bank create

Aliases: new

/bank create <type>

Arguments:

  • type — Required. BUSINESS or PERSONAL. The type of account to create.

Creates a new account for you.

/bank create <type> --player <player>

Arguments:

  • type — Required. BUSINESS or PERSONAL. The type of account to create.
  • player — Required. Player username.

Create an account for another player.

/bank instrument <account> [player]

Aliases: card.

Arguments:

  • account — Required. Account ID. The account for which you wish to create a bank instrument/card.
  • player — Optional. Player ID. If specified, the card is given to this player. When running from the console, a command block, etc. this argument becomes required.

Create a bank card

/bank delete <account>

Arguments:

  • account — Required. Account ID. The account to delete.

Delete bank account.

/bank setbalance <account> <new-balance>

Aliases: setbal.

Arguments:

  • account — Required. Account ID. The account to set the balance of.
  • new-balance — Required. Number. The new balance for the specified account. Any number is allowed. You use Infinity to give the account infinite ∞ money.

Change account balance.

/bank setname <account> [new-name]

Aliases: rename.

Arguments:

  • account — Required. Account ID. The account to rename.
  • new-name — Optional. Text. The account's new name. If not set, the name is removed.

Rename an account.

/bank reload

Reload the plugin's configuration.

/pos <account> <price> [description]

Arguments:

  • account — Required. Account ID. The account which will receive the money on successful purchase.
  • price — Required. Number. The price to buy all the items in the POS.
  • description — Optional. Text. A description that shows in both the seller and buyer's transaction history.

Look at a chest with items and run this command. The chest will become a POS (Point of Sale). A player can right-click the POS with their bank card to see a preview of the items and purchase all items in the chest for the specified price.

To remove the POS, the seller can right-click the chest and click the "Cancel" button. Or they can break the chest.

Clone this wiki locally