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 Dec 5, 2011Thanks for the support guys I was hoping others would like the idea as well as it is the only real feature missing from being a fully fledged trade plugin that wont need any other plugins to back it up.
I also have this Tutorial for it I made it for our server but I think it could be useful. http://www.youtube.com/watch?feature=player_embedded&v=w_13IYsezzo
-
View User Profile
-
Send Message
Posted Dec 5, 2011i really like the idea of ledhead900. 2 posts down
we have an econmy file that i created for our server, basicly works out the cost of every item use thier materials and a couple of base prices, we then have the maxshop (server shop) and it adds 150% to an items base price to sell and buys back at 20% (to encourage players to make thier own shops)
well ...we have a shop thats wall to wall signs to sell this...if it were possible for an admin to add stuff to the web auction at a fixed price where the money from the sale goes to silicon hevean that would be truely awsome!
-
View User Profile
-
Send Message
Posted Dec 5, 2011@ledhead900
Like this idea and would also like to add the same ideal but with Selling. Would be nice to supply the economy with a certain Item that would be bought for a set price. Example if a player deposits a diamond and goes in the website he can choose to auto sell for a certain price or do his/her own auction price.
-
View User Profile
-
Send Message
Posted Dec 5, 2011@Exote
I have a suggestion, would it be possible for admin or even in config to setup a list of items that stay on the webauction for ever, like a infinite supply of items. This way admins can setup a sort of quick buy listings. where items can be bought at market price don't expire and so on and are unlimited.
This makes like a kind of vendor for the auction house. As people may not post rare items but us admins then could supply items both not obtainable or hard to come by so that they may be brought out right at a fee that would likely be more than market price of user sold item.
There could be a sale price but it fluctuates based feedback from the users market value. Like when a market value gets established for the item it could apply a % on top of that at all times anyway it would allows us this to vendor items for when players just want to buy them then find them.
-
View User Profile
-
Send Message
Posted Dec 5, 2011Any way to have all fees which this plugin charges get deposited in to a specific iConomy account? I am beginning to reel in economic control on my server and need to be able to account for the money charged that gets "lost" to "thin air" so to speak...
-
View User Profile
-
Send Message
Posted Dec 5, 2011@Exote
I fixed it, it was iconomy 6 that messed it up. It was not going to the right database.
-
View User Profile
-
Send Message
Posted Dec 5, 2011@AndrewsPanda
For 1.0 I would suggest starting webauction from scratch. Remove all the tables from the database and signs, and try starting from the beginning again.
-
View User Profile
-
Send Message
Posted Dec 5, 2011@Exote
EDIT: Actually I do have recent auctions. Players were loving using it.
No I have no signs like that. I also have an error with items that were uploaded to WebAuction before we changed to the 1.0.0 map.
The Errors I posted got so bad it ended up crashing the server so I have had to disable WebAuction. :sadface: WebAuction is the best!!
-
View User Profile
-
Send Message
Posted Dec 5, 2011@mumblerit
How did you even manage to get negative market values? :S
@cky2250
Last one I tested was 1538. Getting bored of updating for every bukkit dev build though. I may just wait for a recommended.
@SolomonGajda
Thanks for reporting these. Keep forgetting which things are wrong, spelling mistakes etc. With hundreds of items isn't surprising though :P
@AndrewsPanda
Strange error, pointing to something about the recent signs, do you have any current auctions?
@SolomonGajda
Penalty for too many signs is causing the server to hang, I am trying to sort out a better way of doing this, as what I have now was supposed to be a temporary fix... Because the signs have to check for updates every x seconds, the server will have to wait for them to finish before moving on. This means with lots of shout and recent signs there will be a bigger pause. I want to move these to a separate thread, meaning they can run side by side with other server processes, so at worse the server would slow down rather than stop and wait. But I'm not yet good enough with java to work this out. I will do a bit of research when I have time.
-
View User Profile
-
Send Message
Posted Dec 4, 2011fees on auction house with negative market values cause players to gain money
-
View User Profile
-
Send Message
Posted Dec 4, 2011what bukkit version is this tested up to im on 1554 and it is geting errors why enabling it.
-
View User Profile
-
Send Message
Posted Dec 4, 2011@SolomonGajda
Since the server is performing better, I've removed all "Recent" auction announcement signs to test and see if this is what was causing the server problems.
-
View User Profile
-
Send Message
Posted Dec 4, 2011hey if any of you are new to this like me here is a good video to get a mysql and php server working. http://www.youtube.com/watch?v=NEwII4TCagM
-
View User Profile
-
Send Message
Posted Dec 4, 2011"Lapis Lazuli" is showing up as "Ink Sacs" on the Recent signs, but correctly as Lapis Lazuli on the web site.
"Sulphur" should be updated to "Gunpowder". "NetherStalk" should be "NetherWart".
-
View User Profile
-
Send Message
Posted Dec 4, 2011@SolomonGajda
Cleared up the mystery of the vanishing letters. It seems that a sign, once used for WebAuction, cannot be used again. I had to burn the old signs. My server has started showing a lot of lag and dumped all the players several times last night. Thinking the signs may be part of the problem, I deleted all but 12. 1-6 recents on each auction station, with the left and right sides of the auction house showing duplicate recent information. This improved the lag situation, though it is still present sporadically. And we had one disconnect today. Any disconnects of all players in my book is too many.
-
View User Profile
-
Send Message
Posted Dec 4, 2011@AndrewsPanda
EDIT: I have updated to bukkit 1555 and still have the same issue.
-
View User Profile
-
Send Message
Posted Dec 4, 2011EDIT: I have updated to bukkit 1555 and still have the same issues.
Hey,
I am running the latest webauction and webinterface. Also I am running bukkit #1533. I am getting the below error constantly:
2011-12-03 18:12:47 [SEVERE] java.lang.NullPointerException 2011-12-03 18:12:47 [SEVERE] at org.bukkit.Location.getBlock(Location.java:72) 2011-12-03 18:12:47 [SEVERE] at me.exote.webauction.WebAuction$3.run(WebAuction.java:438) 2011-12-03 18:12:47 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) 2011-12-03 18:12:47 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482) 2011-12-03 18:12:47 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) 2011-12-03 18:12:47 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 4, 2011@systemAdmin
Thanks, have tried this and numerous different databases. However i am still getting the errors.
Do i need to set some tables up manually? and is there a MySql database host site recommended for this plugin?
Thanks in advance.
-
View User Profile
-
Send Message
Posted Dec 3, 2011I'm building a large auction house in game powered by WebAuction. Is there a practical limit to the number of "Recent" signs you can put in close proximity? I put up 34 signs to show the last 34 trades, and I cannot create a 35th sign...of any kind. I can rez a sign, but any text I type on it just disappears. What is the optimum number of signs? Is there a server penalty for putting up a lot of signs? I'm running SSD drives, 6GB RAM. SMP server with iConomy and about 7-11 people on at any one time.
-
View User Profile
-
Send Message
Posted Dec 3, 2011@c0d0h
Sounds like its having issues with your sql database...
Try using a clean database and it should create the tables on the first run (if it doesn't find them.)