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 7, 2012Well...
My new site development is going pretty well, think I just cut down one of the main pages down from 400 lines to about 5...
New framework has a load of helper libs and existing models to help speed things up. This might be quite fun to build with.
Anyone who want to see the progress have a look at the new github or my live development site where I am building the new version of the website interface. Not much viewable on the development site at the moment (without an admin account :P), but things are progressing.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@Exote
1. No idea
2. Single
3.No Signs are placed at all other than mailbox deposit and withdraw and they are working.
Other: It happens on startup and that's all I know, only this time its not giving me any information in the error other than its a Null Pointer and they usually mean the developer has not closed something off properly and the plugin is expecting a "termination" in a line of code somewhere instead its getting null and errors out on it.
My last error was fixed to do with the issue with signs that error had something about update signs in it.
@Exote
Oh ok is that new, I thought it auto did this I will try this and report back. All I can tell you is that in version 6.2 it was working with my current setup signs and all the worlds were not told to load spawn chunk so no chunks got loaded just the world was enabled on startup. Only thing I can think of is that I have register installed along side Vault as some plugins still use register and I have not tested server and them with out it.
EDIT Ok I think I know what did it, Your recent version did not update the config file on its own properly meaning I had missing values like use signlink and disable recent signs. I removed the config folder and let it regenerate with a fresh downloaded jar and it has not produced this error on start up I will test it further with signs and multithreading and see how it goes.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@ledhead900
It sounds like it is the same error as you were having before, it is unable to find a block (a sign) so is returning a null pointer.
Make sure UseOriginalRecentSigns is false in the plugin config.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@ledhead900
Any idea what triggers it?
You using single or multiple thread mode?
Using original recent signs as well as signlink? (in the config file)
-
View User Profile
-
Send Message
Posted Jan 7, 2012@Exote
ah ok but could you patch that last error quickly then your free I guess to continue work on your next interface, I think the error is more important at this point as its not just a single error anymore for me it spams this error for 20s then stops and spams it again.
2mb in log and counting from this error alone ;)- seems to not effect usage or cpu tho as cpu usage is not effected noticeably nor is it effecting function of the current website I am not sure about in game tho but it appears to still be working I was able to send block to the sql database and get them back in game with this error.
It seems simple to fix it appears to be a missing Null Pointer "aka something is not being told to shutup and quit" Probably something new in the signlink edition you forgot to quiet down.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@ledhead900
Yup, will get these done.
However at the moment I am trying to build a whole new version of the website :) It is going pretty well, got the whole CMS set up, now slowly trying to optimise the MySQL requests so that they are easier to manage.
Anyone who is good with FUEL cms for codeigniter (or just codeigniter) feel free to have a look at the new development github and tell me what you think :)
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Exote
I will be donating too but I wanted to get a couple things fixed first :), Nothing like Incentive to work heh ;).
Lets get started these are all Item/Image issues I have found.
Just noticed your To-Do list but some of the items here can be gained naturally, I think the End Block can be mined in the End as well.
Edit
I get now and its not related to signs since I remove them by smashing the signs in-game to test the error before. This is using your latest updated web files and jar
-
View User Profile
-
Send Message
Posted Jan 6, 2012@AndrewsPanda
That is very kind of you :)
I am more than happy to continue to add new things to improve the way the plugin works :D
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Exote
It worked!! Thank you
I have just sent through a donation :) Your always willing to help with and improve your plugin!!
-
View User Profile
-
Send Message
Posted Jan 6, 2012@AndrewsPanda
http://pastie.org/3137975
Something like that, just using whatever the id number for a bed is. (Which is what I used there)
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Exote
Wow man I honestly didn't see that coming. Thank you so much :) I have tried looking at it to work out how to block beds. Its not obvious enough for "my understanding" sorry.
I posted the top bit that is related below.. Can you please reply with an example of what I would put to block beds.
Thanks heaps!
http://pastie.org/3137716
-
View User Profile
-
Send Message
Posted Jan 6, 2012@AndrewsPanda
Added this in now, zip up top.
Have a look at the top of the scripts/iteminfo.php, should be fairly obvious, let me know if it sorts the problem. (Wont get rid of existing auctions, but you can just click cancel as an admin)
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Exote
Have you added the feature to block certain items being auction? :p
In the last 42 hours :p
I'm just kidding. I am just over seeing pages of beds lmao!
-
View User Profile
-
Send Message
Posted Jan 5, 2012@Exote
Your welcome, Its pretty neat and it allows like you said to have variables within
and leave rest of sign for free use you will free up many lines using signlink as only the variable name as to be on sign the actual data is called from the plugin hooking into it or from the signlink database config that holds variable names and what they do. You can even customize your own.It should play nicer with the sql as well since the chunk does not have to exist to load the signs data so this means the error I had may go away, as the sign saved data for the variable would not be called until the signs chunk is loaded hence no reason for Web Auction to try and update the sign anymore it just updates the variable that is available data in the configs if you have not set it up that way could be worth trying to replace the need for world to be loaded overall it would save cpu anyway as it would never need to read chunk data.
-
View User Profile
-
Send Message
Posted Jan 5, 2012@ledhead900
Done some SignLink stuff just to test it out, and it seems pretty good. :)
As I added to the description above you can now put things like %WAName5% on a sign (if you have SignLink plugin on your server) and it will display the 6th most recent auctions name (it starts at 0 for the most recent)
%WAName5% %WAPrice5% %WAQuant5%
Give it a test to see if it help anything, and I think it will also make customisation easier as you can write any other junk on the sign that you like and where ever you put those variables the auction data will appear.
Nice call suggesting that api.
-
View User Profile
-
Send Message
Posted Jan 4, 2012@Exote
I probably know why, My worlds unload chunks when no one is on them IE on first start the world is loaded but no chunks are loaded into ram so signs are there but not physically loaded in any chunks.
This Is why I suggested you made use of the plugin SIGNLINK for the api side of it as it can do much better things with signs and be persistent in a way that allows chunk to not exist but still have the signs data available and work.
-
View User Profile
-
Send Message
Posted Jan 4, 2012@Secpro
It does both of those. When a damaged item is put up for auction it will show the damage percentage in the item description. Same goes for the enchants.
-
View User Profile
-
Send Message
Posted Jan 4, 2012@Secpro
Oh wait nm... I just realized it probably does support enchantments as I can see in the mysql databases.
-
View User Profile
-
Send Message
Posted Jan 4, 2012Hey Great Plugin,
Just wondering if this supports Enchantment and Damage Values
-
View User Profile
-
Send Message
Posted Jan 4, 2012@ Exote
I understand where you are coming from... I guess it's your plugin title that is confusing. It should be called WebStore or WebMarket or something like that - currently this has nothing to do with auctions
An auction is a process of buying and selling goods or services by offering them up for bid, taking bids, and then selling the item to the highest bidder.
Anyways - not slamming you - I LOVE your plugin. As I said above, if you don't add some sort of auction system, then the title of the plugin is misleading.