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 Oct 13, 2011@Exote
I think when you replace or started fixing the images you broke them. No images are showing up in the web auction 3.2 http://imageshack.us/photo/my-images/841/webauction.png/
-
View User Profile
-
Send Message
Posted Oct 13, 2011@AvariceSyn
Make sure you spell it "MailBox" with capitals
@77tontos
WAMP etc have more error reporting than some servers, http:mc-galaxy.no-ip.org/auction/scripts/server_processing.php This was fixed quite recently, download a new jar and zip from top of page :)
-
View User Profile
-
Send Message
Posted Oct 12, 2011Exote:
(Just finished testing)
No good here on the new permissions. Waiting on bukkit forums to be up again so i may provide a full report.
-
View User Profile
-
Send Message
Posted Oct 12, 2011ok well my players love this and its been working wonderful, but recently i have been migranting everything over to my computer including my website to allow faster connection between the server and website and to cut some costs. i got everything set up with xampp and the sql worked fine but now on the main page i get this message. "DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error." u happen to know why or how to fix it?
i made u a test login http://mc-galaxy.no-ip.org/auction/login.php user: test pass: jkog6q42cm1
-
View User Profile
-
Send Message
Posted Oct 12, 2011This is driving me nuts, but I'm unable to create a mailbox sign, with the message that I do not have permissions to do this. I'm using PermissionsEx, admin group has all permissions, and I'm opped on top of that.
/wa deposit set worked just fine as did all other admin/ops sign abilities, I'm noted as being an admin in the console for webauction as well.
-
View User Profile
-
Send Message
Posted Oct 12, 2011@ablac
Error log?
-
View User Profile
-
Send Message
Posted Oct 12, 2011I tried this plugin and it takes about 50 seconds to connect to the MYSQL database. And it didnt generate anything within the MYSQL database. Not sure why.
This also crashed my server every time i tried to type /wa password (Pass)
Not sure if my Bukkit version has anythingto do with it. 1240 cause in 1317 the map doesn't load.
-
View User Profile
-
Send Message
Posted Oct 12, 2011I wrote this over on the bukkit.org forum page thing but i will copy it here because I am interested in the response.
I have been thinking of implementing a sort of stock exchange. But different to some of the others...
A global (over all servers) currency exchange. I've worked out some of the maths and it seems to work. Say for the sake of this; stone holds the same value to each of us, now it may cost different amount on different web auctions, but that is because of the rest of the economy, some servers may have a very low price for stone say $1, but that is because you can get a lot for your $ elsewhere in the server (maybe you can buy a town for as little as $100). But in another server the price for stone is about $50, however money is really easy to get hold of, but the ratio of ease of money gain to cost of item would be the same across the two servers.
Therefore we can calculate a standardised value of each server's currency. And thus trade one for another.
To make it more interesting (and true to life?) I also thought that the more money a server makes (x% tax on each sale in auction) the more that servers currency should be worth. Meaning that more active servers with more people and with a higher GNP would have a currency of higher value.
The interesting bit would be trading between your own currency and another server's, as the amount of money a server makes (tax) per day will change, as will the market price of items. So if you are clever you could buy some of a currency when it has lost some value and then sell it when it increases, making a profit.
...
Well I got a bit carried away there, and I'm no economist. But the idea seems like an interesting one. And not impossible to implement, all it would need would be a single central site with some scripts running and a database. Each web auction website could then call the scripts on the central site to check the current values, and player's "portfolio".
Anyway, ramble over. Would there be any interest in this?
-
View User Profile
-
Send Message
Posted Oct 12, 2011@Exote
This plugin is great, keep up the good work
I cant wait to see the admin panel ^^
-
View User Profile
-
Send Message
Posted Oct 12, 2011@HippyParrot
Player images are were supposed to be sorted by an external website (www.minotar.net), which is much faster, but their website seems to be down at the moment. I will keep an eye on it to see how reliable are, if these problems occur often I will switch back to using the bundled script.
@HippyParrot
Yeah, admin panel soon.
-
View User Profile
-
Send Message
Posted Oct 12, 2011@sotamakkara
Sounds like your web server doesn't know what mysql is.
-
View User Profile
-
Send Message
Posted Oct 12, 2011I got this error while trying to access the Web interface:
Fatal error: Call to undefined function mysql_connect() in /mbnet/k/kerbb/Vili/WebInterface/scripts/config.php on line 41
And yes I've double checked the mysql settings. I tried to use my own mysql host and db4free.net host databases, both give this error. Also my line 41:
$link = mysql_connect($db_host,$db_user,$db_pass);
EDIT: Changed my webhost, now it works fine :)
-
View User Profile
-
Send Message
Posted Oct 12, 2011also when updated to 0.3.2 admins cant remove other users auctions anymore
-
View User Profile
-
Send Message
Posted Oct 12, 2011Could you add an admin panel of some kind, where admins can manage other users item lists, and see transactions between other users?
-
View User Profile
-
Send Message
Posted Oct 12, 2011Updated to 0.3.2 user images stopped working.
-
View User Profile
-
Send Message
Posted Oct 12, 2011@qazzi
Make sure you have the most recent files, the links on this page are normally more up to date than the curse ones. Both those points should have been fixed.
-
View User Profile
-
Send Message
Posted Oct 11, 2011Look like everything is working but a couple things:
1. If I put up an item with durability, it says "Quantity was not an integer." 2. If you put up a "recent auction" type sign, and there isn't a recent auction number, it crashes the server. I put up 6 and I only have 5 recent auctions up, on the 6th sign, twice in a row, it crashed the server. may not be a huge deal, but if it's an easy fix, may save some people a heartache.
edit: major major issue. So was testing the sign crash thing again. I put 6 signs for 6 recent auctions, everything good. I bought something from the site, (so only 5 real recent auctions) and bam, instant server crash. I tried to reload, couldnt. Had to turn off webauction and remove the signs. However, if I turn webauction back on (even with the signs gone) it still crashes the server. So, im not sure if the setting is in a MYSQL database.. or in the website config, but I have to delete something or I cant use webauction again.
-
View User Profile
-
Send Message
Posted Oct 11, 2011@Exote
I'm still having the same problem as modtv1337. I've deleted my entire www folder and pasted your files and still, JSON error..
Anything?
edit: I turned off error reporting as you suggested and it "fixed" it. However, I'm not understanding why some people are having this problem and others aren't. Is something wrong or should I just ignore it?
-
View User Profile
-
Send Message
Posted Oct 11, 2011@Exote
so now this is happening...
http://pastebin.com/z91kR4kn
-
View User Profile
-
Send Message
Posted Oct 11, 2011@modtv1337
Nah, I just mean I logged into your minecraft world and set myself up with a web auction account.