WebAuction
WebAuction - Website based item market [1597]
Requires: An economy plugin (iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP)
Requires: Vault
Requires: Web server running PHP 5.2+
Download Latest .jar:
WebAuction.jar v0.6.4 - last change 20th Jan 2012
Download Latest Web Folder:
WebInterface.zip v0.6.4 - last change 22th Jan 2012
Download Latest Development .jar:
WebAuction.jar - last change 9th Feb 2012
Download Latest Development Web Folder:
WebInterface.zip - last change 9th Feb 2012
Development Server
If you want to see a demonstration of a working (mostly) development version of this plugin, I am currently running a small server with it (not 24/7). However the website is pretty sluggish because it is not hosted on the same server as minecraft, but it should still work.
- IP: twm.servegame.com
- Website: webauction.threewisemeh.com
Source (GitHub)
WebAuction (jar) - http://bit.ly/o8vpPq
WebInterface (web files) - http://bit.ly/nPubR1
Description
Ok, so I know there are loads of shop plugins that all do slightly different things. But because of the UI restrictions in game, I chose to make a shop plugin that links in with a website via a MySQL database to make trade easier, and even allow people to check on how their items are doing without being logged into the game. (mobile device?).
Basic idea is that admins (or players with right permissions etc) set up auction houses around the world. Players can then go there and deposit items, when they do this the items disappear from the world and get logged into the players online account. They they put money in the online account by clicking signs. Once this is done and they have set a password, they can log into the website and see all the auctions that are going on.
Using the money in the online account they can buy items, and they will be sent to the mailbox in game (a sign) and they can set up their own auctions for the items they have stored online.
One of the main features is that the website will look at all the sales and calculate a moving average for the market price of that item. Which should help players when setting a price, or buyers to see if they are getting a good deal.
Notes:
- Just added a how to edit section for info and new designs to help change the look of the website
- Works best with iConomy stored in the same MySQL database as the WebAuction tables (direct money link from game to website)
Features:
- Only members of your server can get an account
- Change password from in game
- Deposit items to be sold by right-clicking a mailbox deposit sign while holding it
- Change online balance with signs
- Get items from a sign mail box
- Moving average market price calculations
- Can link directly to the iConomy database
Overview Video:
NEW VIDEO :D
Screenshots:
will take more soon, when we have spent a while using it so that the market prices are properly calculated.

