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 10, 2012I finished the next update, but I'm gonna wait until morning to test it a bit better before uploading it. I was messing with enchantments tonight. it's still acting odd. I'll continue this in the morning also, see if I can find the problem.
-
View User Profile
-
Send Message
Posted May 9, 2012@baemboo @Wenish
I plan to get the cancel button working again soon, maybe 1.0.5. this next update tonight is only for bug fixes. still finishing it up. I need to get transaction logs added back in again too.
-
View User Profile
-
Send Message
Posted May 9, 2012okey i cant find the line i hope you upload today a small update for this or post a downloadlink for the file. and thx for this awesome plugins update
-
View User Profile
-
Send Message
Posted May 9, 2012thx for your fast update
one question: will we have to wait till 1.4 for the "Cancel" button?
because this feature is very essential i hope youll bring up a small update this week for it.
-
View User Profile
-
Send Message
Posted May 9, 2012@Meshuffle
I'm not certain, but I don't think a mysql username can have an @ symbol in it. that might be the problem.
@Wenish
if you can find that line in the file, just change username to playerName and it should work. I have to fix one function for mailing items, and fix the issue where the .htdb.config.php file isn't being packaged, then I should have an update uploaded at some point tonight.
-
View User Profile
-
Send Message
Posted May 9, 2012when comes fix for this?(WebInterface)
MySQL ERROR - File: /var/customers/webs/sky/web/inc/classes/user.class.php Line: 153 Unknown column 'username' in 'where clause'
UPDATE `WA_2Players` SET `money` = `money` + 10 WHERE `username`='alocacocTV' LIMIT 1
-
View User Profile
-
Send Message
Posted May 9, 2012Hi I have this problem when I am trying to open my auction website.
"Unable to connect to databaseAccess denied for user 'admin@mcauctionh'@'localhost' (using password: YES)"
someone could help me ?
config.php-> $db_host = 'mysql.cba.pl'; $db_user = 'admin@mcauctionhouse.cba.pl'; $db_pass = '*'; $db_database = 'mcauctionhouse_cba_pl';
-
View User Profile
-
Send Message
Posted May 9, 2012@Wenish
do you mean the config file for mysql connection info? it was actually an error of my zip builder script, and wasn't included with the package. you can download it here http://webauctionplus.com/_files/htdb.config.zip I'll be sure it's included with the package in the next update.
my server's finally back online. how frustrating is it when no one seems to be home in tech support..
-
View User Profile
-
Send Message
Posted May 9, 2012I use webauction and i cant find by 1.0.3 where I must register the mysqldata by webinterface
-
View User Profile
-
Send Message
Posted May 9, 2012@ibankzero
yea.. server's been down all day. they finally replied to my support ticket and are looking into it. I'll get rid of that error message in the next update.
-
View User Profile
-
Send Message
Posted May 9, 2012[SEVERE] java.net.UnknownHostException: metrics.poixson.com
[SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
[SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source)
[SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source)
[SEVERE] at java.net.Socket.connect(Unknown Source)
[SEVERE] at java.net.Socket.connect(Unknown Source)
[SEVERE] at sun.net.NetworkClient.doConnect(Unknown Source)
[SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source)
[SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source)
[SEVERE] at sun.net.www.http.HttpClient.<init>(Unknown Source)
[SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source)
[SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source)
[SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
[SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
[SEVERE] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
[SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
[SEVERE] at me.lorenzop.webauctionplus.Metrics.postPlugin(Metrics.java:403)
[SEVERE] at me.lorenzop.webauctionplus.Metrics.access$4(Metrics.java:336)
[SEVERE] at me.lorenzop.webauctionplus.Metrics$1.run(Metrics.java:253)
[SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
[SEVERE] at java.lang.Thread.run(Unknown Source)
[WARNING] [Metrics] metrics.poix
MySQL:
Host: localhost
Username: xxxxx
Password: xxxxx
Port: 3306
Database: shop
TablePrefix: WA_
ConnectionPoolSizeWarn: 5
ConnectionPoolSizeHard: 10
-
View User Profile
-
Send Message
Posted May 9, 2012@PyPKjE
http://webauctionplus.com/_files/htdb.config.zip
-
View User Profile
-
Send Message
Posted May 9, 2012Web problem...
Warning: require(.htdb.config.php) [function.require]: failed to open stream: No such file or directory in /home/smclt/domains/s-mc.lt/public_html/webauctionplus/config.php on line 44
Warning: require(.htdb.config.php) [function.require]: failed to open stream: No such file or directory in /home/smclt/domains/s-mc.lt/public_html/webauctionplus/config.php on line 44
Fatal error: require() [function.require]: Failed opening required '.htdb.config.php' (include_path='.:/usr/share/pear') in /home/smclt/domains/s-mc.lt/public_html/webauctionplus/config.php on line 44
-
View User Profile
-
Send Message
Posted May 9, 2012@baemboo
fixed, will be in the next update sometime today. just a minor mistake on my part. I'll test this before I release again.
-
View User Profile
-
Send Message
Posted May 9, 2012MySQL ERROR - File: /var/www/web67/html/webauctionplus/inc/classes/user.class.php Line: 153 Unknown column 'username' in 'where clause'
UPDATE `WA_Players` SET `money` = `money` + 1.92 WHERE `username`='Player' LIMIT 1
-
View User Profile
-
Send Message
Posted May 8, 2012@RogueCmdr
that's not easy to answer. once the current code gets stable, maybe I can up it from alpha to beta. with time, the hidden bugs will be found, reported, and fixed. with my plus version, before I add more features, I wanted to wipe much of the slate clean and rewrite most of the code. I believe this was required to fix the performance issues, and give a good structure to build future features on. we'll see how things go the next few days. maybe I can finish up a stable release.
-
View User Profile
-
Send Message
Posted May 8, 2012@lorenzo_p
how long do you think till you get a actually release like once your out of alpha cause i don't want to use this till i know its safe
-
View User Profile
-
Send Message
Posted May 8, 2012@watarimon
found the problem, was a quick fix. should work right in the next update.
-
View User Profile
-
Send Message
Posted May 8, 2012If I deposit bonemeal it shows up as ink sack in the auction. If i mail it and withdraw it shows as bonemeal ingame again.
-
View User Profile
-
Send Message
Posted May 8, 2012@watarimon
I see!! my building script didn't include that file. I actually dev php on an older windows machine and access files on a linux server, so I dunno why I'm using a bat file instead of a bash script.
so the db config file IS actually missing from the package. I'll get that fixed for the next update. until then, here's the file needed http://webauctionplus.com/_files/htdb.config.zip