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.
7.9 still errors with INTERNET options disabled in config, even deleted config, let it regenerate, shut down turned internet options of but still:
2012-04-27 15:56:57 [SEVERE] java.net.ConnectException: Connection timed out 2012-04-27 15:56:57 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method) 2012-04-27 15:56:57 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at java.net.Socket.connect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at java.net.Socket.connect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.NetworkClient.doConnect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.http.HttpClient.<init>(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 2012-04-27 15:56:57 [SEVERE] at me.ibhh.xpShop.Update.getNewVersion(Update.java:34) 2012-04-27 15:56:57 [SEVERE] at me.ibhh.xpShop.xpShop$3.run(xpShop.java:480) 2012-04-27 15:56:57 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2012-04-27 15:56:57 [SEVERE] at java.lang.Thread.run(Unknown Source) 2012-04-27 15:56:57 [SEVERE] [xpShop] Error: Exception: IOException!
@ibhh
Hey, the admin got the version 7.7 now, but we still have the same problem :s, this message doesnt appear on joining, it's when you do /xpshop infoxp J3rkk it says [Xpshop] Error: J3rkk we have a problem! You musnt do this! (xpshop.infoxp.other)
So I'm not sure what causes this, if u want to see it for yourself: Friendly Server 173.162.239.157
but thx for the quick response,
grtz, J3rkk
@j3rkk
Fixed this since many weeks, appears on joining? What version do you run?
@josip1
Hey, on the server where I play, I have the exact same problem, I looked in this thread and didnt see an answer, or completely missed it,
does anyone know more about this issue I'm having?
grtz, J3rkk
all update and internet check options are set to false the previous version works fine ?
autodownload: false internet: false metrics - opted out
so what am i missing pre 7.7/7.5 appeared to work ?
but 7.5 barfs when installed
@webname
May my server was down (no connection to the server), sorry. (I will catch this error an will print in the console: xpShop main server down, no updatechecking possible!)
If you dont want xpShop to check for updates, please set internet: false (in the config.yml)
update to 7.5 and am getting the following error Bukkit RTK plugin found! Enabling heartbeats... 09:15:00 [SEVERE] java.net.ConnectException: Connection timed out 09:15:00 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method) 09:15:00 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 09:15:00 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 09:15:00 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 09:15:00 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 09:15:00 [SEVERE] at java.net.Socket.connect(Unknown Source) 09:15:00 [SEVERE] at java.net.Socket.connect(Unknown Source) 09:15:00 [SEVERE] at sun.net.NetworkClient.doConnect(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.http.HttpClient.<init>(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 09:15:00 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 09:15:00 [SEVERE] at me.ibhh.xpShop.Update.getNewVersion(Update.java:34) 09:15:00 [SEVERE] at me.ibhh.xpShop.xpShop$3.run(xpShop.java:441) 09:15:00 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 09:15:00 [SEVERE] at java.lang.Thread.run(Unknown Source) 09:15:00 [SEVERE] [xpShop] Error: Exception: IOException!
7.3 works fine , what is 7.5 calling home about now ?..
@ibhh
Posted a feature request for you ibhh, would have done it myself but I builld using maven and blah blah blah :P
@Atspulgs
Thanks, but please create a new ticket.
@ibhh
I am unsure of what information are you looking for from the debug file since its mostly spammed with
The rest pretty much is checks for updates, however the file is so huge i might have missed the spot, i will have to test it with a fresh debug file later. Ill include the config file as well.
@josip1
I have a different algorithmen because the of mojang is very diffucult and buggy. If you want to cheat xp, use /xpShop grand <player> <amount>
@Atspulgs
Please go to /xpShop/debug.txt and post the debugs where the error with the signcreation ocurred. It would help a lot. if you can post the config.yml it would help too, but please create a ticket.
Hi, Running newest version and getting
Here are the versions
Something seems to be wrong with signs... I as an OP am the only one who can create them, Others have the permission to do so, however they will always get an error when trying to create one even when the syntax to make one is correct. This error is not the permission error, it just says that the creation of the sign has been unsuccessful.
I can provide the permission nodes in my group as well if its needed.
Edit: I was playing around with another plugin and it displayed xp amount as text. Seems like this plugin saves the xp but doesn't update the games screen properly. It could be cause of the exception.
Hi, when I do /xp player 500 It makes them lvl 15.....when they sell 500 xp back to the shop they are on lvl 10 wtf is up with that?
When I buy 500xp I am on lvl 11 and then when I sell it I am lvl 0
@mlister1987
Watched the first tutorial?
The message must contain the fillers, otherwise a error will occure.
Hi, Xpshop is working fine for me however im confused by the config..im not the best at this kind of thing.
Im looking for players to be able to buy xp for 2:1 ( 2 money for 1xp ) and to be able to sell xp at 3:1 ( 3 xp for 1 money ) how do i write this in the config?
Also can you help me change the text which shows " you changed "amount" for "amount"? Tried doing this also and messed up Xpshop somehow.
Thanks
Ahh should have thought of that duhh
thanks
@webname
1. please sneak.
2.
3. I think about it, but at the moment its not possible.
How do i destroy a sign without actually using it ?.
Misunderstood the x:y useage on the signs and put 1:1 ( get same money for same xp ) which i gather is wrong ? from the video above.
But to destroy a sign one has to hit it ???
Also is it possible to have the sign default to adminshop ( with a blank line ) , the kids think im making money of them as i run as admin .
Thanks for option to enable "disabling internet lookups"