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 Jan 30, 2013@OPTIVNERVE
extract it into the ItemPacks folder. the folder called default is the item pack for the items built into minecraft. all the other item packs for each mod go in similar folders. then, in the database, WA_Settings table, look for the ItemPacks row, and set the value to Tekkit to enable it.
-
View User Profile
-
Send Message
Posted Jan 30, 2013@Chuevo
Thanks will check it now! Also Chuevo, do you happen to know where the additional item pack.zip is meant to go or be extracted to? I tried the ItemPack Folder!
-
View User Profile
-
Send Message
Posted Jan 30, 2013@OPTIVNERVE
The code is missing php tags. Use this: http://pastebin.com/iehJHy7D
-
View User Profile
-
Send Message
Posted Jan 30, 2013echo ' '; echo '
PHP Version: '.phpversion().' '; if(class_exists('PDO')) echo '
You have PDO support! '; else echo '
No PDO support.. '; echo ' ';
EDIT: On closer inspection, this look like just a display of the code? Is that right? www.technorealms.net/phptest.php
Is that good or bad?
-
View User Profile
-
Send Message
Posted Jan 30, 2013@lorenzo_p
Ill test it now!
Any chance you could reply to my PM if you have time?
-
View User Profile
-
Send Message
Posted Jan 30, 2013anyone who plans on using 3.0 eventually, which is probably everyone, please run this script on your web server and pm me the results. just copy this code into a file like test.php upload it to your web server and open the page. http://pastebin.com/EgAumB0K
the thing is.. portapipe pointed this out to me. I've been enjoying some fancy new features in php, but it turns out a lot of servers are still running php 5.2, which doesn't support all these features. the entire web auction plus 3.0 is written for php 5.3, which could be a problem for some people. the script I wrote and linked to will display the php version you're running and if you have support for the pdo module, an improved access layer for mysql. pdo, I can add fallback support without a problem, but downgrading from 5.3 to 5.2 isn't so easy. we'll see. send me your results so I can get an idea what servers are running. if you're willing and able to upgrade your php, that would be a big plus!
-
View User Profile
-
Send Message
Posted Jan 29, 2013MySQL ERROR - File: D:\Shop\inc\classes\logSales.class.php Line: 29 Data truncated for column 'itemType' at row 1
INSERT INTO `WA_LogSales` ( `logType`, `saleType`, `timestamp`, `itemType`, `itemId`, `itemDamage`, `itemTitle`, `enchantments`, `seller`, `buyer`, `qty`, `price`, `alert` ) VALUES ( 'new', 'buynow', NOW(), '', 14, 0, 'Gold Ore', '', 'Cirno', NULL, 64, 1, 0 ) Well,it works well but only a little problem.When I send a request(whatever all),and it back this message,but it's not effect.How can I solve this problem?
-
View User Profile
-
Send Message
Posted Jan 28, 2013Just for you to know: the "Recent" signs are bugged with 1.4.x (tested with 1.4.7) for me, so if you have a huge console error every 60 seconds... well disable it via config into your minecraft plugin folder (..signsUpdate..)
-
View User Profile
-
Send Message
Posted Jan 28, 2013@lorenzo_p
OMG I CAN'T WAIT FOR V3.0.. JUST AMAZIIIIIIIIIIIIING, when is it coming? :D
-
View User Profile
-
Send Message
Posted Jan 28, 2013@oLLyyy
this plugin is actually meant to run on your own website. the php files included in the zip can be uploaded to your website, then edit the config.php file so it can connect to the same database as the bukkit plugin does. here's the install guide if you need it http://dev.bukkit.org/server-mods/webauctionplus/pages/installing-and-updating/
also, I updated all the github mirrors and posted all the repo links on this page http://dev.bukkit.org/server-mods/webauctionplus/pages/plans-for-wa3-0/
-
View User Profile
-
Send Message
Posted Jan 28, 2013ive just installed it, then i come to the conclusion of what is the site i type in the address bar?!
-
View User Profile
-
Send Message
Posted Jan 27, 2013@zanko2012
I've been pushing myself at the tickets the past few days. I think I've replied to yours. don't remember what I said, lol. but I think it could be caused by a dropped mysql connection. it seems I did pretty well fixing all the bugs in 1.1.7, because things like this are pretty much the only bugs reported.
@portapipe
what were the severe errors? might be something that can be fixed. (talking to you on irc now) here's my most recent upload of the plugin, just last night. http://webauctionplus.com/early3.0b/
-
View User Profile
-
Send Message
Posted Jan 27, 2013Maybe a dev download? Just to fix this bad error spam
-
View User Profile
-
Send Message
Posted Jan 27, 2013Waiting for the v3 of this amazing plugin! :D My 11k users waiting for it (1.4.7 broke, you know... lot's of severe console error but it works)
When it will release to our little people? :)
-
View User Profile
-
Send Message
Posted Jan 26, 2013Hy, I just wanna know if you read my ticket,I have problems with pool connection
-
View User Profile
-
Send Message
Posted Jan 26, 2013@zwirc
lol. you can ignore that. I noticed it broke a while ago. I'm busy with other things and don't wanna take the time to update that metrics website. hidendra has done some awesome work on his website, so I plan to switch to mcstats.org . it took a few hours of tweaks to get it working right on my server. mostly, just because he's using different software on his web server. so, the metrics stats will be fixed in the update that should be coming in the next few days, hopefully.
what I have been busy working on, http://dev.bukkit.org/server-mods/webauctionplus/pages/plans-for-wa3-0/ and here's a sneak preview http://webauctionplus.com/early3.0/
-
View User Profile
-
Send Message
Posted Jan 25, 2013Any progress?
-
View User Profile
-
Send Message
Posted Jan 25, 2013@africasc
as the error says, it's not able to connect to the mysql server due to an invalid login. it can work using the root user, but it's not a good idea. the root password shouldn't ever be in plain text anywhere on the server, as a general rule. so, the problem you're having could be an invalid password, the user might not have access to the database, or if you're connecting to a remote server, the web servers ip or hostname might not be on the allowed remote hosts list. I can see you're connecting to localhost, so the last one doesn't apply to you. double check the connection info, or create a new account for it to use other than root.
-
View User Profile
-
Send Message
Posted Jan 24, 2013i got a problem
' MySQL Error: Access denied for user 'root'@'localhost' (using password: YES) '
does anyone have an idea to solve it?
-
View User Profile
-
Send Message
Posted Jan 24, 2013something interesting I found out today, I can use the md5() function 1.5 million times per second in php on my server. I don't plan on encrypting passwords a million times, but it's interesting to know md5 performs that well on modern computers. so, when you log into a website, the php script could encrypt your password thousands of times without a noticeable hit on performance. I'm developing a class for this plugin to do complex encryption sequences. this is a large step beyond a salted hash. customizable when you setup the plugin.