XP Item Storage
XP Item
XP Item will allow players to store their XP Levels or XP Experience into any item selected in the config. The players will be able to Left click to Deposit XP Levels or XP Experience and Right click to Withdraw XP Levels or XP Experience. As shown in the image above the amount of xp is saved in the item name and the items lore so that renaming the item will not give extra XP Levels or XP Experience. The item is also prevented from duping by ensuring that only one XP Item gets the XP Levels or XP Experience. The config has settings to log all transactions in the XP Items, change the colors, change the messages shown to players, and set a max amount of XP that can go into the XP Item.
This is also a great way to use disabled items for something useful. I have seen EnderPearls used before as the XP Item to put use to an item that was disabled.
Shops could also sell Bedrock and use it as the XP Item so bedrock could be used for something.
Latest Download (v1.1)
Download here: http://dev.bukkit.org/bukkit-plugins/xpitem/files/11-xpitem-v1-1/
Quote:v1.1
- Fixed duping problem when using Experience
- Updated Update Checker
- Modified Config to store Item names
v1.0
- Fixed error preventing players from using enderpearls.
Features
The plugin will allow any item in game to be used to store XP Levels or Experience.
Currently you can:
- Change the Item
- Change from Experience or XP Levels
- Change amount deposit/withdrawn while standing or sneaking
- Change the max amount per XP Item
- Change Colors
- Change all the messages
- Charge to Withdraw or Deposit Experience or XP Levels
- Ability to disabled or enabled Vault Support
- Log transactions to bukkit log.
Install
Drag and drop Installation. Afterword do a restart or reload.
Then edit the config file made to your liking. Use [/xpitem reload] to reload the config.
Config v1
BackEnd: DONOTTOUCHConfigVersion: 2 allowMetrics: true #Recommended so I can see the most common ways this plugin is used UpdateChecking: true #Only checks on restart and /xpitem reload sendInteractionsToLog: false Settings: itemName: EXP_BOTTLE #This is the item used to store the XP useLevels: false #Set to true if you wish to store XP Levels instead of Experience normalDepositAmount: 10 shiftDepositAmount: 30 maxAmount: -1 showEnchantWhenAmountOver0: true Colors: itemNameAmount: '&6' itemName: '&5' Messages: deposit: '&aYou have deposited {amount} {xptype}.' withdraw: '&3You have withdrawn {amount} {xptype}.' notEnough: '&cYou or the item does not have {amount} {xptype}.' max: '&cMax amount of {xptype} in this XP Item.'
Commands
- /xpitem reload
- XPItem reload command. Requires xpitem.reload perm.
Permissions
- * xpitem.reload
- Gives use to reload config.
- xpitem.deposit
- Allows a player to deposit levels
- xpitem.withdraw
- Allows a player to withdraw levels
- xpitem.bypasscost
- Allows a player to bypass a price to withdraw or deposit
Quote:This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- If the server is using XP or Experience
- The Item name of the XP Item
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
To-Do
- Add ability to make players pay to withdraw or deposit money
Vault: enabled: false withdrawCost: 0 depositCost: 0
- Add more features from requests.
Bugs or need help
- Post a comment or a ticket for bug or error help.
- If I have not replied quickly you can find me on skype: EnkyHD
with v1.1 when storing xp (config set on xp not level), the first click take about 10 levels et store them as 10 xp.
The same config file works properly with v1.0
I share this bug here since the github is down.
Any update coming?
@EnkyHD
Still planning on updating this?
please can you explain how do you use this plugin, omg it make me crazy xD for me it doesnt work
@Ordrox
I have an update coming soon. Probably middle of this week. This will fix that and prevent xp duping that I found.
Heyy! Great plugin but i've noticed a XP loss in the process. i just tryed with 825 (for 30lvl) and when i stock them all in a pearl and take them back i noticed about 20XP missing. Not a big deal but i tryed a second time and some exp were missing again. I don't know what cause that XP loss, maybe that crappy XP system...
When i was testing the 825 i edited the L/R amount to 5 / 25 but the defaults options seems to have the same issue.
I tryed to use the pearl slowly with 500XP but i lost 10 anyway. Again, not a big deal but it's missing. ^^
@KevinABC96
I never planned on making it like that. But using the "itemID: 374" setting in the config. You could make the item be a glass bottle, but it won't be craft able like that is.
@DizzyCraft
Yea, I have seen this problem before when I ran a server. I do not know if this is still caused by putting them into the anvil together or not but I will work on trying to add ways to prevent this. The good side is that this will not affect the game in a negative way but players may loose their xp (which is better than having the xp dupe).
Hi, I put a ticket in but since I saw nobody else had put tickets there I though I would post on this here also.
My config is default and the ender pearl is the item I have set for the storage item.
One of my players has somehow turned one of his swords into an xp storage item.
He doesn't know how or when it happened, he just noticed it this morning.
The sword shows 540 xp stored on it but you can't add or withdraw from it.
Only seems to be the one incident so far so might not be a big deal, I'll see if I can recreate it happening.
@Elvisapresley
I will work on that for v1.1. I don't know why it is listed there, I think I put it in one version then I lost the files for it and re-coded the plugin and left that out.
Config does not have anything with money costs in it IT says above vault but not in version 1.0 Good i like it alot
@EnkyHD
Oh thank you! I'm testing it with Keyman1986 on his server. I thought we had the latest.Keep up the good work!
@EarlyReflex
v0.9 Fixes this. The unapproved file can be found on the github or you can wait for bukkit to approve it.
Here's how I reproduce the problem:
Item has 10098 exp in it. I have 1 level on me, I shift-right-click to withdraws 825 xp. Brings me up to lvl 30. I enchant a book at lvl 30. I'm back to 0. I shift-right-click, it withdraw 825 exp, but instead of bringing me to level 30, it brings me to level 39. I shift-left-click. depositing 825 exp. Brings me to level 30. I enchant another book at lvl 30. I'm down to 0 again. Shift-right-click brings me to 39, shift-left-click brings me to 30, enchant... Repeat process indefinitely... Enchanted 4 books at level 30, redeposited all my levels, xpitems hold 10089 exp.
Definitely a case of potential abuse!
zDylann's found bug is a huge problem... We may have to switch plugins on our server if not resolved.
@Keyman1986
That is what the "shiftDepositAmount: 30" value does. While the player is shifting it will deposit that many levels or exp. But I will work on trying to get a holding feature implemented.
Cool thanks EnkyHD. Suggestion (from using other lesser item storage plugins) please allow for holding down click so xp just flows in with out rapid click, when dealing with loads of xp.
Thanks Keyman
@Keyman1986
Yea I will work on it later today, and update will be up tomorrow sometime probably.
Awesome Plugin... Will it be updated to 1.6.4 and 1.7.2?
I have few ideas I wish that you implement :