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.
@melikoth I'll add a config option.
Awesome plugin guys, I was just looking for a replacement for XPKeeper and this exactly what I was looking for.
Would you be able to add an option to require a certain item in hand to remove the sign, for instance a golden axe (or any axe). I accidentally broke my sign while depositing multiple levels with just my fist.
@Empire92
Just that i wanted :) In a few days i'll add some images to show the plugin in action!
@RaphaelSimon It's kinda out of the scope of this plugin. Maybe look for a shop plugin that will accept custom things like that in exchange for EXP.
edit: Maybe something like this?
Will be awesome to set any way to change the EXP to any Custom token you create in the game, but this maybe cannot be added in this plugin.
For example, "Ancient sword", "An example sword wasted" (Custom name/lore) who can locate the Durability, the Name and the Lore of the item and can be used to exchange it to the EXP system or something.
Yeah, im so bad explaining myself.
@RaphaelSimon Good idea.
Hi, Empire92! Another idea from the last idea, can be...
Set the ORBS or LEVELS, likely to the command if you finally accept/add it, like..
Some example Syntaxis:
Thanks!
@Kts95 It's been fixed in the next version which is still being approved.
I have also added {lvlbank2} which will show the number of levels a player will gain from withdrawing the experience.
The old {lvlbank} simply returns the number of levels someone at level 0 would get.
Hello ! Sorry for my bad english , but i have a problem with the perm "expbank.use and expbank.create " . i add perm for the member group, and they have this message : missing requierments : expbank.create .
i have found the problem in "ExpBank.class" , index : 347 and 348 , string=xpbank.use .
Just modify string xpbank.use to expbank.use. After reload , the problem is solved .
Other problem, on spigot 1.7.10 SNAPSHOT, the {lvlbank} on sign , is bad ! never good amount of the player XP
it's a minor bug , but a bug :) Good luck for the futures version
@Empire92 Working, thanks!
@RaphaelSimon Try this one, it should be fixed.
Found some bugs, i'll put it in a ticket!
Here you are, thanks for apply the ideas!
Spanish translation
Catalan translation
@RaphaelSimon They are good ideas :)
You might be interested in my other plugin: Individual Messages
I could add a feature to let you use EXP bank placeholders in chat.
@RaphaelSimon I added a permission already: expbank.use.bottle
I have also externalized the strings so a translation is now possible:
Some ideas here!
Maybe a new permission?
New permission
expbank.SOMETHING - Let you put your experiencie in a bottle
Posibility to use the {placeholders} in the chat to view your own stats by a command like...
/expbank
"Hi {playername}! You've {exp} orbs and the {level} level." The same with the Bank EXP.
@RaphaelSimon but... I haven't even externalized the messages yet...
Let me do that first.
@Empire92
I'll send you a Spanish translation to the plugin soon
That will be glorious! The people can sell the XP!
@RaphaelSimon How about if you right click the sign with a glass bottle, it fills that up with EXP instead of giving you the experience?