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 Dec 23, 2012Seems to be broken in 1.4.6. Spits out lots of garbage and doesn't create database tables. index.php has literally no output called through browser or via cli.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@deleted_7536780
yes, I plan on having an option to add items to an existing auction below the create auction page. this is the best solution I've come up with that doesn't add a lot of extra load and processing time.
-
View User Profile
-
Send Message
Posted Dec 22, 2012@lorenzo_p
optional, but please fix issue where you have to cancel multple listings to get stacks bigger than 64 while in auction chest!
-
View User Profile
-
Send Message
Posted Dec 22, 2012just remembered, I haven't added fireworks yet. added it to the top of my list of things to do. I'll get those items added soon and post the link here.
what does everyone else think about using the minecraft password to log into the website? think it would be safe enough to do? I could make it optional, but it would only be as safe as the web server its running on. most sites probably wont use ssl, and are shared hosting.
-
View User Profile
-
Send Message
Posted Dec 22, 2012@Peda1996
very nice work, I like it! sure, I can link to it in the plugin description. if it can be kept updated, I could possibly include it in the zip. just a warning, I've been considering writing a new template engine for the website. it shouldn't be much work to update the themes to work with this new system. if anyone's good with php and would like to have some input on the design of this new template engine, jump on irc #webauctionplus or send me a pm.
I'm also hoping to modify the website into a multi-functional portal. ambitious dreams, but I really need something I can use for multiple projects. the base code is already loosely based on a portal a designed long ago, and always had planned to make it into a framework for multiple projects or websites. currently, only the new admin pages are using the new template engine, but if it turns out well, I'll convert the rest of the website to use it also, then remove the old api.
@graveXrobber
request noted. I feel I should get started on this code soon, but don't have an eta for that yet. I can probably make it into an api of some kind, so it can be used for other things too. you could... give a player $1000 in game for reaching 1000 posts on your forum.
@Techtony96
I helped you fix this in irc the other day, but I'll post here too, in case anyone else has the same problem. this is actually an issue with php, where it fails to save the session file, but doesn't give any errors. I have code added to the web auction plus website to show you these errors, so you know what the problem is. the next update will also tell you how to fix it. this is most commonly a file permissions issue. if you don't have root access to the web server, you'll have to contact your hosting provider to fix it. here's the command to fix it:
chmod 770 -Rv /var/lib/php/session
@dawiisss
I'm unsure what you mean. could you send me a screenshot? it could possibly be caused by another plugin. if we can figure out what's going on, I can possibly fix it.
@keptlv
here are the updated items, and a fix for potions http://code.google.com/p/webauctionplus/source/detail?r=287 http://code.google.com/p/webauctionplus/source/detail?r=288
@Guarana_SUI
the table prefix should usually be left to WA_ . if you look at the bottom of that config.php file, you'll see a setting for the iConomy table, you can change this to the name of the table in your database. the iConomy use setting can be left to auto or changed to true.
@Guarana_SUI
interesting idea. do you know of any other plugins that do something similar? there are security concerns to take note of. it could possibly be best to leave it how it is.
@jwpwns
I have made recent commits to the repository. I've been pretty busy with work and other projects, and life in general. I've had another project on my mind lately, so it's hard to switch back to php. it is a huge project, that wont be finished anytime soon, so I should take another break from it and knock out a bunch more web auction code.
if anyone's good with php, and would like to contribute to this plugin, please send me a pm any time, or maybe you can catch me on irc one late night. I'm constantly working to improve my code style, and future updates will be moving in the direction of a portal framework, using more recent technology. you may have to learn how the api works, but it'll be worth it. if anyone gets interested in it, it'll probably help me get started on some documentation for it.
-
View User Profile
-
Send Message
Posted Dec 22, 2012update any time soon?
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Guarana_SUI
You would have to ask lorenzo_p that, the best I can do is make a suggestion just like you.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@TheNytangel
oh yep i see. yes i see now it works thank you ! another question: why do you guys have this set up a password thing. would it be much more easier if you simply connect to mojang and let people login with their real minecraft id same as a costumclient like spoutcraft or tekkit?
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Guarana_SUI
I believe you need to specify the iConomy table name in the website's config.php file. The very last line of options is the table name. Does that match what your iConomy's table name is?
-
View User Profile
-
Send Message
Posted Dec 21, 2012hi there, Im using Iconomy and Webauction together set up evrything right ( i think) but it doesnt work together the webauction make its own tables in the iconomy database and i still need to deposit money :( what exactly need to be done so it can work together? for example whats up with the "TablePrefix" do i change something with that? help please!
-
View User Profile
-
Send Message
Posted Dec 21, 2012Where can we get ItemPack upodate for all the items? Like carrots, all potions etc etc...
-
View User Profile
-
Send Message
Posted Dec 19, 2012Can you please tell me how to get rid of this No sign thing every time someone presses a sign the no sign comes up for everyone please someone
-
View User Profile
-
Send Message
Posted Dec 18, 2012@graveXrobber
@Techtony96
I believe lorenzo_p is planning on adding better Vault support for all of the economy plugins
-
View User Profile
-
Send Message
Posted Dec 18, 2012@Peda1996
That's a lot of people who use Essentials Eco, including myself and it is extremely annoying having to withdraw/deposit money.
-
View User Profile
-
Send Message
Posted Dec 18, 2012@graveXrobber
Why you dont't use iconomy, with iconomy you can connect to a database, than you don't worry about withdraw and deposit ^^
-
View User Profile
-
Send Message
Posted Dec 17, 2012Anyone know why this is happening? I get the following message when logging in:
PHP Session seems to have failed!
Invalid CSRF Token!
Back to WebAuctionPlus website
Here is the link if u want to look at it yourself: MC.Sector9.us
-
View User Profile
-
Send Message
Posted Dec 17, 2012Can we get vault/essentialseco support so we dont have to worry about depositing and withdrawing all the time?
-
View User Profile
-
Send Message
Posted Dec 17, 2012If i would create my own Theme, and i would share that for downloading, would you add that into your description?
I mean with maybe:
Other Themes - Games - Minecra
and so?
For instance: v 1.0 Of my Template: http://www.elitecrafters.tk/shop/
-
View User Profile
-
Send Message
Posted Dec 16, 2012lots of comments :-) sorry I haven't been around to reply to them.
@Exote
the way I'm doing it is similar, but I've expanded upon the concept. php is efficient with arrays, so I load all the item information into a multi-dimensional array and grab whatever information I need from that. no extra filesystem or database access needed. item names, I do generate and cache in the database, which is retrieved at the same time as a normal query would run. I felt it would be easier to look up an image by the items name rather than looking at a bunch of numbers, which can be a pain when item id's change. not so common in minecraft, but tekkit and other mods it happens more often. there are other ways it can be done, but I'm not sure there would be any performance gain by changing it.
@Klemms
thanks for the translation update, I'll add it into the next update.
@Zach667711
I'll have to take a look at the copy I have on my desktop. there might be minor things I haven't committed to the repo yet, but it should compile with eclipse without much trouble. I've messed with maven a little, but I'm not familiar with it enough to be comfortable using it for projects. if you send me a pastebin of the errors you're seeing in console, it might be something I can fix, or help you fix on your server. I have made some major changes to the mysql connection pool. it still essentially functions the same, but does it in a slightly improved way.
@mclordcraft
when the player head icons aren't working, it's usually because gd2 isn't installed on the server. gd2 is currently required in the latest version, although it wasn't in the past. I'll have this feature finished up in the next update so it will be an optional feature to render the skins right on your own server or to use minotar. it may even be automatic.
@PLPatrick
yes, an update for 1.4.x is planned and in final development. I haven't had much time to work on it with the crazy holidays and the end of the world upon us, but I will get this update finished up soon. until then, there are no known issues with the latest release, aside from the usual glitches with new item features. books aren't working yet, can't rename items, and player heads reset to steve. I'll try to get as much of this working as I can for the next few updates.
@deleted_7536780
this is another feature I plan on adding soon. currently, what you described is the only way to do it, but it will be possible soon.
-
View User Profile
-
Send Message
Posted Dec 15, 2012How can you see more than 64 of each item without putting it up for auction and cancelling it to make the stacks merge.?