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 13, 2012thank you ill try this and report back
-
View User Profile
-
Send Message
Posted May 13, 2012@modtv1337
do you have any tables in the database? have any exceptions the first time the plugin loaded? currently, it only checks if the other tables exist if it can't find the Auctions table. if it's a fresh install, you could try deleting all the WA_ tables and load the plugin again, see if it creates all the tables, or gives any exceptions.
-
View User Profile
-
Send Message
Posted May 13, 2012the server wont load the proper database needed im using wamp server to host my msql server
here is the error i get http://pastebin.com/Q7WcvPBC
-
View User Profile
-
Send Message
Posted May 13, 2012@SparvCraft
yea, I should have the negative balance thing fixed in the next update, and I think I've fixed every bug that has been reported so far. it's going well, but there still may be bugs in it.
here are the language files. let me know if you have any fixes for it, or would like to add special characters. http://code.google.com/p/webauctionplus/source/browse/trunk#trunk%2Fjava%2Fsrc%2Flanguages special characters are in the format of \u00xx and here's the list of what xx can be http://en.wikipedia.org/wiki/List_of_Unicode_characters you can look at the sv.yml file to see an example of how it's done.
-
View User Profile
-
Send Message
Posted May 13, 2012@Wenish I really dont think you should put this on a live server even if that was fixed. Its way to unstable and there is some nasty little bugs in there. Please let lorenzo_p fix them before you let it go live and get disappointed afterwards.
Dont want to sound mean to you lorenzo_p by saying there is some bugs, just wanted to transfer you earlier message about this not being ready for a live server yet :)
-
View User Profile
-
Send Message
Posted May 13, 2012Pleas make that you can't have debt. I must have this :D and thx for the update
-
View User Profile
-
Send Message
Posted May 13, 2012@pocketkings719
I have a feeling it didn't set "Language" to the default "en" in the Settings table. the error you were getting is a line that's supposed to protect against the set language from being blank, but seems it was failing. I fixed that and will be working better in the next update, but I'm still wondering why the set language was null to begin with. if anyone else has this issue, I can send you a new copy of the jar with this fix.
@Karkalosz
I think I get what you mean. when the player uses the /register command to join your server, you'd like it to create a web auction plus account at the same time. I don't see an api for it in authme (not that I know what I'm even looking for) but if the author wants to work with me to make this possible, I'd be happy to.
-
View User Profile
-
Send Message
Posted May 13, 2012I just updated to 1.0.5: Server Log Any ideas?
-
View User Profile
-
Send Message
Posted May 13, 2012@lorenzo_p
Its for to register, and login, to can write and move.
-
View User Profile
-
Send Message
Posted May 12, 2012@everycraft
if the SaleAlerts table isn't being created when the plugin loads for the first time, then there should be some kind of exceptions displayed in console. it's hard to know what the problem might be without seeing what's in console.
currently, I'm only doing a check for 1 or 2 tables to see if tables need to be created or updated. the original used to do a check for each table and create it if needed. it loads a little faster the way I'm doing it now, but if there's a good reason to, I could change it back to checking for each table every time the plugin loads. there really shouldn't be a problem leaving it check only one. like I said, there should be exceptions if there is a problem.
something appears null? could you give me more information? it's possible there's an issue with the multi-language code I just added, but it seems to be working fine for me. I think what's happening is, when you're in creative mode and try to use the deposit mailbox, you should see a no cheating message. it's hard to tell what your issues could be without more information, or seeing it first hand.
btw, regina spektor concert tonight was.. awesome!! :-D
-
View User Profile
-
Send Message
Posted May 12, 2012ok than, i find that i'm in creative mode when i use it. it alright when i change back the gamemode but why it always appear null when i check on the mailbox sign?
-
View User Profile
-
Send Message
Posted May 12, 2012hey, after i install all of it i find that there are a missing table "wa_salealerts" in the data base i have try to reinstall it but not work at all how can i fix the problem, or may be i create it myself? the MailBox totally not work, always appear null when i try to use it but the money deposit and withdraw is alright please help me :(
-
View User Profile
-
Send Message
Posted May 12, 2012Thought I could be nice and translated this into Swedish for ya :) I will send it in a pm to you!
-
View User Profile
-
Send Message
Posted May 12, 2012@lorenzo_p
So do you have any idea how to fix it? It only says 'MySQL Error:' On the whole page. Nothing else at all
EDIT: Never mind. I fixed it. It was a problem with my web host.
-
View User Profile
-
Send Message
Posted May 12, 2012It Works!
-
View User Profile
-
Send Message
Posted May 12, 2012here's the next update. I think I fixed mailing items this time. turns out the code that was giving the error was a redundant check anyway, so I commented it out until I finish adding admin permissions for that. http://dev.bukkit.org/server-mods/webauctionplus/files/5-web-auction-plus-1-0-5/
the next update, I'll fix that issue with negative balances and still being able to buy things. I think we're close to being ready for live servers, but I'd still like to add back in the transaction logs. I think that'd be important to have.
@zmanofdoomwaffle
does it give a line number or anything?
@rakion99
I'm not sure if/how yml supports special characters like that. someone sent me a translation file already, how does this look? http://dl.dropbox.com/u/50993816/es.yml
-
View User Profile
-
Send Message
Posted May 12, 2012Hello, Im getting this message everytime I go to my webauctionwebsite 'MySQL Error:' thats it. No text explaining what happened. Is this normal?
-
View User Profile
-
Send Message
Posted May 12, 2012@lorenzo_p
i can translate for spanish but password is contraseña but if i use ñ can have some errors, i can replace password for key = clave, i wanted to know if they agree, im using translator not for all on this coment xD
-
View User Profile
-
Send Message
Posted May 12, 2012if anyone would like to start translating this plugin to other languages, here is the english file http://webauctionplus.googlecode.com/svn/trunk/java/src/languages/en.yml
just send me your finished copy in a pm, or pm me for an email address to send it to. this file is only for the plugin itself. the web interface doesn't yet have multi-language support. someone's working on portuguese already, thank you lastkiller :-)
the way the language code works, I'll include the translations right in the jar, and when the language loads for the first time, it will create the yml file in plugins\WebAuctionPlus\languages . you can also drop in your own language files, or make changes to them, and your custom messages will load when the plugin loads.
I'm still working on that mail items bug. I may not have time to finish this update today, but I'll try. regina spektor concert tonight in philly!
-
View User Profile
-
Send Message
Posted May 12, 2012@Karkalosz
I read the authme page once before, but I'm still not sure what it does or what it's for.
@SySOpPL
a quick google search of the error your getting, it said to match the hostname in your config with the bind address in my.cnf so if your database is on the same server, try using localhost or 127.0.0.1, if that doesn't work, might have to contact your provider.
@axi92
this error looks like the database either hasn't been created yet, or hasn't been updated. when the plugin loads for the first time, it should handle this.