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 29, 2012Looks nice, send me the website if its ready. I will translate it for you.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Kocacola97
Thanks for the support :) About permissions read what leadhead said a few posts back.
@davidf95
Looks good :) May not be worth making translations for the current version public as I am about to release a whole new version. The demo so you can see the changes is currently here
-
View User Profile
-
Send Message
Posted Jan 29, 2012Hey, i translate the Homepage for this Plugin, you can try it out ind Englishand Germanlogin:test pw:test If you like it i will public the Website. If you have a better idea please let me know it.
-
View User Profile
-
Send Message
Posted Jan 29, 2012Really nice plugin but on my server the permissions are for op only. Maybe a bug ^^
also good job! Koca
-
View User Profile
-
Send Message
Posted Jan 29, 2012Made some good progress on the new site today. Got a nice easy way of adding new static server buying and selling.
And sorted out all the website permissions. Market prices being calculated nicely.
Need to set up the mail boxes properly, sort out any user preferences, then update the java plugin to be able to communicate with all this new junk.
I will ask again if there is anything people think would be a nice addition. I am still trying to get my head around per user languages, but if that fails I will just set up a way for admins to translate various things on the site.
But yeah, any idea of things that need adding?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@ledhead900
That side bar with the money and name stuff in it will stretch as the data inside it gets longer. And the unregister thing will get moved to the user settings page when I make it. Where users can set personal preferences such as where items get set after buying them and maybe even change the language they want to read the site in.
The idea about just flushing the whole of the auction through the mail is probubly the best way of doing things. I will give this a go.
@Motonia
The current method (/wa password 1234) to create user accounts would not really work for the new user system on the new version of the site, mainly because the new site relies on user email addresses to send things like forgotton passwords and sale alerts. This means that new user accounts would be too difficult for users to make via in game commands, because of the amount of info they need to give.
This means that registration has to happen via the website. However, as said before, this also leads to problems about validating whether a person signing up on the website actually owns the IGN they are trying to register.
Therefore I think a simple confirmation in game after registration on the website, may be the best option.
@mantegudo
Lot of people are asking for support for multiple languages, this will be done one the website side for this new build. And I will update the plugin to match when I know exactly what data I need to get transfered backwards and forwards between the two.
As I said above, my hope is that I can find a way for each user to be able to select their language from a list from their profile/settings page.
About the signs, I think they should work, but just not sure how many auctions. Best just to keep testing to see what works. I didnt make SignLink so I am not quite sure how it works myself :P
-
View User Profile
-
Send Message
Posted Jan 28, 2012I have tested it harder.. actually the SignLink think works, but wont update connected signs and even wont show the names if there is only one item in the WebAuction... =/
-
View User Profile
-
Send Message
Posted Jan 28, 2012Owww sorry I forgot something, the SIgnLink Shout isn't working at all, it's showing a N/A string, I don't know what to do :P
Thx
-
View User Profile
-
Send Message
Posted Jan 28, 2012Hey Exote!
I wanna thank you for this amazing plugin!
I've made some changes to the source to translate it to my language... may u add some strings in the config file for translation? and please add the [WebAuction] on signs too :P
Another thing is the login integration, I know it's very difficulty but you may add another ways to login maybe on a custom database and maybe on a forum/cms database, I've already integrated it to my IPB forum 3.2.3, and it's working! :).
Now a bug :P.
When I set the option $sendPurchaceToMail = true; It wont send the item to mail box and even to My Itens in the webpage, any fix for this ?
Thanks =)
-
View User Profile
-
Send Message
Posted Jan 28, 2012<<reply 513073>>
Just what I was hoping to hear, I like the idea of more control and features along with a back end (some point would be made to match the site as well). This plugin is turning into the core of the server to site content, as I hoped to give our site more reason.
I see you where speaking of making a security code you have to enter on the website on first login/link to the site. How would this be more or less secure since as I see it you have to log in the server use the command to get your wanted password added to the system. I can understand if you made a account on the website then linked via in game since users could enter any username example people who didn’t know to use there in game name when registering. I guess simple put I don’t see a use for such a feature since there info is set from in game. (More less trying to learn more about this)
Once more great work!
-
View User Profile
-
Send Message
Posted Jan 28, 2012@Exote The un register button up there scares me :|. Also the layout for the user name and money and the icon and all of that would not allows enough horizontal space for long currency names to be attached as a post prefix.
I came up with a possible valid solution on how we can get the items back the users prior to updating I suggested in my last pot that must of got covered, anyway I suggested that instead of a complicated and possibly just out right not working script to merge the items, It would be far easier to patch in a tiny update for the current database as a pre update before moving to the new system this pre update would include a admin option to force MAIL everything on the auction house back to its respective player. With a login warning appear when the player logs in telling them if they want to keep their web auction items to visit the mailbox and withdraw everything that has been refunded or risk loosing it all.
This method would be a piece of cake to patch in as it would just be flushing mail item on every item of ever user in one swoop. the only real extra work is the login reminder message to claim them all.
@NeoMine
To extend what Exote said, In your creative world permissions assuming you are using PEX for a permissions system you can actually define what permissions (extra or removed) that will exist on certain worlds let me show you what I have as an example for how to setup such permissions.
In the code you can see that I have added another world Earth and that this world has removed some commands from Guest. the commands with - -command are removed.
This method respects the inheritance and thus all players not on the world Earth my perform the missing actions that they were denied while in world Earth.
So to fix your problem for good if you could deny the sign place commands on your creative world.
-
View User Profile
-
Send Message
Posted Jan 28, 2012Done most of the front end of the static (from server) buying and selling. Not yet sorted how to easily add new ones, but that should be quite straight forward.
This is how it is currently layed out, let me know what you think: Image URL: threewisemeh.com/example_static.jpg
-
View User Profile
-
Send Message
Posted Jan 28, 2012@NeoMine
Don't have withdraw and deposit item signs in the creative world.
-
View User Profile
-
Send Message
Posted Jan 28, 2012Good, And I want to set this plugin just one world.
Because the other world is creative mode world.
How can I do this?
-
View User Profile
-
Send Message
Posted Jan 28, 2012@hunterboerner
Posting the errors might help.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@NeoMine
Make sure when you make any mailbox sign u use correct upper and lower case.
1st line (WebAuction)
2nd line MailBox
3rd line Withdraw or Deposit
Also "Disposit" is not the correct spelling for Deposit.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@addemod
You forgot to add permissions to your groups. wa.canbuy (can buy from auction) wa.cansell (can sell to the auction)
-
View User Profile
-
Send Message
Posted Jan 28, 2012and it says: "Can't buy" Where it should say how many you want to buy and then the buy button but nope it doesn't! help please!?
-
View User Profile
-
Send Message
Posted Jan 28, 2012Only me can create auctions, not any other?
No error comes!
-
View User Profile
-
Send Message
Posted Jan 27, 2012Im using RB1.1 and download your latest .jar and www.
I'm op and Owner gorup that have '*' permission.
But when I make the 'Disposit' sign.
[webauction] you do not have permission. How can I set sign?