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 Jul 29, 2012@lorenzo_p
It work great with the deposit sign thank. Edit : electric items have been discharged (like quantum boot or diamond mining drill) when sold on the website..
-
View User Profile
-
Send Message
Posted Jul 29, 2012@lorenzo_p
You can ask mikeprimm, he is the author of Dynmap, where he gets the images from.
-
View User Profile
-
Send Message
Posted Jul 29, 2012@SulfoDK
yes, it works best with iconomy using a table in the same database as web auction. it is a planned feature to fully support any vault economy.
@dragon1002
minotar.net does seem to go down more often than I'd like, but I don't know of an alternative site. I've thought about a few ways to cache the images on the web auction web server. the best method might be to download the skin images straight from minecraft.net and have web auction create the image itself. does anyone know of a php script that works like what minotar does?
@ToonAnon
if it's supported by vault then you can use the money deposit/withdraw signs. unfortunately it can't work directly with other economy systems yet, but that is planned like I said above.
@MogriMoogle
I enjoy the programming. thanks everyone for the support. donations are welcome. I have been hard at work on the next update once again. I'm just about done with what I'm currently working on, but there's a bunch more things I'd like to finish up yet. when I have it ready, I'll post here to let yous all know, and you can try it out before I officially release the update. I'll fix all the bugs I can find, but I know yous will find any I miss, as always :-) tekkit support is almost finished. thanks TheNytangel, for all your help with that.
-
View User Profile
-
Send Message
Posted Jul 28, 2012@ToonAnon
This isn't the place to ask that. Are you sure you installed Vault?
-
View User Profile
-
Send Message
Posted Jul 27, 2012Hey, this is a great plugin! Looking forward to future updates. Do you have an estimate on when the next update will be released? I don't mean to rush you, I am just curious and would appreciate an estimation. :) Thanks for programming!
-
View User Profile
-
Send Message
Posted Jul 27, 2012please add BOSEconomy support !
-
View User Profile
-
Send Message
Posted Jul 26, 2012Is minotar.net offline? The Avatars are no longer show on the WebShop... Do you knew an other page for the Avatars?
(Sry for my bad english im a german kid)
-
View User Profile
-
Send Message
Posted Jul 25, 2012@lorenzo_p
Hello.
The connection between my webserver, and mc server are allowd in the whitelist, for who can connect to my MySQL DB.
We also have LogBlock running allready, and your plugin got the same MySQL information, as the LogBlock Plugin.
So I don't think the problem is in the db information.
Just to make it clear. The iconomy will only works, if it's in the database, and not in a flatfile? :-/
-
View User Profile
-
Send Message
Posted Jul 24, 2012@SulfoDK
that exception seems to be coming from code that only runs when the /wa password command is used. any other exceptions or problems or is it only that one? if you still have trouble, you can open a bug ticket and we'll look into it farther.
@FrostEnergy
not many people have said anything about the twitter feature. it was removed in an early version when I started rewriting the entire plugin. I've never used it myself, so not sure how it works or what it even does. if there's interest in it, I could possibly add it back in eventually, or someone else could write the code if they want. but I think it'd be best to have stable code to base it on first. it's getting there. it takes time, but I'm getting it done piece by piece.
@SulfoDK
sounds like a problem connecting to the database, or remote host permissions. if your database is on another server other than the bukkit server, you'll have to add the bukkit servers ip address to the remote host list for that db user. the first time the plugin successfully connects, it'll create all the database tables it needs, then the website will work. as for iconomy, using mysql for iconomy is currently the only well supported economy. it does support all economies that vault supports, but you'll have to use the money deposit/withdraw signs to add money to the web auction accounts. it is a pain, and I plan to fix this, but it's the only option at the moment. also, your english isn't bad.
@Raymanic
that error usually means the database tables don't exist yet. when the bukkit plugin loads and successfully connects to the database for the first time, it'll create all the tables, then it should work. I'll see what I can do to improve that message.
-
View User Profile
-
Send Message
Posted Jul 24, 2012@Raymanic
same..
-
View User Profile
-
Send Message
Posted Jul 22, 2012I got an error website-wise for the plugin
MySQL ERROR - File: /home/a1778054/public_html/webauction/inc/classes/settings.class.php Line: 8 Table 'a1778054_2.WA_Settings' doesn't exist
SELECT `name`,`value` FROM `WA_Settings`
-
View User Profile
-
Send Message
Posted Jul 22, 2012An update for
@SulfoDK
Hmm.. It tells me, that there is something wrong in the config. I have checked it, and every thing looks alright.
My wa_settings is not created in the database?
Another question is, if I have the iconomy in a flatfile, on the server, how do I set the iConomy then? :)
Sorry my bad english..
-
View User Profile
-
Send Message
Posted Jul 21, 2012This is no immediate problem. But does anyone have the twitter updates working? I have only gotten it to work once, and that was in the original WebAuction. I have input all my information from twitter, checked, and double checked. still, nothing feeds :/
Bukkit #2258, WAP# 1.0.8
-
View User Profile
-
Send Message
Posted Jul 21, 2012Hi there. Got this error:
This is from the startup of the server :)
-
View User Profile
-
Send Message
Posted Jul 21, 2012@Mike2033
I don't remember which version it made it into, either 1.0.8 or if it'll be in the next update, but I removed all lag coming from web auction when a player logs in by making it run delayed and on its own thread. in the last few days, and the next few, I've improved it a bit more by cutting down on the number of queries it runs when a player deposits or withdraws an item.
@mumblerit
I know, I've seen this on websites, and it can get pretty bad. I didn't know it could crash a browser, but that may be due to a slow internet connection. generating the page only takes a fraction of a second, and php usually has a 30 second timeout built in, but I think all the time is spent downloading the page to the browser. I'll try to get this fixed in the next update, since I'm still focusing on these critical fixes. it'll use ajax to load only the items it's ready to display. the cancel button should also be working in the next update.
@krovnatik
if you look in the WA_Players table of the database, you can see what it's setting permissions to for players. it updates those permissions when the player logs in, or changes their password with the /wa password command. that should give you some clue as to what's going on.
-
View User Profile
-
Send Message
Posted Jul 20, 2012-
View User Profile
-
Send Message
Posted Jul 20, 2012Hello. Plugin installed successfuly but I have a problem with Creating auctions. all time showing 'Can't sell' message. I checked all permissions and everything is ok. It is my mistake or bug? how to fix it?
-
View User Profile
-
Send Message
Posted Jul 19, 2012Our main issue atm is the sheer number of items being loaded on the auction house due to their being no cancel/timeout
Its causing peoples browsers to crash.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@lorenzo_p
Nice that you fixed some lags etc... I just replied to the ticket.
-
View User Profile
-
Send Message
Posted Jul 17, 2012@Mike2033
replied to the ticket. whatever the problem is, maybe I can track it down with more information.
edit: my first day back on the job and I'm very happy with my code so far! I've created a few new functions to handle items and removed the old ones. there were still quite a few queries running to deposit an item, but it's down to only 2 now. it has been reported that deposit/withdraw signs were causing a slight bit of lag, but I think that's fixed now. still much to do. none of the other code has been updated for the new enchantments format in the database. I'll also have to write some code to update your database for this new format, but it's not very complex.