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 Feb 8, 2012@Kommy000
You web server should already support php if it it a paid host, and no you do not need to run this on the same machine as the minecraft server, its recommended to keep the Iconomy and the database for the web auction on the same local machine as the server, the website is just an interface that will talk with your minecraft servers auction house. You will need to enable Remote MYSQL on the local minecraft machine though.
-
View User Profile
-
Send Message
Posted Feb 8, 2012Ok, I see it requires PHP, so Im a little confused. my iconomy and other plugins database running on my local minecraft machine but website runs on a web server in different location. Will this connect the money iconomy database to my web database on web server or do I have to install php on the minecraft machine and run now web server in addition to the minecraft?? My web server in different location has php installed like all of them but not on my minecraft server with its own sql.
-
View User Profile
-
Send Message
Posted Feb 8, 2012@Exote
I left it alone mate, If I edit the $_Base_Path at all it gives me the.
Notice: Undefined index: /auctionhouse/ in C:\inetpub\wwwroot\AuctionHouse\fuel\application\config\config.php on line 30
in a box on the index page.
If I leave it alone I get the error below that highlighted in color as database or php error shown on the page. Mind you I only saw the readme included not further instructions.
If you go to http://mindcalfonline.sytes.net/auctionhouse you can see the error I have.
-
View User Profile
-
Send Message
Posted Feb 8, 2012@ledhead900
What exactly did you enter for the $_base_path ?
Not sure what is up with the second error, but it is most likely caused by the first
Yup got bored of sorting all the images :P All items will work, just some wont have images.
That plugin error was my fault... updated the dev jar.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@Exote
@Exote
Good news I knew there would be a way to do tell the thing what folder to look in. As for No-Ip I have a static IP I just use no-ip for a Domain Name Redirect for free :).
Since I host at home on my own servers and gear I simply just use no-ip to get a redirect done for me. I could by a webhost but that's troublesome when it works fine from home :)
Going to download your beta and give it a nice test on the web server see what kind of shenanigans I get get it to do. How many bugs are there first ? lol.
Also IIS in windows server can actually make sub domains :), Pretty sure I can get a sub folder of the root to only look within that folder by providing a redirect for that folder so every time certain php pages get requested it redirects back to web auction folder I will see what I can do with it.
Edit Your URL fix just produced
Notice: Undefined index: /auctionhouse/ in C:\inetpub\wwwroot\AuctionHouse\fuel\application\config\config.php on line 30EIDT Run into a n issue already
I installed webauction .jar, I removed the old database could not be bothered in the end to try and send items back to ppl will just refund them currency if they ask where there items are, I imported the database that all went well the server started with out web auction errors, I then removed the web files and copied the entire contents over to a folder named AuctionHouse its a sub folder of root, When I go the url of this sub folder I get.
Is this to do with the Sub directory issue or is this something else ?
EDIT Judging by your image folder you forgot to fix the no icon - un craft able items and add the 1.1 Mob spawn eggs ;)
Edit erm I get this when I log in to server
-
View User Profile
-
Send Message
Posted Feb 7, 2012Also, the domain is only registered through them. It just redirects.
-
View User Profile
-
Send Message
Posted Feb 7, 2012Its still not working. That only changed the look in the address bar...
-
View User Profile
-
Send Message
Posted Feb 7, 2012@RetroCraftMC
@ledhead900
Think I found how to make it run in a subfolder... :D
In the fuel/application/config/config.php
There are a bunch of lines to do with the base site url (lines 28-44);
Edit line 30 so it looks like:
$_SERVER['SERVER_NAME']."/webauction/".str_replace(basename($_SERVER...
So you put the folder name where the bold webauction is.
Not sure what slashes you need to make it work though... Remember to put it in "" marks
Edit: needs a slash before and after.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@ledhead900
@RetroCraftMC
The problem is that all the internal site links (made by the framework not me) reference from the root eg. "/login" so even if you had the webauction hosted at mysite.com/webauction/auctions and the page called /login it would try and go to mysite.com/login not mysite.com/webauction/login.
If you are using no-ip because you have dynamic IP you may have problems, however if you are just using it because you don't want to have to remember a static ip then you could just set up a web-redirect using no-ip, so you have two separate no-ip domains, one for the main site and one for the webauction.
I will have a look into solutions for dynamic ips.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@Exote
I use windows server 2008 r2 would I be wrong I saying all I would have to is make a sub folder in the IIS manager that branches from the main website folder that contain everything else like the Wordpress site, Since this webpage from this plugin is actually a sub folder within the root of the website.
So would that be correct or do I need to actually make a SUB Domain as that I cannot do as I host as well with no-ip and I don't have that kind of control. Best I can do is ad a sub folder where I mentioned above giving it access to just that folder and not as far back as the root.
-
View User Profile
-
Send Message
Posted Feb 7, 2012Domain through no-ip.com. Website is hosted on my own local dedicated server. Im using wampserver (apache). How would I set it up?
-
View User Profile
-
Send Message
Posted Feb 7, 2012@RetroCraftMC
Depends what your setup is. Do you own your own domain name with a normal website host? Or are you running the web server off a local machine?
-
View User Profile
-
Send Message
Posted Feb 7, 2012@xcanner
It already is a real auction where players bid on items, they bid with in game money, it's an auction house like in mmorpg's the reason it says web is because it's for a page on your website.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@Exote: Can you explain how I can make the folder a subdomain? Im unsure how :/.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@Exote
Got a few questions:
And thank you for a great plugin!
-
View User Profile
-
Send Message
Posted Feb 7, 2012@RetroCraftMC
Because of the was some of codeigniter was hard coded (which I could not find time to undo) Most of the links are absolute in reference to the given domain.
Say you put all the web auction files in the folder http://mywebsite.com/webauction You also need to give this sub-folder it's own sub domain eg. http://webauction.mywebsite.com this mean that the links and scripts with are referenced like "/login" will only go as far back as the root of your webauction folder not to your main website.
@ledhead900
I haven't made a script to move the items yet, but this is just a test build so that I can get rid of some of the bugs.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@Exote
Whats going to happen with the old tables, how are we going to flush items back or are we not going to bother with that.
-
View User Profile
-
Send Message
Posted Feb 6, 2012Ok so I figured out the complete installation. Whewww that was fun.... BUT for some reason most the links on home page are leading to "index.php" in my website root folder even thou webauction is in a folder of itself. Also login/register are broken. Ive fixed my htaccess problems, mysql problems, so I figure it must be an issue on your part?
-
View User Profile
-
Send Message
Posted Feb 6, 2012Right!
Brace yourselves...
These are very new and no doubt buggy development files. Use with caution...
New Web Files: http:bit.ly/yhmBLY
New Java plugin: http:bit.ly/zls3Ay
They will require a database with no other web auction tables in it. I will start writing instructions...
-
View User Profile
-
Send Message
Posted Feb 6, 2012instalion don't is probleme , problem is permission