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 24, 2012@Dalez
do you notice when it lags? is it when someone logs in? that's the only time I've noticed it on my own server. I actually run my own vps on one of my servers. I should probably install an os on one and do some testing, instead of testing on my fastest server. like I've told others before, I can't track down and fix a problem unless I can reproduce it on a test server. unless you'd be ok giving me access to your test server for a few hour/day. I could compile a few test versions with some timing reporting to the console to see what takes time to run. actually.. there is a multi-threaded option in the config.yml, you could give that a try, but I have a feeling it wont help this issue your having.
@watarimon
can you pastebin the exceptions to me pls? have you updated to 1.0.8? a few of the older versions had null exceptions, but they've all been fixed in the latest release.
@alidaboss
check the db.config.php file on line 8 :-P php can be picky, like any programming language. one wrong character in the wrong place and the whole thing goes down.
-
View User Profile
-
Send Message
Posted May 24, 2012@mumblerit: Try downgrading to 1.0.7 1.0.8 has been sluggish due to a "Quick Fix."
-
View User Profile
-
Send Message
Posted May 24, 2012@lorenzo_p
I get this error Parse error: syntax error, unexpected T_DNUMBER in /home/dangerou/public_html/webauctionplus/db.config.php on line 8
How do i fix it??
-
View User Profile
-
Send Message
Posted May 24, 2012Trying to use /wa password XXX i get this in console
org.bukkit.command.CommandException: Unhandled exception executing command 'wa' in plugin WebAuctionPlus v1.0.8
-
View User Profile
-
Send Message
Posted May 24, 2012@mumblerit
It is is noticeable, the people testing my server and I can notice the small lag introduced by this plugin. PvP lag isn't very good on a PvP server. It might be that some of the plugins I am using is clashing with this plugin?
I will continue to test this plugin as I really do think its a brilliant plugin but the the lag is the only downside :(
EDIT: After installing 1.0.8, my TPS has gone back up to 20. I will test for lag with PvP and lag spikes soon.
-
View User Profile
-
Send Message
Posted May 24, 2012@Dalez
.5 TPS is really not noticeable, like at all. .
-
View User Profile
-
Send Message
Posted May 24, 2012@dickwick
But it still drops 0.5 TPS from one plugin. I have other bigger plugins and yet they are fine and keep the TPS at 20, so why does installing this one drop my TPS?
Not only that, but it also has noticeable PvP lag and small lag spikes, but only with this plugin. Not as bad as 1.0.4, but still noticeable.
-
View User Profile
-
Send Message
Posted May 24, 2012@Dalez
Well 0.5TPS is really not so significant :/ I thought you were talking about 15TPS or less
-
View User Profile
-
Send Message
Posted May 24, 2012@dickwick
If your talking to me, then I have 20 when the plugin isn't installed, and 19.5 when the plugin is installed.
So the plugin is defiantly giving me some issues in terms of lag.
-
View User Profile
-
Send Message
Posted May 24, 2012<<reply 721467="">>
How much TPS you got? I'm running this on my server and without any lag problems.
http://s.majncraft.cz/online-tps.png
(red line is TPS)
-
View User Profile
-
Send Message
Posted May 24, 2012@lorenzo_p
Okay, so I'm back with my report!
So I just tried 1.0.7, and the plugin loads fine, works fine and everything is fine with the plugin in general. However, the lag is back, but not as bad as it was before. There are smaller lag spikes and PvP is a little bit laggy still when this plugin is used on my server.
However, there is a noticed improvement compared to 1.0.4, but still makes the server rather laggy. About NoLagg, it just told me which plugin was using the most amount of resources... and it proved to be right in a sense and got rid of the lag when I remove your plugin.
I really want to use this plugin as its great and allows my users to do Auction House Trading on the go, but I can't use it if its making the PvP laggy :(
Also, I am not using this on a live server, we are currently testing for bugs after all the plugins have been set up, and there has been a max of 10 people on at a time.
-
View User Profile
-
Send Message
Posted May 24, 2012here it is, another update. this one has some critical bug fixes in it [http://dev.bukkit.org/server-mods/webauctionplus/files/8-web-auction-plus-1-0-8/] it seems every time I think I fix these big bugs, they still cause problems. I think I finally tracked them down now! I've done all the testing I could think of. I was noticing a trend, and it did turn out to be a bug only on windows servers. it was an odd one too, when I finally found it. give this version a try, and be sure to update the website files too! I repeat, critical bug fixes.
-
View User Profile
-
Send Message
Posted May 23, 2012@alidaboss
yup. the folder with the php files in it. upload the entire thing
-
View User Profile
-
Send Message
Posted May 23, 2012@lorenzo_p
Ok just upload the WHOLE folder right?
-
View User Profile
-
Send Message
Posted May 23, 2012@alidaboss
the lower case webauctionplus folder has all the php web files in it. just upload that entire folder to your website, then edit db.config.php to connect to your database
-
View User Profile
-
Send Message
Posted May 23, 2012@lorenzo_p
What directory do i put the files in???
-
View User Profile
-
Send Message
Posted May 23, 2012How do i put the webinterface on my website???? PLEWASE HEKLP!!!!!
-
View User Profile
-
Send Message
Posted May 23, 2012someone suggested something today. I could add chat to the web auction website, sorta like dynmap does. it would be optional and fast. not sure where to put it on the page, but I think it's a good idea.
I've been thinking about another idea too.. I wanna change the code that gets the player balance and remove the money deposit/withdraw signs (they wont be needed anymore). I'll have a new connection made from the website to the plugin itself and communicate using json data. it will get the players balance right from vault, so all economy systems will be fully supported. then that got me thinking, why not take it further. it could get all the data it needs from that link instead of trying to access the database directly. this would only be an optional feature, and would use a security key of course. normally, you'd still connect directly to the database, like how it is now, but for people who use a remote database on another server, it can be a real pain to get working. this optional feature would fix that.
-
View User Profile
-
Send Message
Posted May 23, 2012@Dalez
I don't remember how many of the performance issues I had fixed in 1.0.4. it's probably at least a little faster now. I think that was before I rewrote the website. I haven't actually tested signlink, but all the code for it is there. let me know if there's any problems with it. the original web auction did have some bad lag issues on some servers. I recommend you move your database to the bukkit server if you can. if the plugin can connect to the database locally and as fast as possible, it will help prevent lag. the nolagg examine log, does that say what classes or functions or tasks use how much cpu or show how many ms it takes to run?
btw, the bug loading language files, fixed! windows uses \ and linux uses / for file paths, so I had it using either of those depending on the os. it took lots of trial and error, but I figured out it works on both os's if I only use / which usually doesn't work on windows. it's working, perfect, what's to do next.
-
View User Profile
-
Send Message
Posted May 23, 2012@lorenzo_p
Yeah just tried it now, but I used the /lag <time> and then it creates a .exam file and it said that WebAuction+ was the highest running and used the most resources, got rid of it and bam, no lag. I was using 1.0.4 though, as the SignLink wasn't working for 1.0.5. I will try it again and see if it works.
Also, I want SignLink as I have an awesome Auction House. But I'll try removing that if it still lags :) Thanks for the quick response!
Also, its on remote web server, but so is my LogBlock and that doesn't lag at all.