WebAuctionPlus
WebAuctionPlus - eBay for Minecraft!
A minecraft/bukkit shop plugin for your website! This is a rewrite of the original WebAuction with many new features and improvements. I've made to many improvements to the code to list on one page. Many of my plans require big changes and a lot of new code. As with any new code, bugs are to be expected, so please bare with me and report any bugs you come across.
Note: It is strongly recommended you backup your database before using or updating this plugin. Some of the bug fixes and performance improvements I'm making require big changes to the database. The WebAuctionPlus plugin will convert and update the database automatically the first time it's run.
New virtual inventory MailBox has been added with the update of Minecraft 1.3 and WebAuctionPlus 1.1. When a player right clicks on a MailBox sign, it opens up their virtual mailbox inventory and locks their website account to prevent item dups. When they close their mailbox, it updates their inventory and unlocks their website account. NOTE: This feature is new and running single threaded. If you experience lag related to this, I can see what I can do to make it multi-threaded.
Requires: Vault - http://dev.bukkit.org/server-mods/vault/
Requires: Web server with PHP and MySQL
Optional: SignLink - http://dev.bukkit.org/server-mods/signlink/
A few improvements by lorenzop
- new ajax listing code (fast!)
- new virtual inventory mailbox
- all new web interface
- all new item deposit/withdraw code
- database connections are handled better
- connection pool limits can be set in config
- task update times are now configured in seconds
- tasks can be disabled by setting the update frequency to -1
- new announcement system
- added "/wa reload" and "/wa save" commands
- accounts can be created or passwords changed from the console
- multi-language support
To do
- server shops (unlimited stock improved)
- better support for vault economies
- custom description for items being sold
- wish list / auto sales
- track all wa signs to prevent unauthorized signs
Youtube Videos
Languages
If you'd like this plugin translated to another language, feel free to download the en.yml file from the link above, translate it to your own language, and send it to me.
Signs
WebAuctionPlus signs can be created by placing a sign with [WebAuction], [WebAuction+], or [wa] on the first line. Case doesn't matter, the plugin will fix it for you.
Note: you cannot use the deposit mailbox sign while in creative mode. this shouldn't ever be needed in the normal operation of the plugin, so as a general protection, it's always denied.
Note: withdraw mailbox signs can now have a quantity of stacks on the last line, or leave it blank for all mail.

SignLink
- %waTitle - items name
- %waPrice - price each
- %waSeller - sellers name
- %waType - Buy Now or Auction
Source Code
Development Builds
Development Builds can be found at the link below. Development builds aren't approved by the bukkit team and they might be buggy.
Commands
- /wa password <apassword> - Changes your Web Auction Plus account password, or creates an account if you don't have one. This command can also be used from console in the format: wa password <playername> <apassword> and short-hand aliases "pass" or "pw" can be used in place of "password". For example, /wa pw mypassword123
- /wa mailbox - Opens the WebAuction mailbox.
- /wa deposit <amount> - Deposit money into your Auction account.
- /wa withdraw <amount> - Withdraw money from your Auction account.
- /wa reload - This feature is currently broken and disabled. It will be working again soon.
- /wa update - Forces recent signs to update. Also updates SignLink signs.
- /wa version - Displays the current running version of Web Auction Plus.
Permission nodes
note: these may change at some point
- wa.use.mailbox (use mailbox sign)
- wa.use.deposit.money (use money deposit sign)
- wa.use.withdraw.money (use money withdraw sign)
- wa.use.command.mailbox (use the mailbox command)
- wa.use.command.deposit (use the deposit command)
- wa.use.command.withdraw (use the withdraw command)
- wa.announcer.receive (can see auto announcements)
- wa.password.create (can create a new account)
- wa.password.change (can change their password for an existing account)
- wa.canbuy (can buy from web auction)
- wa.cansell (can sell with web auction)
- wa.create.sign.mailbox (create mailbox sign)
- wa.create.sign.deposit (create money deposit sign)
- wa.create.sign.withdraw (create money withdraw sign)
- wa.create.sign.shout (create a new auction shout sign)
- wa.create.sign.recent (create a recent auction sign)
- wa.webadmin (user account is admin on the website)
- wa.remove (remove WA signs)
- wa.reload (reloads the WebAuctionPlus config)
How to Install
Join us and chat some time on our irc channel. #webauctionplus on esper.net webchat.esper.net
Plugin Usage
As I've said in comments, I don't agree with the mojang buyout. as much as I've enjoyed working on this plugin and want to see it continue, I'm no longer doing all the work. MarioG1 has stepped up to work on the plugin. I may still help somewhat if he wants, but I'm passing the torch to him as the lead. good luck, hope you write some good code and features.

