-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
First, let's go over some notation for commands in case you aren't familiar.
A command will be composed of the command itself (ex: /xpbank), and a set of arguments.
Those arguments will be either:
A word (ex:deposit)
A required value surrounded by < and >, the type of value is specified in the text between < and > (ex: <player> must be replaced by a player's name)
An optional value surrounded by [ and ], these values are not required for the command to be run but can add extra options (ex: [points/levels] where you can enter either points or levels but don't have to)
XpBank comes several commands that let you navigate the features of the plugin. We're going to start by looking at the command you'll probably use the most: /xpbank
/xpbank - This command will either: Output the amount of xp you have stored into your chat or open the XpBank GUI. To control what this command does just change the value of guiMenu in the configuration.
/xpbank xpheld - Outputs the amount of xp your player is carring (In your xp bar) in experience points.
/xpbank xpstored - Outputs the amount of xp you have stored into your chat.
/xpbank totalxp - Outputs the amount of xp you have stored plus the xp you are holding into your chat.
/xpbank deposit <amount> [levels/points] - Deposits <amount> experience points into the bank, or <amount> levels into the bank depending on what value is put for [levels/points]. If unspecified, experience points will be deposited.
/xpbank deposit max - Deposits either all of the experience held by your player, or until the bank is full.
/xpbank withdraw <amount> [levels/points] - Withdraws<amount> experience points from the bank, or <amount> levels into the bank depending on what value is put for [levels/points]. If unspecified, experience points will be withdrawn.
/xpbank withdraw max - Withdraws either all of the experience in the bank, or until the player reaches the maximum the plugin allows.
/xpbank pay <player> <amount> - Pays <player> <amount> of experience points from your bank to theirs.
/xpbank help - Displays a help message with information about /xpbank
Admin commands - These commands can only be run by operators or players with the permission xpbank.admin
/xpbank adminhelp - Displays a message with information about the admin commands for XpBank
/xpbank reload - Reloads the config values for XpBank (Does not enable or disable commands that have been changed in the config file)
/xpbank set <player> <amount> - Sets <player>'s bank balance to <amount>
/xpbank add <player> <amount> - Adds <amount> to <player>'s bank balance.
/xpbank remove <player> <amount> - Removes <amount> from <player>'s bank balance.
/xpbank info - Displays relevant plugin information including current plugin version.
/topxp [amount] - Displays a list [amount] long. A list 10 long is used if [amount] is unspecified. This command can be disabled in configuration.
/xpbal <player> - Sends a message to your chat containing <player>'s bank balance. This command can be disabled in configuration.
XpBank offers all of the functions of the non-admin /xpbank commands in a convenient GUI menu
In the GUI you can find a deposit menu, withdraw menu, and information about how much experience the player is holding and has stored