Setup:
Basics:
- Download the WebAuction.zip and extract it
- Put the WebAuction.jar in the plugins folder on your minecraft server
- Put the WebAuctionInterface folder (you can rename) on your website
- Restart server
- Look in plugins/WebAuction to find the config file add your MySQL database details
- In the interface folders on website, find the scripts/config.php file and add MySQL details again
- Be careful with mysql passwords, special characters such as {}[]() may cause the file to be incorrectly read by the yml parser.
- Make everyone create a password, make sure its different to ones they use elsewhere etc.
- Make a sign for the withdraw mail box (see screenshot) First list: "[WebAuction]" Second line: "MailBox"
- Make a sign for the deposit mail box (see screenshot) First list: "[WebAuction]" Second line: "MailBox" Third line: "Deposit"
- If you have iConomy data stored in the same database as the WebAuction data, use the web config file to point to the right table, and ignore the stuff about withdraw and deposit signs.
- Make some withdraw and deposit signs for money (again in screenshot) First line "[WebAuction]" Second: "Withdraw" or "Deposit" Third: the amount of money, or for the withdraw sign you can put "All" on the third line
- You can also make recent auction signs, to show a live feed of the new auctions: First line "[WebAuction]" Second: "Recent" Third: a number for the offset, so for the most recent auction put "1", second most recent "2" etc.
- Log into the website and start selling
Important Signs
Mailbox:
Used to deposit items and withdraw items that are in your mail
Line 1: [WebAuction] Line 2: MailBox Line 3: Withdraw (not actually needed but makes it neater with the other deposit sign :P)
Line 1: [WebAuction] Line 2: MailBox Line 3: Deposit
Deposit Money:
Used to send money to the website to be used on the WebAuction (not needed if using iconomy databases) Line 3 can be any number (100, 0.01, 55.7 etc.)
Line 1: [WebAuction] Line 2: Deposit Line 3: 100
Withdraw Money:
Used to get money from the website to be used on the WebAuction (not needed if using iconomy databases) Line 3 can be any number (100, 0.01, 55.7 etc.) Line 3 can also be "All".
Line 1: [WebAuction] Line 2: Withdraw Line 3: All
Recent Auction Feed
Used to see recent auctions people have made, you can set up as many signs as you want each looking for subsequent auctions. For example in your auction house you could have one sign to show each of the five most recent auctions. For line 3 enter the number for the offset from the most recent auction ("1" for the most recent, "2" for the second most recent... etc.)
These signs will update automatically when new auctions are made, and will display the item name, the quantity and the price.
Line 1: [WebAuction] Line 2: Recent Line 3: 1
There is now also another way of displaying recent auctions. If you have the SignLink plugin on your server you can display values about the auctions however you like on signs using various bits of data as variables. So far I have just got:
- Auction Name (%WAName1%)
- Auction Price (%WAPrice1%)
- Auction Quantity (%WAQuant1%)
Where you can change the number (1) for any other in the same way as in the previous auction signs, except I think 0 is actually the most recent auction.
I will soon be adding other information such as the sellers name and maybe the market price etc.
New Auction Shouting
A sign that is given a radius, when a new auction is created it will shout in it's radius about it to anyone nearby, line 3 is the radius in blocks.
Line 1: [WebAuction] Line 2: Shout Line 3: 10
Twitter feed
If you want to send information of new auctions and sales to a twitter account. Open up the config.php file (in the scripts folder).
Go to: https:dev.twitter.com/apps/new Input all your information. It doesnt really matter what you put for the name and things on the first page. (and you don't need to add anything for the callback)
When you have created your new app, open the settings tab, and set the application type access to "read and write". Save everything. Go back to main app info page. On that page should be the consumer key and consumer secret. Add these two values to the config file.
Near the bottom of the page is a button that says "create access token", makes sure you have set the permissions to read and write then click this button and copy the two values it gives you into the config folder.
Done (hopefully)
More Setup Information
To get more info on how to set up the plugin, along with common problems, take a look at the How to Install page
Changing the Design
To see how to change the design, or select one someone else has made: How to Edit
Commands:
- /wa password [pass] (sets your password)
Permissions:
- wa.use.withdraw.items (use mail box)
- wa.use.withdraw.money (use withdraw sign)
- wa.use.deposit.items (use deposit sign)
- wa.use.deposit.money (use deposit sign)
- wa.canbuy (can buy from auction)
- wa.cansell (can sell to the auction)
- wa.create.sign.deposit (create deposit sign)
- wa.create.sign.withdraw (create withdraw sign)
- wa.create.sign.mailbox.withdraw (create mailbox sign)
- wa.create.sign.mailbox.deposit (create mailbox 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)
Donations:
Hope you guys like the plugin, keep telling me things you think would be cool to add and I will do my best. And a donation is always nice :P

-
View User Profile
-
Send Message
Posted Nov 26, 2011NEW UPDATE FOR MINECRAFT 1.0
Sorry for shouting :P
Version 0.5 should work with all upcoming bukkit builds for minecraft 1.0.
Removed spout dependency for now, as I was only using one feature from it, and it is a pain for larger servers to have to run spout just for that.
Removed the use of chests for item depositing :( as that was only usable due to spout, but added in a deposit sign so you just have to right-click the sign with the item stack to store it.
Added in all the new items for 1.0 including all the potions (damn there are a lot of them). However not found a way to get the enchantment data of an item, so selling/storing anything enchanted will remove the enchantment.
-
View User Profile
-
Send Message
Posted Nov 26, 2011With the deposit Sign's have the permissions changed? and just to double check this no longer requires spout?
Thx
Sayomie
-
View User Profile
-
Send Message
Posted Nov 26, 2011@BioRage
Looks like something about the shout signs. Saying that it cant find any auctions.
You changed anything before this error happened?
-
View User Profile
-
Send Message
Posted Nov 26, 2011@Exote
Bleh =[
http://pastebin.com/ErWAi4TQ
-
View User Profile
-
Send Message
Posted Nov 26, 2011@MrTran
Download using the link at the top of this page, not the one hosted on this site. The one I linked to is straight from the github page.
What is wrong with that date/time? it is saying that auction will expire in 10 days.
-
View User Profile
-
Send Message
Posted Nov 26, 2011I have two problems.
1. This happens when I try to cancel one of my auctions: "Parse error: syntax error, unexpected ')' in /home/eternit2/public_html/mrtran/WebInterface/scripts/cancelAuction.php on line 39" Is there any way I can fix that so I can cancel the items I auction?
2. I uploaded an item not to long ago, and on the home menu, it says that item will expire "06/12/2011 05:48:28. Is there any way I can fix it to the correct date?
Thank you. Great plug-in by the way, just the type of plug-in I was looking for to create a market / economy on my server. :)
-
View User Profile
-
Send Message
Posted Nov 25, 2011Good to hear from you! Well as long as I can enter my own custom ids for items via spoutmaterials im good to go ;)
Big thanks for this plugin :)
-
View User Profile
-
Send Message
Posted Nov 24, 2011@qazzi
Been thinking about it a bit more, and the plugin can check if spout is installed, and if it isn't I can just disable the chests.
I was thinking about setting up another method for depositing items, much like the mail box sign I could make a sign which you right-click with an item stack to deposit it. Clearly this option can be used along side the chests if the server does have spout but wants to use both methods.
Using signs, although less intuitive would reduce complications of not allowing other people to use a chest that someone is already using.
Either way, I will try implement something so spout is optional for the next build, but I would like to do this after the new 1.0 bukkit api has been released so I can also include the enchants and things. :)
-
View User Profile
-
Send Message
Posted Nov 23, 2011Exote, if you could put an option that perhaps has that in the code ie.
autochestdetection: False -no spout
or how about a sign that players click on to "deposit" their items after they are in the chest. One extra step a player has to do is way better than enabling spout.
that would be awesome. I rather retrain my players on a simi-weird way to do it, then have to go back to setting up signs for players to sell stuff..
I know im asking alot.. either way I appreciate the time that you put into this plugin and to answer my question. thanks again!
-
View User Profile
-
Send Message
Posted Nov 23, 2011Sorry been pretty quiet recently, working on a proper minecraft 1.0 build, loads of new items etc to add in. Not to mention trying to record enchantments properly...
@sourcemaker
Cheers for noticing that, always forget a few blocks with all the new updates :P
@qazzi
I too would really like to stop having to rely on spout, however I cant find a better way to handle chest close events, as on chest close the plugin sends the data to the database, deletes items from the chest and unlocks the chest. Bukkit currently (to my knowledge) has no event that fires when a chest opens or closes. Opening them is easy to track by just checking to see if the user right clicks one of the chests we are monitoring, however closing is more difficult because you can close it in a bunch of ways.
However spout is nice enough to have an easy event that I can set a listener to, so I can chest each chest close event to see if it was a deposit chest. This is actually the only thing I am using spout for, so it really seems like a waste.
The only other thought I had was checking how far away from the chest a player had moved, so if they are more than 5 blocks away then we can assume they closed the chest. This would mean I could get rid of spout, but it just seems like a rather "hacky" way of doing it...
@SirMonsterSlayer
If I have time I will have a look through some of the more popular mods and try add the blocks in, however as BioRage said, it should be possible to add them in yourself via the iteminfo.php page. I will have a look how many conflicts there are with popular mods to see if any mods use the same item ids as each other, if they don't I will spend a boring evening plugging in the other items... woop.
-
View User Profile
-
Send Message
Posted Nov 23, 2011@BioRage
Website and bukkit sides are connected to db. Spout instilled. I tried before posting delete db, they are create new, but problem are still alive... May be I am idiot, but what is econome db? I hope it's iConomy
-
View User Profile
-
Send Message
Posted Nov 22, 2011@SirMonsterSlayer
Theoretically they should work, check the items.php I think, or wherever the items are kept.
-
View User Profile
-
Send Message
Posted Nov 22, 2011@1101001
Yes, look at the main post, there's a tutorial on how to change it.
Keep the credits for Exote, however.
@saskiuhia
Are you connecting it to your economy db, or no?
Try deleting your DB and trying again?
-
View User Profile
-
Send Message
Posted Nov 22, 2011Hi, all! I have a big problem. In MySQL database only WA_Players, WA_ProtectedLocations and WA_StorageCheck are have something. Other tables are NULL! WebInterface work good, but "Loading..." in main and "No data available in table" in all other pages. Please help!
-
View User Profile
-
Send Message
Posted Nov 21, 2011@sourcemaker
Thank you :)
-
View User Profile
-
Send Message
Posted Nov 21, 2011Would i be allowed to change the looks of the auction site?
I will keep the attribution.. ect..
-
View User Profile
-
Send Message
Posted Nov 21, 2011Hi guys,
@imaxorz
if someone else has the "problem" with stone bricks (ID 98), just edit your /scripts/itemInfo.php, search for "case 98:" and replace all between "case 98" and "case 99" with those lines of code:
That's all :-)
-
View User Profile
-
Send Message
Posted Nov 20, 2011just FYI, I was one of your first large servers to run webauction and loved it. However, I've had to migrate onto something else to get away from SPOUT. Great plugin, just cant afford to have spout in the mix, way to buggy, way to much overhead.
If you ever remove the dependency I'll be sure to come back. ;)
-
View User Profile
-
Send Message
Posted Nov 20, 2011Could you add support for custom blocks ? =)
Oh and hopefully it works soon again, waiting for spout :D
-
View User Profile
-
Send Message
Posted Nov 20, 2011@imaxorz
1: Sorry to bother you again, but what about stuff in the "Mail Box" does that get charged a storage fee? Users can just use that to store items. It's more of a hassle to do it that way, but possible if you don't use the WebAuctions very often.
Maybe something that epmties your "Mail Box" into "My Items" after so much time since the last items has been sent?
2: What happens when the user has 0 money left in their account and they have to pay storage fees? Does their account go into negative balance?
3: On the "Transaction Log" page sorting by "Time" isn't working for "My Items Biught" And sorting for "My Items Sold" seems to be completely broken.
4: I was told the plugin can't tell the difference between cracked, mossy and smooth stone brick. They all show up as smooth stone brick in the web interface.