Skip to content

Commands

Zefir edited this page Apr 23, 2024 · 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 help

Show all commands that you have permissions for.

/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 whois <account>

Aliases: who, info.

Arguments:

  • account — Required. Account ID. The account to return information about

Check information about the account such as account owner and type.

/bank baltop …

Alias to: /baltop

/bank freeze <account>

Aliases: disable, block.

Arguments:

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

Freeze a bank account. Frozen bank accounts cannot send and receive transactions, create POS, or be deleted.

/bank unfreeze <account>

Aliases: enable, unblock.

Arguments:

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

Unfreeze a bank account.

/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 can 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.

/baltop [type|page] [page]

Arguments:

  • type — Optional. One of: personal, business or player (players ranked by sum of all accounts)
  • page — Optional. Number. The page number to get. Default 1

See the top balance leaderboard

/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.

/invoice

The main command for invoices (payment requests).

/invoice help

Show all commands that you have permissions for.

/invoice create <account> <amount> [description]

Alias: new

Arguments:

  • account — Required. Account ID. The account that will receive the money.
  • amount — Required. Number. The requested amount to be paid.
  • description — Optional. Text. A description of the invoice (visible to both the buyer and seller)

Create an invoice that any player can pay.

/invoice create <account> <amount> [description] --player <player>

Alias: new

Arguments:

  • account — Required. Account ID. The account that will receive the money.
  • amount — Required. Number. The requested amount to be paid.
  • description — Optional. Text. A description of the invoice (visible to both the buyer and seller)
  • player — Optional. Player username. The player who can pay the invoice.

Create an invoice for a specific player. They receive a message about the invoice upon creation. Except for admins, only they (and the seller) can see this invoice and only they can pay it.

/invoice view <invoice>

Aliases: details, check, show

Arguments:

  • invoice — Required. Invoice ID. The invoice to show.

Check the details of an invoice

/invoice pay <invoice> <account>

Arguments:

  • invoice — Required. Invoice ID. The invoice to pay.
  • account — Required. Account ID. The account to use for the payment.

Pay an invoice.

Note

This command uses the same permissions as the /bank transfer … command.

/invoice send <invoice> <player>

Alias: remind

Arguments:

  • invoice — Required. Invoice ID. The invoice to send.
  • player — Required. Player username. Player to whom to send

Send an already-created invoice to a player. The player must have permission to view it for this to work. This just sends a message and can be used as a reminder.

/invoice list [all|sent|received] [page]

Arguments:

  • type — Optional. all, sent or received. Default all. Select what kind of invoices to list.
  • page — Optional. Number. Default 1. The page to show

List invoices

/invoice list [all|sent|received] [page] --player <player>

Arguments:

  • type — Optional. all, sent or received. Default all. Select what kind of invoices to list.
  • page — Optional. Number. Default 1. The page to show.
  • player — Required. Player username. The player whose invoices are to be listed.

List invoices of another player