v0.1.0
Details
-
FilenameExpBank.jar
-
Uploaded by
-
UploadedAug 14, 2014
-
Size23.02 KB
-
Downloads923
-
MD5a216e30823fd36e0cfa0645bd6415c5c
Supported Bukkit Versions
- CB 1.7.9-R0.2
- 1.7.4
- 1.7.2
Changelog
[CHANGELOG v0.1.0]
Bug fixes
- Permissions being inconsistent
- Exception when trying to deposit without having any EXP
You can now customize the in game messages
- Added english.yml and spanish.yml
Added optional MySQL support
Added new placeholder:
- {lvlbank2} - how many levels you will gain if you withdraw
({lvlbank} simply shows how many levels someone at lvl 0 would gain)
You can now convert your EXP to EXP_BOTTLES by right clicking the bank with empty glass bottles.
- Permission node: expbank.use.bottle
Added config option to limit amount of EXP stored.
- everyone will receive the default limit
To add a new limit, simply create a new key under storage
- To receive that limit they will need the permission node expbank.limit.<key>
[Experience Bank II v0.1.0]
This plugin was created at the request of Stormbow (Check him out :) )
It uses a similar mechanic to my other plugin: Individual Signs Plus
- You can walk up to any EXP Bank sign and see your OWN stats!
- There is no limit to how many people can look at and use a single sign
- You can have as many signs as you would like
- Sign locations are NEVER stored in any database
- Completely configurable sign text (6 placeholders to choose from)
- 100% Ready and compatible with UUIDs in 1.8
- Optional MySQL table for stored EXP
More features coming soon! (tell me if you want something adding)
[Creation]
Permission node: expbank.create
Place a sign and type: [EXP] on the first line (configurable)
- The sign should now be created
[Usage]
Permission node: expbank.use
To deposit 1lvl: LEFT CLICK
To deposit everything: SHIFT + LEFT CLICK
To withdraw 1lvl: RIGHT CLICK
To withdraw everything: SHIFT + RIGHT CLICK
To withdraw as EXP_BOTTLE: RIGHT CLICK GLASS BOTTLE/S
- ^requires the permission node expbank.use.bottle
[Permissions]
expbank.create - to create the sign
expbank.use - to use the sign
expbank.use.bottle - used to withdraw EXP as a bottle
[Configuration]
LANGUAGE: change the language file to use
Setting | Description | Default Value |
---|---|---|
language | The yml file to use for the messages | english |
TEXT: change the appearance of the signs
Setting | Description | Default Value |
---|---|---|
version | The plugin version | version specific |
text.1 | The appearance of line 1 of an EXP BANK | ---EXP--- |
text.2 | The appearance of line 2 of an EXP BANK | {player} |
text.3 | The appearance of line 3 of an EXP BANK | {expbank} |
text.4 | The appearance of line 4 of an EXP BANK | ---===--- |
text.create | The text to enter on a sign to create an EXP BANK | [EXP] |
Placeholders:
The following placeholders can be used in the lines of the sign
- {player} - the player's name
- {expbank} - the stored exp
- {lvlbank} - the stored exp in levels
- {lvlbank2} - no. of levels you will gain if you withdraw
- {exp} - the player's current exp
- {lvl} - the player's exp level
STORAGE: set limits on how much EXP can be stored
~ Storage is used to set exp bank storage limits for different users.
Setting | Description | Default Value |
---|---|---|
storage.default | The default limit (no permission associated) | 825 |
To add a new limit, simply create a new key under storage. e.g. "donator"
A player with the permission node expbank.limit.donator will then have this as their new limit
- The permission with the highest limit has priority
MYSQL: use MySQL to store a player's exp
Setting | Description | Default Value |
---|---|---|
mysql.connection.host | The host for the MySQL database | localhost |
mysql.connection.port | The port to use to connect to MySQL | 3306 |
mysql.connection.username | Your MySQL username | root |
mysql.connection.password | Your MySQL password | |
mysql.connection.database | The name of the database to use | mysql |
mysql.connection.table | The name of the MySQL table to use | expbank |
mysql.enabled | Whether MySQL should be enabled or not | false |
Placeholders
[Standalone Class]
Please PM me if you need some help in creating a standalone plugin with similar mechanics.
Alternatively you could use my InSignsPlus API
TODO
- Individual Messages features
- Add a command to withdraw/deposit exp (if you dislike the signs)
- Add a command to trade exp with other players
- Multiworld support?
- Add a command to see a table of how much EXP is in each level.