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 Sep 4, 2012The search box on the main page and the order function (alphabet) are broken.
You can test it here http://etg.dyndns.org/Minecraft/Webinterface/ if you want.
-
View User Profile
-
Send Message
Posted Sep 3, 2012here's the next update, for testing. http://code.google.com/p/webauctionplus/source/browse/trunk/WebAuctionPlus-1.1.5alpha.zip if everything works ok, I'll post an official update.
-
View User Profile
-
Send Message
Posted Sep 2, 2012@confuz3d
web auction plus does use vault. the way the original plugin worked, it could link directly to the iConomy table only if it's using mysql. any other economy, you'd have to use the deposit/withdraw signs to deposit money into your account. I do have plans to add better support for other economies. I'll probably work on this soon, when I start adding new features again. right now, I'm just getting it ready for a stable release.
@smeagleee
did you get permissions working right on your server? I've run into odd problems before too, but never found the source of the problem, and it went away on its own. this plugin really doesn't have much code for dealing with permissions. it just hooks into the bukkit api and lets bukkit or another plugin handle it, and returns true or false.
-
View User Profile
-
Send Message
Posted Sep 2, 2012Could you make it compatible with vault, for people using other economy plugins. I moved to BOSEconomy and i had to remove webauction because the money weren't syncing anymore.
My players love this plugin, would be cool if you can make it work with BOSEconomy ;)
-
View User Profile
-
Send Message
Posted Sep 2, 2012Everything is working fine for me now.. sorry for the complaints. Only one last thing. The permissions are fucked up.. none of them does work at me (I as OP cant even create a MailBox sign)
-
View User Profile
-
Send Message
Posted Sep 1, 2012@omgitsmewazap
when the plugin connects to the database for the first time, it will generate the tables automatically. the website wont work until the plugin does this.
-
View User Profile
-
Send Message
Posted Sep 1, 2012Heya, is it more or am I the only one not able to connect to the datebase properly? Everytime I try to connect I get "MySQL Error:" And that's it, I've been talking to my web host about another datebase and that's all up now and they said you shouldn't have any problems. I'm thinking it's because I have no tables and information in the datebase, where can I find the sql file to upload to my datebase? Thanks.
-
View User Profile
-
Send Message
Posted Aug 31, 2012@comniemeer
I was taking a closer look at the code, but every time I do, everything looks like it should work right. I'll add some test data into my database and see if I can get it to break how you described. http://code.google.com/p/webauctionplus/source/browse/trunk/java/src/me/lorenzop/webauctionplus/mysql/MySQLTables.java#437
-
View User Profile
-
Send Message
Posted Aug 31, 2012Could someone try to make me a php webserver tutorial (im running my server on a windows based server)
[EDIT] Managed to get a PHP webserver working
-
View User Profile
-
Send Message
Posted Aug 30, 2012@lorenzo_p
Yes, the enchantements were working before the update, but now, they aren't displayed anymore. Only enchanted items sold after the update to 1.1.4 were correctly displayed!
Also, I can't downgrade, because I'm no server admin, I am only a dedicaded player, who likes to improve the game experience for other players :-)
Edit: The server uses before the update to 1.1.4 the WA+ Version 1.0.2, and it has about 3500 Auctions.
-
View User Profile
-
Send Message
Posted Aug 30, 2012@Shaggy84675
yes, in the file config.yml look for the line NumberOfLatestAuctionsToTrack: 10 set it to whatever you'd like.
@comniemeer
the enchantments were working before the update? after the update, did they show as enchanted on the website? there may be an issue with the code that does the update, but I haven't been able to find any yet. actually... I think I see where the problem is now. I'll see if I can get it working right for the 1.1.5 update. when I post the update, you can force the plugin to run the update code again by removing the Locked column from the WA_Players table. it runs the update based on that not existing.
I'll have it done as soon as I can. for now, you can either downgrade to 1.0.8, or tell your players not to buy sell or withdraw any enchanted items. if they don't touch them, the enchantments should come back when you force the update again, like I said above.
-
View User Profile
-
Send Message
Posted Aug 30, 2012Yes, that would be good! And thanks that you implement the feature with the ajax code, because our webauction loads at the moment veery slow, and I have no idea, how many auctions are listed... But what is with enchanted items like diamond pickaxe, they were sold (I found no better word, sorry) before the 1.1.4 update? Players told they weren't enchanted anymore... Is it better that they let the items in WA+, in order to don't lost the enchantements?
Thank you again!
-
View User Profile
-
Send Message
Posted Aug 30, 2012Hi, can I do sign "WebAuction Recent" more than 10x? Thanks
PS: Sorry, my english is not very good
-
View User Profile
-
Send Message
Posted Aug 29, 2012@comniemeer
look in the WA_Settings table for Require Login. if you set that to true, the player will be forced to log in before they can view any auctions.
the infinite stock feature will be added sometime in the future. I've been thinking about ways it could be done. setting a fixed price would help give the market a good baseline that staff can control. another option I was thinking about is basing the prices on the average market price. for example, if the market price for diamonds are $300 each and the server shop is set to 120%, the price would be calculated to $360. using a method like this might keep the market competitive and sway players to buying from other players, but give them the option to buy from an infinite stock if they don't mind paying a bit extra. what do you think?
-
View User Profile
-
Send Message
Posted Aug 28, 2012Is it possible that you can show the login page instantly after typing example.com/webauctionplus? Because there will the auctions listed first and after this you can click on Login... And can you implement Adminshops again?
-
View User Profile
-
Send Message
Posted Aug 28, 2012messing with some of this ajax code, got it partly figured out and working. I just found a bug in the original web auction code. I fixed it by adding one line to my new code and the difference is amazing. I have 6000 auctions in my test database, and the page loads instantly! still a bunch of code to write to get it working the way it should, but this speed is simply amazing.
starting with this next update, 1.1.5, I'm promoting the plugin from alpha to beta, and switching from google code's ticket system to bukkits ticket system. the existing tickets on google code will stay open, and I'll close them as they're resolved until they're all finished. new tickets for beta can be submitted to http://dev.bukkit.org/server-mods/webauctionplus/tickets/
-
View User Profile
-
Send Message
Posted Aug 27, 2012@MatthiasS1
this error only affects the bottle o enchanting item. I've fixed the problem in code, but easiest way to get it working on your server until I get the update finished, just remove the ' from after the o in that items name in inc/ItemPacks/default/item.defines.php
I'm attempting to get ajax working for listing the auctions. it's the last step in speeding things up. some of you, with hundreds of auctions, might see your website load slow. this will fix that. I'll work on finishing other things that have been requested after this next update. this will be a stable and recommended update.
-
View User Profile
-
Send Message
Posted Aug 27, 2012There is a bug when i try to buy a bottle o' enchanting
MySQL ERROR - File: C:\Web\Minecraft\WebInterface\inc\classes\item.functions.php Line: 222 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Enchanting')' at line 1
INSERT INTO `WA_Items` (`playerName`, `itemId`, `itemDamage`, `qty`, `enchantments`, `itemTitle`) VALUES ('MatthiasS1', 384, 0, 5, '', 'Bottle o' Enchanting')
-
View User Profile
-
Send Message
Posted Aug 27, 2012@lorenzo_p
Good to hear thank you :D
-
View User Profile
-
Send Message
Posted Aug 27, 2012@dickwick
at some point in the past, one of the minecraft updates changed the damage values for potions. here are the changes I made to fix it in web auction http://code.google.com/p/webauctionplus/source/diff?spec=svn219&r=219&format=side&path=/trunk/www/WebInterface/inc/ItemPacks/default/item.defines.php easiest way to handle this would be to write a few lines of sql to drop into phpMyAdmin to handle the updates. anyone feel like helping out with that?
@DjBuRnOuTQc @legal90 @McEvan7
awesome :-) glad people like it. I'm thinking 1.1.5 will be an official update. the last dev version 1.1.4 does seem pretty stable and reliable. I haven't made many changes to it lately. only one bug fix that I can think of, and a few enhancements. the skins are now rendered on your own web server by web auction plus, instead of using minotar.net. this removes one more point of failure, meaning they should display more reliably. if minecraft.net does go down for some reason, it loads the default skin right from the script itself that does the rendering.
@DjBuRnOuTQc
I'll try to get that added soon. it doesn't sound like it'd be very hard to write code for expiring auctions. it's on my todo list, just haven't gotten to it yet. market prices can be added soon too. the data that needed to work is being logged to the database now, so it's just a matter of doing the calculations. now that you got me thinking about it, it'd be too much to query the database for the info and do the calculations for each item as it displays the auctions. I'm thinking the plugin jar itself should do the calculations with a slow-paced multi-threaded scheduled task.