-
View User Profile
-
Send Message
Posted Nov 19, 2012Potions doesn't seem to work even with your newest items definitions file.
-
View User Profile
-
Send Message
Posted Nov 15, 2012here's the fix for potions created in survival http://code.google.com/p/webauctionplus/source/detail?r=288 to avoid duplicating all the potions for creative and survival, I just linked to the existing creative potions. I'm hoping everything's right, but there's a good chance something may still show the wrong item name. there are so many potions, and they like to make small changes to them between updates. if you do come across a potion that displays wrong on the website, let me know what ones and I'll fix it. preferably item id's if you can.
anyone who still needs it, here's the updated items for 1.4 (everything except the potions I just fixed in the above patch) http://code.google.com/p/webauctionplus/source/detail?r=287
-
View User Profile
-
Send Message
Posted Nov 12, 2012I've been busy working on another project, but I will be back to work on this sometime very soon. minecraft 1.4.4 should be out sometime this week, but I'm still waiting and hoping for a bukkit update to fix the lag issues. there are a few new things added to the next update that I think you'll like, but I would like to finish up a bit more before releasing. one thing I need to do is find and fix bugs in the mcskin.php file and add failover to minotar. the default items file has new multi-language support (send me your translations and I'll add them) and emc values for each item to possibly help calculate market prices. we'll see if I can get the market prices finished and added too.
-
View User Profile
-
Send Message
Posted Nov 12, 2012@MarioG1
thank you :-D I saw the link you posted, but haven't actually open the file yet. I can put the potions in order before I commit it. your file will make it much easier.
@GoldcraftPVP
a few posts down, I linked to the updated items file for 1.4 http://code.google.com/p/webauctionplus/source/detail?r=287 you can download all the new item icons from there and the updated item.defines.php file. I'll post a new link once I've committed the potions fix.
-
View User Profile
-
Send Message
Posted Nov 12, 2012When will the Web Auction for the website be updated to display carrots, Baked potato and all the new Minecraft items?
-
View User Profile
-
Send Message
Posted Nov 11, 2012@lorenzo_p
I have already changed all damage values to the survival damage values you can dowlod the default item pack 5 posts below :).
It is working but i had no time to sort the potions into correct order so it looks a little bi messed up (the item.defines.php)
-
View User Profile
-
Send Message
Posted Nov 11, 2012@MarioG1
ah.. I see that. well this is a pain. why in the world would mojang do that. so, creative potions seem to be working, but I'll have to craft one of every survival potion, deposit each one, one at a time, grab the damage value, and add it to the item pack file. so there will be 2 of each potion. sounds messy, don't like it.
@wumpyc
you can get the current 1.4 item pack changes here http://code.google.com/p/webauctionplus/source/detail?r=287 which has the carrots and other new items, but as you can see, we've been talking about a bug with survival potions. just found out they have different damage values. so that is something that I'll need to fix yet. the head/skin bugs, I've also been looking into, but haven't had a chance to dig into the code yet to find the bug. I'll get it figured out, and add a few new improvements to it at the same time. it's coming.
-
View User Profile
-
Send Message
Posted Nov 11, 2012Look at this picture: http://i.imgur.com/DhQiE.jpg 3 bugs in single shot :D 1st bug: Unknown 396 - we need an update for 1.4 i assume.. 2nd bug: It only doesn't show skin of one player 3rd bug: Everyone's skin is default..
-
View User Profile
-
Send Message
Posted Nov 10, 2012@lorenzo_p
Sry. I made an mistake in my previous post. The item ID's are the same but they have different damage values.
-
View User Profile
-
Send Message
Posted Nov 10, 2012@wumpyc
everything looks good from what I see. you have gd installed with png support. that's all it requires. this is odd, but I think I've found a hint as to what the problem is.
this link works: http://auction.brutalcraft.org/?page=mcskin&user=MinecraftierHD&testing=1 but this one does not: http://auction.brutalcraft.org/?page=mcskin&user=MinecraftierHD&testing=1 for my username, this link works: http://auction.brutalcraft.org/?page=mcskin&user=lorenzop but this link displays the default skin: http://auction.brutalcraft.org/?page=mcskin&user=lorenzop
this is odd. I'll test it more on my test server and see if it acts the same.
@MarioG1
that's something I didn't know. creative and survival potions have different item id's? I hope the damage values match up. it should be an easy fix if they're the same. just make a copy of the item id array. thanks for pointing that out.
@deniseee22
are you sure you have mysql running on port 8090? it's usually the default 3306, so you can try changing it to that and see if it works. it's not a problem, but next time you can use pastebin.com for your error log. it displays better on pastebin and doesn't clutter the comments.
-
View User Profile
-
Send Message
Posted Nov 10, 2012i dont know what im doing wrong here is my config MySQL: Host: localhost Username: root Password: 123456 Port: 8090 Database: minecraft TablePrefix: WA_ ConnectionPoolSizeWarn: 5 ConnectionPoolSizeHard: 10
CMD say 15:44:34 [INFO] [WebAuctionPlus] Enabling WebAuctionPlus v1.1.7 15:44:34 [INFO] [WebAuction+] MySQL Initializing. 15:49:35 [SEVERE] [WebAuction+] SQL Error! 15:49:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 15:49:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 15:49:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 15:49:35 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 15:49:35 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 15:49:35 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 15:49:35 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 15:49:35 [SEVERE] at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:687) 15:49:35 [SEVERE] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1090) 15:49:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338) 15:49:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 15:49:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 15:49:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 15:49:35 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 15:49:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 15:49:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 15:49:35 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 15:49:35 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 15:49:35 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 15:49:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 15:49:35 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 15:49:35 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 15:49:35 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLConnPool.getConnection(MySQLConnPool.java:63) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLConnPool.tableExists(MySQLConnPool.java:168) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLConnPool.setTableExists(MySQLConnPool.java:187) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.setTableExists(MySQLTables.java:529) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.sqlTables(MySQLTables.java:83) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.sqlTables(MySQLTables.java:65) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.<init>(MySQLTables.java:27) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.ConnectDB(WebAuctionPlus.java:317) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.onLoadConfig(WebAuctionPlus.java:178) 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.onEnable(WebAuctionPlus.java:119) 15:49:35 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 15:49:35 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) 15:49:35 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 15:49:35 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272) 15:49:35 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254) 15:49:35 [SEVERE] at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) 15:49:35 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) 15:49:35 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) 15:49:35 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141) 15:49:35 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400) 15:49:35 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) 15:49:35 [SEVERE] Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. 15:49:35 [SEVERE] at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529) 15:49:35 [SEVERE] at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:611) 15:49:35 [SEVERE] ... 36 more 15:49:35 [SEVERE] [WebAuction+] Exception getting MySQL Connection 15:49:35 [SEVERE] java.lang.NullPointerException 15:49:35 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLConnPool.tableExists(MySQLConnPool.java:172) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLConnPool.setTableExists(MySQLConnPool.java:187) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.setTableExists(MySQLTables.java:529) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.sqlTables(MySQLTables.java:83) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.sqlTables(MySQLTables.java:65) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.mysql.MySQLTables.<init>(MySQLTables.java:27) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.ConnectDB(WebAuctionPlus.java:317) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.onLoadConfig(WebAuctionPlus.java:178) 15:49:36 [SEVERE] at me.lorenzop.webauctionplus.WebAuctionPlus.onEnable(WebAuctionPlus.java:119) 15:49:36 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 15:49:36 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) 15:49:36 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 15:49:36 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272) 15:49:36 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254) 15:49:36 [SEVERE] at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) 15:49:36 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) 15:49:36 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) 15:49:36 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141) 15:49:36 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400) 15:49:36 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) 15:49:36 [SEVERE] [WebAuction+] * Failed to load WebAuctionPlus. Please check your config. 15:49:36 [INFO] [WebAuction+] Disabled, bye for now :-)
can you help me ?
-
View User Profile
-
Send Message
Posted Nov 10, 2012@lorenzo_p
I know now why all potions are broken. You use the damage values from creative potions not from survival potions (not the same).
You can download the default item pack with all new 1.4.2 Items and all working potions here.
-
View User Profile
-
Send Message
Posted Nov 9, 2012@lorenzo_p
here: http://brutalcraft.org/test.php does that tell anything?
-
View User Profile
-
Send Message
Posted Nov 8, 2012@wumpyc
here is the error it's giving: http://auction.brutalcraft.org/?page=mcskin&user=MinecraftierHD&testing=1 odd error. have you checked if the gd2 module is installed for php on your server? an easy way to check is to create a file like test.php containing <?php phpinfo(); ?>
I do have an idea I can try, to improve error handling with this. I think it'd be a good idea to fall back to minotar if anything fails. I can have it display errors only when in debug mode using the link above. I've mentioned this before, but haven't gotten to experiment with the code more yet.
@Peda1996
sounds like a good plan. I'll update the mcskin.php file to use that url.
-
View User Profile
-
Send Message
Posted Nov 8, 2012@lorenzo_p
if i connect to http://www.minecraft.net/skin/peda1996.png i will get redictet to http://s3.amazonaws.com/MinecraftSkins/peda1996.png
so i had thougt that that is mojangs new skin server
http://gamerzelite.de/shop/ here is an examle of fine working..
Here pastebin code: http://pastebin.com/ieYbSwHX
-
View User Profile
-
Send Message
Posted Nov 7, 2012i still don't see it. Here's my site: http://auction.brutalcraft.org/ and here's my mcskin.php: http://pastebin.com/PSe2w5x7
-
View User Profile
-
Send Message
Posted Nov 7, 2012@MarioG1
all potions? I'll take a look at it when I get home later tonight. like I said, I've added all the 1.4.2 items, but haven't added new potions yet. it's possible they've changed the id's for the older potions too.
@wumpyc
I have added a testing mode to the skins file. just add &testing=1 to the url of the image to see if there are any errors displayed. this will help with debugging, if there is an actual bug in it. here is the latest version of mcskin.php http://code.google.com/p/webauctionplus/source/browse/trunk/www/WebInterface/inc/mcskin.php
@Peda1996
I've replied to the issue ticket you opened. anyone know if s3.amazonaws.com/MinecraftSkins/ is an official minecraft server? I've seen it before, and it seems like it would be. I can change the url in the official web auction version if it's a legit site and is more reliable than minecraft.net
-
View User Profile
-
Send Message
Posted Nov 7, 2012@wumpyc
i have the skin fix, it is a small bug, with the minecraft url.. I hope the devloper will add this to his next update, i did it manually Here my changes:
Open inc/mcskin.php with notepad + + or something else For Search and Replace Funktion press: strg+f
Replace: www.minecraft.net/skin/
with: s3.amazonaws.com/MinecraftSkins/
That was all Mojang only changes the URL
would be nice if the devloper could do that to, else i will upload a link with the working .php data
i hope i have helped you ^^
-
View User Profile
-
Send Message
Posted Nov 7, 2012@lorenzo_p
Potions are not fixed all potions are shown as unknown potion for me :(
Web Auction: 1.1.7 Bukkit: 1.4.2 R0.2
-
View User Profile
-
Send Message
Posted Nov 7, 2012still no skin fix? cmon i'm waiting and we'd also like to see bid style soon :D