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 Nov 7, 2012@Demonlover11
what are the null pointer exceptions you're getting? pastebin them to me or open a ticket so I can look into it. I've tested the plugin with 1.4.2 and it seems to work ok without any problems.
@DjBuRnOuTQc
are you referring to new potions in 1.4.2 or potions from previous versions? I believe I fixed all the previous potions, but the latest ones are the only items I haven't added yet.
-
View User Profile
-
Send Message
Posted Nov 6, 2012-
View User Profile
-
Send Message
Posted Nov 6, 2012Any ETAs on the potions IDs bug that shows as Unknown?
-
View User Profile
-
Send Message
Posted Nov 4, 2012@lorenzo_p
Thx.
-
View User Profile
-
Send Message
Posted Nov 3, 2012@MarioG1
request noted! I'll see if I can at least start on this, but I can't promise anything.
-
View User Profile
-
Send Message
Posted Nov 3, 2012Can you please enable the market prices on the website in the next update?
-
View User Profile
-
Send Message
Posted Nov 3, 2012@giacomo986
the webauctionplus website is only able to connect directly to the economy when using iconomy with mysql. other economies require the deposit/withdraw signs to add or withdraw money from the web auction account. this is something I would like to improve and add full support for any vault economy, but it's a bit tricky and I haven't started on it yet. for now, you can use the deposit/withdraw signs in the screenshot above.
-
View User Profile
-
Send Message
Posted Nov 3, 2012Hello all, i'm trying to use WebAuction+ with essential economy but WA economy doesn't merge with essential economy. Vault version 1.2.19 WebAuction+ version 1.1.7 Essential version Essentials-2.9.2
by default config they don't work together, what i'm missing?
-
View User Profile
-
Send Message
Posted Nov 2, 2012@ravand
how would you open your mailbox then? could use a command, but some servers don't want a virtual inventory available to their players like that. could make it an optional feature.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@ravand
yes and i will advertisse for your plugin ^^
-
View User Profile
-
Send Message
Posted Nov 2, 2012If you really can manage to get rid of the signs by making the plugin and webserver handle everything then this plugin will become a legend!
-
View User Profile
-
Send Message
Posted Nov 2, 2012-
View User Profile
-
Send Message
Posted Nov 1, 2012@Peda1996
yes, it is possible to create your own pages under /inc/pages , you can look at the other page files to see how they work. anything not inside a function will be run when the cms is loading. anything in the RenderPage_ function will be run when the page is ready to be generated, then the output is sent back to the cms at the end using return(...);
I do like the idea of a feature to allow for custom pages. anyone have comments on this? I could do like a /custompages folder with a file like rules.htm or rules.php and it would load that page.
yes, you can create your own website designs to run in web auction plus too. you can create a custom css file, or an entire theme with your own html.
-
View User Profile
-
Send Message
Posted Nov 1, 2012@lorenzo_p How can i add my own html pages, because i would like to create rules pages etc. for instance rules.php and so on.
In german if you can read that: Wie kann ich meine eigenen html pages hinzufügen, also so dass der header erhalten bleibt. Also z.b rules.php etc.
im not so good in understanding other codes sry..
One of the nicest plugins i had ever seen :) And, are i am allowed to create a other design for that software?
-
View User Profile
-
Send Message
Posted Nov 1, 2012@Demonlover11
I've actually already added the new items 3 days ago. my power just came back on today an hour before I had to leave for work. you can download the files I've changed/added from the repository http://code.google.com/p/webauctionplus/source/detail?r=287
I do see there is a new beta build out for bukkit. my test server is still complaining it can't keep up constantly, with no one on and no other load on the server. just bukkit hogging 70-80% cpu on one core. I haven't had time to look into it. anyone else have this same problem?
I haven't found any issues running the plugin on 1.4.2, so it should be fine to run the 1.1.7 version of the plugin. the only change needed is the added items which I linked to above. I plan to wait at least a few more days before releasing an update. I'm hoping the problem I mentioned above gets fixed soon. very few, if any, bug fixes in this next update, but there is a new admin control panel! it's far from finished, but there will be a few functional pages.
I've mentioned this before, but I'd like to give a quick update on this. someone reported a strange bug/exception with the mysql connection pool. I took a look at the code and decided to rewrite the whole thing. it works almost exactly the same, but hopefully written better. if you lose connection to mysql, it should handle it better and fully recover with just a /wa reload, however I would possibly like to have it automatically recover. I hope this class rewrite fixes whatever bug that person was having, and I'll continue improving it.
-
View User Profile
-
Send Message
Posted Oct 29, 2012Could this be updated for 1.4.2 new items?
-
View User Profile
-
Send Message
Posted Oct 28, 2012@colamonster091
only thing I can think of at the moment, check the file permissions. it sounds like the plugin is failing to read the config.yml file, and writes the defaults over top it. as if the file has write access but not read access.
-
View User Profile
-
Send Message
Posted Oct 28, 2012@xcanner
well, I've been working on a few things. not what you mentioned, but still good stuff. the other night someone reported an odd bug, so I wrote a whole new mysql connection pool class. I just got it working, and I'm very happy with it. it has better structure, which should improve how it functions. one test I just did, I stopped mysql while the plugin was still loaded. it threw an exception complaining about it, but all I did next was start mysql again and run "wa reload" from the console, and the plugin is fully functional again! that works nice.
connection.isValid() is what it used to use to check before returning a mysql connection to use in a query. I just noticed, that function sorta sends a ping to mysql. instead, if I use connection.isClosed() it only checks to see if the socket is still connected, which might shave a few more milliseconds off each query.
something else I've been working on that I haven't said anything about yet, the admin section of the website. the only page I've completed so far is the settings page. I think it turned out very well, and I think you'll love it too. all the settings from the WA_Settings table can now be changed right from the website. (only by players with wa.webadmin permission node or op)
not sure what I'll work on next from here. I would really like to get better vault support, but there are other features I'd really like too.
-
View User Profile
-
Send Message
Posted Oct 27, 2012I'm follwing the instructions given. When I try to type /wa reload it gives me an error. And I realize it's disabled in this current version. My question is how do I get around this feature to set this up on my server. If I understand correctly, the /wa reload is used to update the config.yml while the bukkit server is running. And that's not possible by editting the config.yml while the bukkit server is online because once I run my server again it will just reset the config.yml to it's default values. Also when I try to run the plugin, I can view the version with /wa version, but when I try to register a password it tells me the plugin is not installed. Some help would be appreciated. Thanks in Advance.
Colamonster091
-
View User Profile
-
Send Message
Posted Oct 27, 2012@lorenzo_p
What are you going to code next? Im really hoping for "bids on items" and "item wish list",- e.g. if you want to buy a item and its not on the webauction.
About the "offering website hosting",- go for it if you have the website anyway. Personally I wont use it, but im sure there is a small market!