-
Notifications
You must be signed in to change notification settings - Fork 5
Commands
Note: For command permissions, see Permissions.
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.
Show all commands that you have permissions for.
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.
Arguments:
-
account
— Required. Account ID.
The command shows the balance of the specified account.
Arguments:
-
player
— Required. Player username.
By specifying a player's username, you can see the list of their accounts.
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.
Aliases: history
.
Arguments:
-
account
— Required. Account ID. Account for which to list transactions. -
page
— Optional. Number. Which page to show. Default1
. Specify--all
to show all transactions.
List transaction history for the account.
Aliases: new
Arguments:
-
type
— Required.BUSINESS
orPERSONAL
. The type of account to create.
Creates a new account for you.
Arguments:
-
type
— Required.BUSINESS
orPERSONAL
. The type of account to create. -
player
— Required. Player username.
Create an account for another 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
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.
Alias to: /baltop
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.
Aliases: enable
, unblock
.
Arguments:
-
account
— Required. Account ID. The account to unfreeze.
Unfreeze a bank account.
Arguments:
-
account
— Required. Account ID. The account to delete.
Delete bank account.
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 useInfinity
to give the account infinite ∞ money.
Change account balance.
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.
Reload the plugin's configuration.
Arguments:
-
type
— Optional. One of:personal
,business
orplayer
(players ranked by sum of all accounts) -
page
— Optional. Number. The page number to get. Default1
See the top balance leaderboard
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.
The main command for invoices (payment requests).
Show all commands that you have permissions for.
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.
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.
Aliases: details
, check
, show
Arguments:
-
invoice
— Required. Invoice ID. The invoice to show.
Check the details of an invoice
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.
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.
Arguments:
-
type
— Optional.all
,sent
orreceived
. Defaultall
. Select what kind of invoices to list. -
page
— Optional. Number. Default1
. The page to show
List invoices
Arguments:
-
type
— Optional.all
,sent
orreceived
. Defaultall
. Select what kind of invoices to list. -
page
— Optional. Number. Default1
. The page to show. -
player
— Required. Player username. The player whose invoices are to be listed.
List invoices of another player