Command XP Bank

Command XP Bank

Description

This plugin is used as a way to store and manage XP levels through simple commands. You can deposit levels, withdraw levels, send levels, and view the players on your server sorted by top balance, of customizable length. It also includes a permission node, if you wish to disable it in certain worlds or for certain ranks.

Commands

/cxp deposit <amount> This command removes levels from you and adds it into your data. There is a (customizable) charge of doing this.

/cxp withdraw <amount> This command adds levels to you and removes it from your data. There is no charge for doing this.

/cxp balance (<playerName>) This command checks the balance of your current data, or of the optionally specified player. There is no charge for doing this.

/cxp send <playerName> <amount> This command removes levels from you and adds them to the specified player. There is no charge for doing this. Note that the levels have to be withdrawn from the bank and on your character before you can send them.

/cxp top This command shows a sorted list of customizable length of the players with the top balances. There is no charge for doing this.

/cxp help This command shows the player the list of available commands.

Permissions

cxp.all This is the only permission, and it is necessary for every command.

Configuration

This is located in the CXP folder:

depositPrice This is a floating point number. This determines the amount that a player will be charged per level when depositing. Please don't use negative values.

cxpTopNumberOfPlayersToShow This is an integer. This determines the number of entries in the top list that the player will see.

Installation

Vault must be in plugins folder.

Simply pop in the jar into your plugins folder. On first start up, it will automatically create the folder with the config.yml and the data.txt file


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit