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 Jan 4, 2012@erdrickk
Thing is the existing system allows people to buy part of the stack straight away. This wouldn't work with the auctions.
Therefore I think you would have to choose whether this is an auction or a straight sale when you put the stack up for sale.
This would mean I would have to pretty much duplicate the whole system, mysales page as well as my auctions and a new page to view current auctions along side the page to view the sales. This is definitely starting to clutter things up a bit.
It is worth thinking about how much the auction side of things would be used. People often don't want to wait for an auction to expire to get (or to lose out at the last minute) materials that they want to be using now.
Taking the main examples in game auction houses being WoW and more recently SWTOR, I cannot remember the last time I saw an auction actually complete via bids rather than with buy now, and auctions with no buy now rarely sell at all. And SWTOR which took a lot of it's play style from WoW, doesn't even have a bid function at all.
I am not saying bids wont be used at all, but often in games like this people want their stuff now. Other auction plugins normally hold an auction over a minute or so rather than days, which gets around this problem, but it is harder for people to notice auctions when they have to log into a website.
As a new addition to the plugin which will both take a lot of work and may make things more confusing to use (more things to go wrong). It is worth considering if it is necessary in the long run.
-
View User Profile
-
Send Message
Posted Jan 4, 2012@ Exote
Ok - how about this.
1) You have 64 stone for example in your "my items"
2) You go to create a new auction. You have a form that allows you to select how many stone of that 64 you want to auction - lets say we pick 32
3) Then you have another form where you set the price - this would only be for the entire stack of 32
4) Then you have yet another form where you set the Minimum bid start price - lets say we do $200 and then a time limit form - lets say 24 hours
Then once it is created - people are bidding only on the entire stack (32) of the stone starting at $200 and have a time limit of 24 hours
I imagine there would be a box by the main auction to place a bid and beside that maybe a column that shows the latest bidder
At the end of the 24 hours the stack of 32 stone goes to the highest bidder
easy peasy
Also - for more options you could have a buy out link. Basically the creator of the auction not only sets a starting price but can set a buy out price as well. Once a user clicks that buyout link, he pays the money and instantly wins the auction
-
View User Profile
-
Send Message
Posted Jan 4, 2012@AndrewsPanda
No function for doing this yet, but a good idea for future.
-
View User Profile
-
Send Message
Posted Jan 4, 2012@currypan
Not sure what you are trying to say.
@erdrickk
Been working on auctions this morning, however I can see a few problems integrating it into the existing system.
I mean it is fine creating new auctions, just have a new field for starting bid. However when people see the auction (say 100 stone selling for $2 each), what are they bidding on? The whole stack? Each item?
If they are bidding on the whole stack, what would happen if someone comes along and buys 10 of those stone using the buy now function? Assuming the bidder still happy to only receive 90 stone, how would the price be changed to reflect the change in the number of items available? Does that mean the bid you submit on the auction have to be per item? If so how would the total price be properly communicated with the bidder before they submit the bid (for those of us who are crap and mental maths :P)
On the other hand if you are bidding per item (I bid $20 for 10 stone) how would you weigh that against other bids? If someone else bid $30 for 20 stone, who would win and how much? Would they both get their stone because there is enough available for both to win? Or is that unfair on the seller who would have lost out due to no one competing to bid higher?
As you can see this matter is slightly confusing as to how it should work so it integrates nicely with the existing system. This is open for suggestions of course. :)
-
View User Profile
-
Send Message
Posted Jan 4, 2012@erdrickk
I only just asked that question myself. There is no option to do that at the moment. However it may be added in the future.
-
View User Profile
-
Send Message
Posted Jan 4, 2012Exote:
Is it possible to block individual items from being sold on WebAuction. For example I am over having hundreds of listings for beds :p
-
View User Profile
-
Send Message
Posted Jan 4, 2012The stack of Cobblestone and Wood cannot be carried out. It will be repaired if it does what?
-
View User Profile
-
Send Message
Posted Jan 4, 2012@ledhead900
Strange error, I sounds like the block it thinks a sign is on no longer exists, but not in the sense that the sign isn't there any more, but like that location hasn't been generated.
My advice would be to remove all recent auction signs, then check the database to see if the WA_RecentSigns table is also empty. Then try making some signs again.
-
View User Profile
-
Send Message
Posted Jan 3, 2012Love this plugin, very easy to setup! thankyou
quick question - is there a way to make it more like an actual auction house where people can put up items for a certain amount of time and have people bid on it? then at the end of the time the highest bidder takes the item?
-
View User Profile
-
Send Message
Posted Jan 3, 2012@Exote
Nice work :) will send some donations your way soon.
Edit Tested Still doing this error on startup though.
Appears to be Sign Task Related - I do have signs running on a world likely this cause of that error.
-
View User Profile
-
Send Message
Posted Jan 3, 2012Yay Exote!
-
View User Profile
-
Send Message
Posted Jan 3, 2012Quite a few fixes now in v0.6.4 along with infinite stacks and a few other admin things.
@ledhead900
fixed
@pocketkings719
mail is taxed already, and I don't see the problem with a player having negative money if they were not able to pay the fees they are now in debt :P
@khobbits
Cheers for the pointer for JSON bundles. Included in this version.
-
View User Profile
-
Send Message
Posted Jan 3, 2012@Exote
I see...
SideNote Latest 6.3 issues me this sql error, tho the database has not changed since prev versions so I have no idea why it would throw the error.
-
View User Profile
-
Send Message
Posted Jan 2, 2012I've got everything setup, as far as I know, but the start up process for the server hangs at [INFO] [WebAuction] MySQL Initializing.
After that, no one can log into the server, and it's not exactly frozen, as other plugins start saying things like "mcbans has gone offline" as there's been no activity from the rest of the server.
Any suggestions? I waited 20 minutes, to no avail.
-Caid.
-
View User Profile
-
Send Message
Posted Jan 2, 2012Using the market, a user has managed to go into negative balance? I assume this is from the storage fee. Anyway to fix this? Also is it possible to set it up so a player's mail can be taxed like 'My Items' or even removed after a certain period of time? I think I read you plan on adding unlimited items for admins and how about no expiration for admins? I can facilitate this by editing the sql but what a pain...
Thank you!
-
View User Profile
-
Send Message
Posted Jan 1, 2012@caidcurse All decent minecraft hosts, allow you to host a website, the ones that give you ssh/putty/winscp access.
Hosting from home is easy, look into xamp or wamp.
@Gnintendo The webserver isn't running through the plugin, so has no access to vault. IF iConomy is installed as mysql, webauction accesses the mysql balances, not the plugin (i think).
@Exote: You could look into providing a json api through your plugin, or using the jsonapi plugin to access that data.
-
View User Profile
-
Send Message
Posted Jan 1, 2012You can't access economies other than iConomy directly? Can't you do that through Vault?
It'd be cool if you could support BOSEconomy directly so users wouldn't have to mess with withdrawel and depositing of money.
-
View User Profile
-
Send Message
Posted Jan 1, 2012@ledhead900
Yeah, having a bit of down time with development at the moment, what with the Christmas happenings and with exams looming in a couple of weeks.
There have been loads of things mentioned that I need to fix, so if there is anyone that can see a problem and fix it, feel free to mess around with github and send me some pull requests.
@AndrewsPanda
Not fixed I wouldn't say, but the multithreading is now turned off by default. Will continue to work on that when I find time. :)
Proper auctions will happen quite soon, considering I already have expiry dates on things adding a few more columns into the auction table with things like highest bid and who that bidder is wouldn't be to hard. Will just have to sort out the layout a bit more.
@shadoom23
Yeah potions annoy the crap out of me, I can't find a standardised list of them, and the numbering makes no sense, all I can say is people should send a little pull request via the github with any changes.
@caidcurse
Very unlikely I will ever get around to doing this, the dynmap team specialise in networking, I don't :P.
If anyone can give me a hint or two on where to start with this I may consider it. But as it stands it is not high on my list of things this plugin needs.
-
View User Profile
-
Send Message
Posted Jan 1, 2012I think this idea may have come up before. So I will just post it to see where its at.
Have you considered adding an option to selling the items the same way eBay does. You can list the item as "Buy it now" or you can auction it for x amount of time. The item would go to the highest bidder at the end of the time period.
Thanks Andrew
-
View User Profile
-
Send Message
Posted Jan 1, 2012there still seems to be an issue with potions
if i spawn 373:8200 Weakness Potion (1:30)
it works perfectly fine in the shop
If i use a legit Weakness Potion with 1:30 it says Clear Potion in the shop