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 Sep 9, 2012@lorenzo_p:
i'm sorry but i'm not an ajax programmer :/ so i can't help you with the web gui.
greetings MatthiasS1
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Demonlover11
http://dev.bukkit.org/server-mods/webauctionplus/tickets/4-same-items-wont-stack/ I posted a reply to this ticket explaining the problem, and possible solutions.
-
View User Profile
-
Send Message
Posted Sep 8, 2012I see that you can only sell items in max stacked form, is their a way everything of the same item in your inventory on the website can stack up? So I can sell 500 Stone instead of doing it stack by stack by stack?
-
View User Profile
-
Send Message
Posted Sep 7, 2012@MatthiasS1
that is a good idea. something similar has been requested before, and I haven't forgotten about it. if anyone knows how to do this with jquery, maybe you can help me get it done. problem is, how do I add that tab filter data to the ajax request that gets sent to the server? and how do you force it to update the list with a new ajax request when a tab is clicked on?
-
View User Profile
-
Send Message
Posted Sep 7, 2012@lorenzo_p:
Ohh i see ;) Yes, i think that would be a really cool feature to have Multilanguage support. :D I have a question too. Can you programm it so that you have different tabs to filter out some blocks, like in the creative menu. One tab for building blocks, one for weapons etc... Cause if there are too many items it takes some time to find stuff you need ;)
greetings MatthiasS1
-
View User Profile
-
Send Message
Posted Sep 6, 2012@Demonlover11
the notices to tell you when you sell something, I've already gotten that working again in one of my recent updates. I plan to upload it on dev bukkit sometime very soon. possibly this weekend.
yes, if the iConomy table is in the same database as web auction, it will automatically detect it by default. you can change that setting in config.php
-
View User Profile
-
Send Message
Posted Sep 6, 2012I have a suggestion. The ability to have Web Auction Plus sends you a in-game message Saying, "You have just sold xamount for xamount" Like it sends you a mail message via threw essentials or something. So when the player logs on it's like you have mail! and it's what they sold and such. but if I make my Economy plugin run threw MySQL and have the tables name iConomy they will be automatically used by Web auction so I don't have to differ back and froth between withdrawing and depositing?
-
View User Profile
-
Send Message
Posted Sep 6, 2012@MatthiasS1
ah, my fault for committing something I didn't mean to. I was experimenting with a way to possibly make all the item names multi-language. it will default to english if there isn't an entry for your language for an item. anyway, here's the code I thought about using and got committed by mistake:
1=>array( 'name'=>array( 'en'=>'Stone', 'de'=>'Stein'), 'icon'=>'Stone.png'),
what do you think? should I add that feature?
-
View User Profile
-
Send Message
Posted Sep 6, 2012@jwpwns
WebAuction 1.1.5 Alpha
-
View User Profile
-
Send Message
Posted Sep 6, 2012is there a updated version of this somewhere?
-
View User Profile
-
Send Message
Posted Sep 6, 2012Hey ;) There is a bug i think with the item description of smooth stone, it shows the word 'Array' and not 'stone'. Picture here
greetings MatthiasS1
-
View User Profile
-
Send Message
Posted Sep 6, 2012a better method will be used in the future, supporting all vault economy systems.
will this happen soon or do you plan to add this next month or later
-
View User Profile
-
Send Message
Posted Sep 5, 2012@frongfring
yes. if the table is called iConomy, the plugin will automatically detect it. if it's called something different, you can change it in the config.php file. it currently only works if the table is in the same database as the web auction tables, and don't plan to support separate database configs for it because a better method will be used in the future, supporting all vault economy systems.
-
View User Profile
-
Send Message
Posted Sep 5, 2012I use MySQL for iConomy. Is there anyway this can hook directly into the DB instead of having to use deposits?
-
View User Profile
-
Send Message
Posted Sep 5, 2012@lorenzo_p
please reply to my PM i really need to clearify this
-
View User Profile
-
Send Message
Posted Sep 5, 2012Nice!
I have been editing the main.css footer.php and header.php manually until now, but it would be great to be able to quickly change the theme on the fly.
Regarding the face render issue, after following your advice to install the gd libraries,
on my ubuntu server 12.04, all is working fine now! Thank you.
Well in my opinion it is a good idea to link to donator sites, for demonstration purposes, but honestly, i don't think this will or has given the sites any advantages, because if you think about it, mostly administrators and not potential players are hanging out in this forums.. ;) But it definitely would not hurt anyone..
Please keep the excellent work up!
Greetings, snitride
-
View User Profile
-
Send Message
Posted Sep 5, 2012@snitride
yea, that's something I feared. maybe you can find an error log on your server someplace? usually whatever control panel the web server has should show something. also, you can make sure you have gd2 installed for php. most servers have it already.
most of the changes you'd probably like to make can be done just by customizing the main.css file. it would be a good idea to have other themes included, but that's something I'm staying away from for now, because there are still changes being made to those files. the extra themes tend to fall behind with updates. however, if it's only a custom css file, that would be much easier to keep up to date. ok, I give in. it's added to my todo list for the next update. I'll see what I can do.
bankcraft, I'll have to give a try. I haven't used it before. source code is available, so I could possibly figure out how to get web auction plus working with it. I may even contribute some code to that plugin. one thing I've been wanting to do, in real life, your bank account has a website you can log into to see your bank statement and balance. web auction already has so much of what would be needed, so it may make a great foundation to add a banking feature to it. the problem I ran into before starting any code, economy systems don't do any transaction logging. anyway, at the moment, I'm thinking I could possibly add a bankcraft page to web auction's website.
one thing I like about bankcraft, they have a wall of fame at the bottom of the page. they thank people who have made donations and link to their server. like that idea?
-
View User Profile
-
Send Message
Posted Sep 5, 2012Hi there,
following problem has occurred since i updated to 1.5alpha, all faces are not rendered anymore, have a look here: homepage wondering if it maybe is some kind of permission problem on my apache server, the whole thing was working before, so i doubt it..
Also, would it be possible to implement a few new themes, maybe even selectable in the config.php, like lets say simple theme, fancy theme, black&white or minimalistic theme?
And at last, would it be possible to make your plugin compatible with bankcraft so it also calculates the money stored in its sql database and player can debit money directly from there bank-accounts similar to the already build in iconomy database function?
That would be great, thanks in advance,
snitride
-
View User Profile
-
Send Message
Posted Sep 5, 2012@lorenzo_p
Thx for the info and the update. (The page loads much faster now !)
I have also a small suggestion for the face rendering you should also render the "hair" on the small face pictures in the seller row. And change the icon for mob spawners please they have an white background.
-
View User Profile
-
Send Message
Posted Sep 4, 2012@MarioG1
sorting on the current auctions page should be working better now. it's handled by mysql rather than by javascript. the search box I haven't implemented yet, but it shouldn't be more than 5 lines of code to finish it up. there's an item title field in the database now, that wasn't filled in prior to 1.1.4, so older auctions created before that version probably wont sort proper or be searchable. it shouldn't be a problem once the auction expire code is added. the older ones will eventually expire and new ones will be created and everything will be good. I could possibly write a script to populate that item title field for any auctions that are missing it, but not sure if it's worth the effort. not that I'm to lazy to do it, it's just, I could put the time and effort into something else instead. like auction expiring or bidding.
besides the ajax on the current auctions page, the other big change to this latest version is the skins are now rendered right on your web server, rather than using minotar.
one of the next big things I'd like to work on is better support for economy systems other than iConomy. I have a plan for it in my head, but I haven't been able to picture solutions for every possible issue I can think of. it does need to be reliable and precise, but also run as few queries as possible. I'm thinking about updating the balance for every player to the WA_Players table and use that to be sure the player has enough money to buy something. then, it'll need a new table to post payment actions from the website to the bukkit plugin. the plugin will have a scheduled task which will preform any payment actions from that table then remove them and update the WA_Players table, as well as the economy itself. there are a few issues that will have to be resolved one way or another. I'm open to feedback on this idea.