Experience Bank II
Go to any EXP bank sign, see your own stats, and deposit or withdraw EXP. Just one EXP bank can manage the EXP of the whole server.
Click here for the SPANISH documentation
[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.
Kind of looks like the plugin is abandoned now. But I have the same issue as you do brunokcampos, the xp limit is not configurable. I created alternate permission nodes and defined the limit under storage but on a server restart or even if a player uses the sign it deletes the storage settings leaving only the default. If you find a fix I would be very interested.
My xp limit no work plis help mysql: connection: table: expbank host: localhost password: '' database: mysql port: 3306 username: root enabled: false storage: default: 825 donator: 10000
But work with Spigot 1.10
Outdated... many errors... unusable with 1.9.4
Will this plugin work in 1.9.2?
Plz i need this plugin
Same problem than BorussiaMG1994
and when i create a sign, my name stay when another player use the sign, It's always my name and account is displayed but it work.
Hi, thanks for the great Plugin. But I've one problem. The config file changed to default if I restart the server.
@Empire92
Thank you for making this available. May I submit some pull requests, if I work on it? IE: it's your plugin and you don't have to accept every request, but I don't want to make requests if they go ignored due to your schedule...
Cheers, -Capt.
@xCaptMorganx
Nope, it was all rights reserved. That's been changed and I uploaded the source here: https://github.com/boy0001/ExperienceBankII/tree/master
I don't have time right now to update this.
Hi Empire, is this open source?
More importantly, I can't get this to work correctly on Spigot 1.8.8. By default, the limit is set to 825 and it only accepts 6 levels of XP. How do I get it to take all the levels the player has? For example I'm at 46 and after hitting the sign I'm down to 40. The plugin, every time it's hit, takes approximately 150 XP, which I need to lower significantly... how do I accomplish this?
Finally, a reload option would make our Admin lives less complicated... members don't enjoy the server being restarted for testing purposes...
Thank you!
@Empire92
Command to reload?
Interested in different signs like [EXP2] Would create a different configurable sign? With other placeholders?
Could you possibly make a money bank plugin? :D
error on load: Your text to link here...
Nice Plugin, but seems to has an Incompatibility with Bungeecord i guess:
http://pastebin.com/f7zX1sBxc
@Empire92
The retrieved experience was sometimes higher, not lower, something was definetly wrong. I'ts been a longa time since I last used your plugin, I'm sorry that I cannot give further details, but I may give it a try again when I can, I report in detail again.
I did use MySQL, everything was well configured.
@MasterMithrandir
When bottles are used, a random amount of experience between a range is created. I have chosen to use the upper range for all calculations. So it is possible to get the same amount back, but not possible to get more than you put it. (And very likely to get a lot less exp back)
MySQL?
@Empire92
That is not the only issue the plugin has. Did you read the bug report?
http://dev.bukkit.org/bukkit-plugins/experience-bank/tickets/8-important-bugs/
I just updated the plugin. It now has an optional ProtocolLib hook which should fix the debug messages showing up for clients.
http://dev.bukkit.org/bukkit-plugins/experience-bank/files/8-2/
Having the same problem in my server, MasterMithrandir...
Had to uninstall, but I would love to see a fix for it... It's the only plugin of that kind I could find "working"...
My players are kinda disappointed =(