xpShop
Link to the german overview of xpShop: klick here
General:
Players can buy, send, and sell experience points which can be used to enchant items. Also it can display the player's amount of XP. XP levels can be sold and bought with sign shops.
This plugin will automatically update itself if “autodownload” is set to true in the config file and will force an update if a bug is found! Macht es das auch, wenn autodownload auf false ist?
Players can send XP to each other across multiple servers. To use this feature, you need a database that can be accessed from each server. You then enter this database into each config file and set “usedbtomanageXP” to true.
You do not need MySQL, however, you can use MySQL to manage XP between one or more servers. To do this you must use the same MySQL Database on all of the servers.
COMMANDS for ADMINS that use the database:
/xpShop reset <player> - Resets the xp of that player in the database
/xpShop setXP <player> - Sets the xp of that player in the database
Features:
- players can fill glass-bottles with XP/EXP
- players can buy/sell XP/EXP using a command
- players can buy/sell XP/EXP-levels using a command
- players can look up their own amount of XP or XP-level.
- players can look up other players' amounts of XP or XP-levels.
- players can lookup their own XP/EXP-level amount
- players can lookup the XP/EXP-level amount of others
- players can send XP/EXP to other players.
- players can teleport themselves to an other player for XP/EXP.
- players can teleport players to themselves for XP/EXP.
- players can repair tools for xp.
- admin can repair tools for free.
- players can create safes to store XP/EXP in signs.
- players can create xpShops to sell and buy XP/EXP with sign. They work like SignShops.
- admins can create xpShop adminshops to sell and buy XP/EXP with sign.
- admins can set a player's amount of XP.
- admins can view the logs ingame. :) (/xpShop showdebug)
Planned features:
Installation instructions:
The language can be chosen and modified in the config.yml file.
To install the plugin, drop it into the plugin folder.
Economy System Dependencies | Permissions Dependencies |
---|---|
iConomy 5 | PermissionsEX |
iConomy 6 | BukkitPermissions |
Vault | GroupManager |
Register | bPermissions |
Links:
Link | Description |
---|---|
Wiki | The github wiki of xpShop |
SignShop Wiki | Explanation of the shop feature. |
xpShopSafe Wiki | Explanation of the safe feature. |
Commands and Permission nodes | A list of all commands and Permissions nodes: |
Source code + API | full code |
Default config | config.yml with comments |
GUI:
To edit the config while the server is running, type "xpShop gui" into the console.
Source code
Please ask before using the code, I am a friendly person :)
Sending of statistical data
This plugin uses mcstats.org to gather statistical data. The data is collected anonymously and ALL data is visible to everyone. Follow the link at the statistics banner and you'll see the collected data.
If you don't want any data to be sent, disable statistic sending in the Metrics folder/configuration.
Debug files and error reports
This plugin creates debug files to make the finding of errors easier for me. If a error occurs the plugin may report it to me. All error reports are visible on my tracker. Klick here.
You can modify /disable this behavior in the configuration file. Set senddebugfile to false if you don't want to send debugfiles to me.
Set senderrorreport to false if you don't want to send any debug/errors to me.
@Mayhem777
This is an minor bug, so it happens if something should be printed in console or in the chat.
Ive fixed it in a new version which is going to be released with 1.3.
The console just get this error infinite times:
me.ibhh.xpShop.PermissionsChecker.checkpermissionssilent(PermissionsChecker.java:125)
at me.ibhh.xpShop.PlayerManager.BroadcastMsg(PlayerManager.java:25)
today i'm getting:
2012-06-15 14:09:15 [SEVERE] at me.ibhh.xpShop.PermissionsChecker.checkpermissionssilent(PermissionsChecker.java:125)
2012-06-15 14:09:15 [SEVERE] at me.ibhh.xpShop.PlayerManager.BroadcastMsg(PlayerManager.java:25)
2012-06-15 14:09:15 [SEVERE] at me.ibhh.xpShop.xpShop.PlayerLogger(xpShop.java:1400)
The problem appears when you RELOAD the server.
@Mayhem777
Didi you have a better error log (the complete) else my opinion is that you havent got a permissionsplugin or disabled some parts of the plugin.
Please post the config.yml too. ;)
I get this infinite error:
2012-06-12 20:25:09 [SEVERE] at me.ibhh.xpShop.PlayerManager.BroadcastMsg(PlayerManager.java:25)
2012-06-12 20:25:09 [SEVERE] at me.ibhh.xpShop.xpShop.PlayerLogger(xpShop.java:1400)
Noticed a return of console spam, but can not reproduce everytime, sent a ticket with console output and debug.txt file.
Everything still seams to work great though :D
@KrYojeNiX
Safe sign are not connected to a db, only the players XP. They will Show the amount that player have stored in THIS sign.
Answered your question?
Hi :)
soz didnt do a ticket :/ doh! will do in future XD
Yeah plugin metrics is keeping setting now :) Epic :D
Yep did update then restarted the server as you suggested.
After next server restart though error problem seamed to have disappeared.
Didn't reload either, was a full stop & restart both times.
Couldn't find where the problem was in debug file but it was very very long lol.
Adjusted our xp given to try compensate a little for the loss on leveling up.
1 little question.... :/
If using the database will safe signs display individual signs amounts or will all signs show the same figure as what's recorded in the database?
Noticed that having 2 signs under the same person name (non mysql) does not combine, but instead run independently of each other.
Many thanks Again.
@KrYojeNiX
Some errorlogs can be usefull, because I have no problems with this event. Did you restarted the server? And there is a debuglog in the plugin folder, please copy the text where the error occured? But is the main bug completly fixed?
And one last thing: please create a ticket. ;)
Hi :)
Thanks for reply :) did as you said now getting console spammed with errors :/ lol (could not pass event PlayerInteractEvent to xpShop), transaction still takes place and seams to function. can send if you need?
Also before and after updating the plugin leveling up seams way off.
Set up a load of signs and 1 as buying 1000 xp, first purchase from 0xp gives 16 levels(22 sometimes), 2nd 6levels, 3rd 5, 4th 4, and so on, takes around 10,000 xp to get to level 50 ,
Giving 4625xp took us to level 35 instead of 50.
Hope you can sort this as we love the plugin :)
Many thanks
@KrYojeNiX
Do /xpShop update and restart :) Thanks for reporting that issue ;)
Hi, thanks for plugin :)
By the way the plugin metrics resets when the server starts to "opt-out: false" in version 8.2 :( Plz fix.
Now gonna test the rest :D
@Malvagio87
I've builded a test version. Download here: http://ibhh.de/dev/xpShop.jar
I hope that will fix your issue ;)
@Malvagio87
This differences can be caused by the player levels before purchasing: http://www.minecraftwiki.net/wiki/Experience_Orb
The amount of XP per level changes.
To the second point, I will do an update (I hope it will work). by the way: thanks for the translation.
I have encountered a problem ... When i sell 4675 levels from a shop the player that buys the levels says he has purchased that amount of exp which is a little over 50 levels, however, he doesnt get 50 levels of exp
I also use a different XP Banking plugin that allows players to bank there xp. The plugin is called UniversalEXP and when i try to depositthe leves i bought from the shop it does not deposit them in the bank and they just disappear.
This is awesome and appears to be exactly what i was looking for. Thank you for making this plugin.
Since you are German I rewrote the English General: part for you if you want to use it. http://pastie.org/3890856
@Lice23
Bitte, gern geschehen.
@webname
Your issue should be fixed too
Jetzt geht es ich kann den XpShop erstellen. Seit Version. 8.0.0 Danke !!!
Great Job Thanx
Hi , sorry es geht leider immer noch nicht. auch mit der neuen version. Als Owner habe ich alle permissions. Aber ich bekomme Error cant create XPshop. im Groupmanager habe ich unter Admin xpShop.create.own drin stehen.
hi, sorry it is unfortunately not yet. with the new version. As Owner I have all permissions. But I get error can not create XPshop. Group Manager in the Admin xpShop.create.own I stand there.
@Lice23
Zum erstellen braucht man xpShop.create.own
To create a shop you need xpShop.create.own
Should work with Groupmanager, but I will test it a second time, please wait for a update if you havent solved the problem yet.
EDIT:
Oh sorry solved problem, download please here (devbukkit will be updated soon): http://ibhh.de/xpShop.jar
Hi. I've got a problem with the sign in conjunction with Essentials Xpshop I can not make as Owner Xpshop. As the OP, yes. I've been stupid and dimwitted looking what's the problem. My presumption is now that the plugin does not work with Essentials / Group Manager .... Can it be? Have the builders, etc. decorated the Permian. xpShop.use
Hi . Ich habe da ein Problem mit den Sign Xpshop in Verbindung mit Essentials ich kann als Owner kein Xpshop machen. Als OP ja. Habe mich schon dumm und dusselig gesucht woran es liegen könnte. Meine vermutung ist jetzt das das Plugin nicht mit Essentials / Groupmanager zusammenarbeitet.... Kann das sein ? Habe den Buildern usw die Perms eingerichtet. xpShop.use