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 May 15, 2012MySQL ERROR - File: C:\inetpub\wwwroot\shop\inc\classes\auctions.class.php Line: 34 Table 'lizardcd.wa_itemenchantments' doesn't exist
SELECT Auctions.`id` AS `id`, Auctions.`playerName` AS `playerName`, Auctions.`itemId` AS `itemId`, Auctions.`itemDamage` AS `itemDamage`, Auctions.`qty` AS `qty`, Auctions.`price` AS `price`, UNIX_TIMESTAMP(Auctions.`created`) AS `created`, ItemEnch.`enchName` AS `enchName`, ItemEnch.`enchId` AS `enchId`, ItemEnch.`level` AS `level` FROM `WA_Auctions` `Auctions` LEFT JOIN `WA_ItemEnchantments` `ItemEnch` ON Auctions.`id` = ItemEnch.`ItemTableId` AND ItemEnch.`ItemTable` = 'Auctions' ORDER BY Auctions.`id` ASC
it simply does not create that table. any solution?
-
View User Profile
-
Send Message
Posted May 15, 2012Hey, When i click on a Money Deposit sign it said: Added 0.0 to you Auctionsaccount, new account balance: 0.0 And nothing happends. In the server.log is no error. Can you help me?
-
View User Profile
-
Send Message
Posted May 15, 2012@lorenzo_p It would be great if you could try it out sometime :) SpoutCraft is really easy to use as all you have to do is download it and then it looks just like normal MineCraft launcher
Nothing strange at all.
-
View User Profile
-
Send Message
Posted May 15, 2012Where can i change the language?
-
View User Profile
-
Send Message
Posted May 15, 2012@SparvCraft
yea, I remember now. I was looking at the tekkit launcher, but couldn't get it to work. I have to update my java and try it again when I get around to it. I'm gonna need it to test the custom items too.
-
View User Profile
-
Send Message
Posted May 15, 2012@lorenzo_p Spout is using the SpoutCraft launcher witch is a custom launcher that you need to use any custom blocks or more advanced things from Spout.
-
View User Profile
-
Send Message
Posted May 14, 2012@FRLanc
I'm focusing on functionality before I do anything with spout. it's something I'll have to figure out and learn. is spout still just a client mod, or does it have its own launcher now?
-
View User Profile
-
Send Message
Posted May 14, 2012Will you add spout gui?
-
View User Profile
-
Send Message
Posted May 14, 2012here's the next update. http://dev.bukkit.org/server-mods/webauctionplus/files/6-web-auction-plus-1-0-6/
I've fixed every bug I can think of at the moment. I still don't recommend anyone use this on a live server, but I think this update is one step closer to being where it needs to be. I think I have time now to work on transaction logs and sale alerts, and maybe start on an admin control panel for the website.
I feel maybe I could use some help from a good php developer. I think my class schema could use another set of eyes to look it over and give an opinion. it's working, but I think it could be better. another reason, it seems to take me 5 times longer to finish some php code than it does with java.
-
View User Profile
-
Send Message
Posted May 14, 2012I'm finishing up the next update right now. bunch more bug fixes. I've finally added the code to prevent negative balances. players can't buy items they don't have money for anymore. I've fixed a bunch of small issues with signs, so that would work better now, and I've made withdrawing items a bit more reliable. I'm trying to fix everything that's reported, so maybe I can promote the plugin from alpha to beta soon. I'd still like to finish things like transaction logs and sale alerts, and possibly start on live inventory. actually.. item deposit/withdraw should be working pretty well now. maybe I should work on a different feature, like bidding.
-
View User Profile
-
Send Message
Posted May 14, 2012@modtv1337
the money deposit/withdraw signs aren't needed if you use iconomy with mysql, so I pretty much never need those signs myself. I'll take a look at them and see if I can make them work better.
@Jack_4775
not sure what you mean by "anything". I'm not sure when the original web auction stopped using deposit chests, but it was sometime before I started using the plugin. it now uses deposit/withdraw signs. see the screenshot above in the plugin description, or check out the info on the original web auction page. the signs are still similar to the original.
@radarwolf
I plan to give it more tweaking, but I think it looks pretty good. you can change the page style with the css files in the html\default folder. if you think you can do better, you're more than welcome to send me your changes, and I'll check it out. I never claim to be a graphics designer. lol. I can only do my best. I could also possibly add alternative themes to the package. if you want a custom design only for your website, feel free to do that too. just one thing to note, I've done a lot of work to the website, but there is still a lot to do, and when I add new features, the css files are likely to change or be added to.
for the currency prefix, you can put a space in the value field for now to make it blank. I may be able to have it only use a default value if the field is null, and leave the value blank if it's empty, but for now, I don't wanna change that without having the time to test it.
right now, I'm about to get back to tracking down that null exception when the Language class loads. I do have it fixed in the next update already, but that exception is only a symptom of another underlying bug. a null shouldn't be passed to that class in the first place.
-
View User Profile
-
Send Message
Posted May 14, 2012Are we allowed to change the layout and style? I dodnt kinda like the new background and that window behind the login boxes :(
BTW: Can you fix the following: When i put nothing in the currency prefix it will always be $, i would love it that it will be nothing then ;)
-
View User Profile
-
Send Message
Posted May 14, 2012@Wenish Thats great if you feel you have control over the other problems (if there is any now then :)). Just wanted you to know this as way too often people get a whole lot of Alpa/Beta plugins in a server and then complains about it not working 100% as they want.
-
View User Profile
-
Send Message
Posted May 14, 2012@SparvCraft
this is the only problem that i cant control. for the other things i have my technics. and he said it's easy to make this. I'm already happy, that he has updated it
-
View User Profile
-
Send Message
Posted May 14, 2012ok we got them working also quick note anything tagged with all example withdraw all dont work XD Thank you or all your help!
-
View User Profile
-
Send Message
Posted May 14, 2012@modtv1337
lol, good to hear you got it working. I'll put it on my todo list to see if I can make this work better in the next update. the more problems I can prevent, the better.
@modtv1337
actually, you need an amount, like 100 for $100 on line 3 of the deposit signs. withdraw can be a number or All. sorry bout that, I'll fix that in my screenshot above. the signs are similar to the original web auction http://dev.bukkit.org/server-mods/webauction/
@awesomebilly
either or both would probably be good. if there is a database of tekkit item names and ids, that would be great. I'll need icons for all the items too, but if you don't have those, I'll look online for them.
-
View User Profile
-
Send Message
Posted May 13, 2012is this a known issue ? i got the wa_ working but i get this error everytime i make a deposit or withdraw sign and try to use said sign sorry to be a bother.
http:pastebin.com/5YUK7CVG
-
View User Profile
-
Send Message
Posted May 13, 2012Hi, For Tekkit Which database did you need? a database full of all of tekkit data ID's? or webauctionplus's Database after I've placed a bunch of tekkit items into it?
-
View User Profile
-
Send Message
Posted May 13, 2012i moved it into another fresh db and all is well Thanks again :) it was my error XD
-
View User Profile
-
Send Message
Posted May 13, 2012After deleting the two wa tables wa-itemenchantment and wa-settings are the only tables created then my server gets spammed with this error
http://pastebin.com/wTaAmdw8