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 Jun 30, 2012@BlahBerrys @awesomebilly
actually, my current problem could be helped by donations. I posted about my issue before, but it's still acting up. I use my local server for most of my programming and file storage. when I try to open or save a file, it likes to lock up my computer for 30-40 seconds. I believe replacing the main hard drive and reinstalling the os should fix the issue. I haven't had the extra money to spare for this, but I'm ordering a replacement monday. donations would be helpful, and like I said when I first started working on this plugin, I'd like to pass on some of the donations to exote for making the original web auction.
version 1.0.8 is fairly stable, so not having an update for a little while isn't so bad. I'll be back to work on this in no time, and I'll start on 1.1.0 with a bunch of things finished up.
-
View User Profile
-
Send Message
Posted Jun 30, 2012@BlahBerrys
I love this plugin.
Once its finished I plan to donate!
expires date goes here market price goes here
-
View User Profile
-
Send Message
Posted Jun 29, 2012@lorenzo_p
Have updates been ceased?
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Erbros
thanks :-)
@cyborgdelta1
I was expecting a bit of lag from that, but you're actually the first to report it. I believe it can be done reliably multi-threaded, but not so sure I want to attempt it. if my idea works, using a chest and updating live, I'll just make that multi-threaded and those signs wont be needed. I'll leave the signs in and just make them optional, but that bit of lag will probably always be there.
-
View User Profile
-
Send Message
Posted Jun 27, 2012WOW this rocks just installed it on a test server with iConomy on a remote mysql and it rocks :3
I have been testing it for over 3h the site works the plugin works only got a small amount of lag when getting my Items from my Inbox but that's to be expected but keep up the good work looking forward to the beta :D
-
View User Profile
-
Send Message
Posted Jun 27, 2012I love your work. :)
-
View User Profile
-
Send Message
Posted Jun 25, 2012@nija646
try stopping the server and save the config file, then start the server again. that bug is one reason the /wa reload command is disabled. I'll fix it before beta. it's usually not a big problem, but is an inconvenience.
-
View User Profile
-
Send Message
Posted Jun 24, 2012@lorenzo_p Hey the plugin is loaded i have edited the mysql database for webserver thingy the db.config thing but every time i go to plugins/webauctionplus/config and change it then reload the server it changes back to the local host i want it to be my webserver so i can get it to work
btw u shuld serious make a utube or tut
(did you load the plugin yet? when that loads, it'll create any missing database tables. both the plugin and website need to connect to the same database and have their own config file to set that up.)
-
View User Profile
-
Send Message
Posted Jun 24, 2012@EpikSonic
in the website files, you'll see a file called config.db.php
@modtv1337
yes, there is! the custom items from tekkit are already added, but it hasn't yet been updated to tekkit 3. you can look at those files to see how it's done. they're in \inc\ItemPacks. if you'd like, you can send me the item info php files and images and I'll add it to the plugin.
@DjBuRnOuTQc
haven't attempted it yet, but both laptops are thinkpads. it'll probably come right up and run if I pop the hard drive out of my dead laptop and into this older temporary one. what will be a pain is setting up a web server on the laptop so I can dev and test the website. I have multiple computers, so I usually use my server for central storage, but that has been acting up, so I have to store files I'm working on right on the local desktop/laptop, which is more of a pain.
-
View User Profile
-
Send Message
Posted Jun 24, 2012@lorenzo_p
Why don't you transfer all of your files on your "new" laptop before the HD die?
-
View User Profile
-
Send Message
Posted Jun 24, 2012Is there anyway to add third party items to the list? for example (im not sure if there are other pluggins that do this ) but i have rpgessentials and it gives me new ore/food/and weapons that add a whole new level to my spout server i would love to have those items be uniqe like ( you can only get them in events or via a storyline we are developing. and use webauctionplus as a means for players to sell their items via the auction.
its just a thought im not sure how rpg essentials goes about adding the new items im sure there are no ids connected to them and im not sure how you register items that are mailed to the auction house but it would be amazing :)
-
View User Profile
-
Send Message
Posted Jun 23, 2012@lorenzo_p alright I have the plugin installed. Only question, how do i config the mysql to connect to the webserver mysql?
-
View User Profile
-
Send Message
Posted Jun 23, 2012@JDracup
thanks for the offer. I have an older laptop someone gave me. might work for now, just gotta install windows I guess. my server has virtualization, so I've been using windows on that when I need it. the problem is, the setup I use for testing is on that server with the disk lag. when it's working right, I access the files on that from any computer on my network. there doesn't seem to be an easy fix, but I'll figure something out.
@EpikSonic
did you load the plugin yet? when that loads, it'll create any missing database tables. both the plugin and website need to connect to the same database and have their own config file to set that up.
-
View User Profile
-
Send Message
Posted Jun 22, 2012Error, MySQL ERROR - File: /www/99k.org/l/a/s/laserarmy/htdocs/webauctionplus/inc/classes/settings.class.php Line: 8 Table 'laserarmy_99k_minecraft.WA_Settings' doesn't exist
SELECT `name`,`value` FROM `WA_Settings`
-
View User Profile
-
Send Message
Posted Jun 22, 2012Hey Lorenzo, Just wanted to say thanks for making this plugin! I've already integrated it into one of my servers and it works nice except for a few already-stated issues. The biggest things for me are the cancel button not working and the aforementioned price and expiry visibility issues.
As you've already stated - you're working on that, and I'm sorry to hear about your computer problems. If you like I have an old laptop collecting dust on my desk. It's missing the 3 key and the case has a crack in it, but it's otherwise fine (Win 7). If you like perhaps I can mail it to you - or you can just use a remote desktop software to link to it (or one of my extra desktops). Let me know if either of those would help you.
Not being of the coding persuasion, I don't really know what the limitations are as far as making this work, but I do think that the sign mechanism is annoying and time consuming (though it is certainly better than nothing and is nice for some people who like to have a set shop where people have to go to to conduct transactions). Ideally for me, using signs would be a toggle-able option. I'd rather have it to where everything is done on the web interface - it's linked to your wallet and inventory and you dont have to do anything in-game.
At least that's the feature I'd like you to focus on :) . You have your own mind though and I think a lot of the ideas you're trying to implement are great. So yeah thanks for picking up the pieces from the original WebAuction and I am eagerly looking forward to 1.0.9 (or 1.1.0) no matter what fixes/updates/changes it contains.
Regards, -JD
PS @EpikSonic I can probably help you get it set up. If you want me to help you message me (JDracup) on the minecraft forum or send me a PM here on BukkitDev.
-
View User Profile
-
Send Message
Posted Jun 22, 2012Getting MySQL Error: when I go to it. The host I use is zymic.com can anyone help me?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@Mr_H4mm3r
the way I was thinking about trying uses a single chest. I haven't figured out exactly how yet, or experimented with it, but a player would open the chest and they would see only their own items, live. it works sorta like a virtual chest, in a way. if it's done right, I don't think there will be any duping problems. anyone know of an existing plugin that works like this?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@Mr_H4mm3r
Ive had a few reports of enchantments being removed.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@Lorenzo_p
I hate the idea about depositing stuff.. It makes it a lot more irritating! The best would be a live inventory.. :I But it could create duplication bugs..
-
View User Profile
-
Send Message
Posted Jun 22, 2012@Thyrin
I can't tell you how much work it takes to put together a project like this. it would help if we humans didn't have to sleep. lol. adding code to convert and update the database isn't an easy task. I don't blame stutiguias for not wanting to tackle that. maintaining data integrity is critical, and so much can go wrong. just adding that feature to a plugin is a can of worms. to be honest, I'm surprised no one has reported a corrupted database after having web auction plus convert it. it's a relief that it works as well as it does. I do plan to make more changes to the database before beta, but I will do the work to write more auto convert code to handle it. hopefully all will go well once again :-)
I realise there are some crucial features still missing, and I've said I'd get them done. php is one of the few things I can only really get focused when I'm using windows. unfortunately, both my windows desktop and laptop both died. hardware failures. my main server's not doing well now either. half the time when I save a file, it locks up for 20-30 seconds. I believe it's the main hard drive, but no way of knowing until I buy a new one to replace it. I guess donations would be helpful.
question for everyone, let me get your opinion on this. I thought the mailbox signs were working perfect, but there have been some issues reported recently with enchantments failing. I'm wondering, think I should rewrite that code before the next update? I think it's more critical than anything that it works perfect, but it will take some work. I'd like to simplify the code and database even more to avoid these problems. the next update will be pretty big, so I think it'll be 1.1.0