WebAuctionPlus
WebAuctionPlus - eBay for Minecraft!
A minecraft/bukkit shop plugin for your website! This is a rewrite of the original WebAuction with many new features and improvements. I've made to many improvements to the code to list on one page. Many of my plans require big changes and a lot of new code. As with any new code, bugs are to be expected, so please bare with me and report any bugs you come across.
Note: It is strongly recommended you backup your database before using or updating this plugin. Some of the bug fixes and performance improvements I'm making require big changes to the database. The WebAuctionPlus plugin will convert and update the database automatically the first time it's run.
New virtual inventory MailBox has been added with the update of Minecraft 1.3 and WebAuctionPlus 1.1. When a player right clicks on a MailBox sign, it opens up their virtual mailbox inventory and locks their website account to prevent item dups. When they close their mailbox, it updates their inventory and unlocks their website account. NOTE: This feature is new and running single threaded. If you experience lag related to this, I can see what I can do to make it multi-threaded.
Requires: Vault - http://dev.bukkit.org/server-mods/vault/
Requires: Web server with PHP and MySQL
Optional: SignLink - http://dev.bukkit.org/server-mods/signlink/
A few improvements by lorenzop
- new ajax listing code (fast!)
- new virtual inventory mailbox
- all new web interface
- all new item deposit/withdraw code
- database connections are handled better
- connection pool limits can be set in config
- task update times are now configured in seconds
- tasks can be disabled by setting the update frequency to -1
- new announcement system
- added "/wa reload" and "/wa save" commands
- accounts can be created or passwords changed from the console
- multi-language support
To do
- server shops (unlimited stock improved)
- better support for vault economies
- custom description for items being sold
- wish list / auto sales
- track all wa signs to prevent unauthorized signs
Youtube Videos
Languages
If you'd like this plugin translated to another language, feel free to download the en.yml file from the link above, translate it to your own language, and send it to me.
Signs
WebAuctionPlus signs can be created by placing a sign with [WebAuction], [WebAuction+], or [wa] on the first line. Case doesn't matter, the plugin will fix it for you.
Note: you cannot use the deposit mailbox sign while in creative mode. this shouldn't ever be needed in the normal operation of the plugin, so as a general protection, it's always denied.
Note: withdraw mailbox signs can now have a quantity of stacks on the last line, or leave it blank for all mail.
SignLink
- %waTitle - items name
- %waPrice - price each
- %waSeller - sellers name
- %waType - Buy Now or Auction
Source Code
Development Builds
Development Builds can be found at the link below. Development builds aren't approved by the bukkit team and they might be buggy.
Commands
- /wa password <apassword> - Changes your Web Auction Plus account password, or creates an account if you don't have one. This command can also be used from console in the format: wa password <playername> <apassword> and short-hand aliases "pass" or "pw" can be used in place of "password". For example, /wa pw mypassword123
- /wa mailbox - Opens the WebAuction mailbox.
- /wa deposit <amount> - Deposit money into your Auction account.
- /wa withdraw <amount> - Withdraw money from your Auction account.
- /wa reload - This feature is currently broken and disabled. It will be working again soon.
- /wa update - Forces recent signs to update. Also updates SignLink signs.
- /wa version - Displays the current running version of Web Auction Plus.
Permission nodes
note: these may change at some point
- wa.use.mailbox (use mailbox sign)
- wa.use.deposit.money (use money deposit sign)
- wa.use.withdraw.money (use money withdraw sign)
- wa.use.command.mailbox (use the mailbox command)
- wa.use.command.deposit (use the deposit command)
- wa.use.command.withdraw (use the withdraw command)
- wa.announcer.receive (can see auto announcements)
- wa.password.create (can create a new account)
- wa.password.change (can change their password for an existing account)
- wa.canbuy (can buy from web auction)
- wa.cansell (can sell with web auction)
- wa.create.sign.mailbox (create mailbox sign)
- wa.create.sign.deposit (create money deposit sign)
- wa.create.sign.withdraw (create money withdraw 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)
- wa.reload (reloads the WebAuctionPlus config)
How to Install
Join us and chat some time on our irc channel. #webauctionplus on esper.net webchat.esper.net
Plugin Usage
As I've said in comments, I don't agree with the mojang buyout. as much as I've enjoyed working on this plugin and want to see it continue, I'm no longer doing all the work. MarioG1 has stepped up to work on the plugin. I may still help somewhat if he wants, but I'm passing the torch to him as the lead. good luck, hope you write some good code and features.
@lorenzo_p
Ty very much man.
@NooxLP
I don't plan to stop any time soon. if I ever do, I'll be sure to hand the project over to someone else :-)
I was almost finished with this next update, but I'm not happy with the create new auction code I wrote, so I'm going back over it again to be sure it's perfect. I'll be done with that in the next few hours, then back to work on the buy auction code. should be ready after that.
Please always continue developing this Plugin! It' simply great and i really need it for my server! Always keep it up to date...please! :D
@graveXrobber
nice work on the video. mind if I link to it? I think it's funny when the plugin fails while recording. it's very possible fixing/changing other things broke something with recent signs. it's kinda a minor feature, so I haven't gotten a chance to look at it much yet. other people have reported issues with it too. it'll be fixed at some point.
@sfcpfc
yes, real auctioning is planned, and will be added eventually. exote actually started on it, but it was unfinished. I have some great ideas for it, but I'm still in the planning stage. I was thinking, let the player choose if they want to sell or auction something, then an option to sell only the full stack, or individual items. I'm unsure how bidding will be done. I think it should be allowed in game, (as well as the website), like an auction chat channel.
@Deadsign
I agree. I think some good quality tutorials are very needed, but documentation is on the back burner until the plugin itself is finished. anyone else is welcome to step up and put something together.
Maybe add more info on how to install it?
................
But this is not an auction, is a normal sell :S Will include the auction option in next updates? (I mean one player says 10$, then other 25$... etc)
made a video for my server but it explains alot of the features etc.
http://www.youtube.com/watch?v=6qH_ENVgz0k
@sfcpfc
does your bukkit host support remote mysql? it's probably best to run the database on the same server as bukkit, to prevent any possible lag from connecting. I haven't used free hosting in so many years, so sorry, I can't name a good one for you.
@pocketkings719
1.0.3 will be ready soon. I think I still only have to finish the buy auction functionality then it should be ready to use again. I put up my own plugin stats website http://metrics.poixson.com/ since mcstats.org has been down, and I've been playing minecraft, so that takes time away from programming.. lol
@graveXrobber
any economy that's supported by vault should work with web auction. the down side, you have to use deposit/withdraw signs for money. the web interface can only connect directly with the iconomy database, so that's why other econ's don't work as well. I plan to change this in the future. the web interface will connect to the plugin and get the player balance right from vault in real-time, so other econ's will be better supported.
Can you add in support for essentialseco, and other economy plugins? Right now all there is for the web interface is iconomy and alot of people use other ones like essentialseco and bose etc.
@lorenzo_p Do you have any idea when 1.0.3 will be ready?
Hi. I like this plugin, I want to install it, but my actual hosting don't let me to connect to a remote mysql. Can anyone tell me a free hosting that allows remote MySQL? Thanks in advance
@leehickman
did you set up the database connection info for the web interface in config.php? if that's not it, it might be a bug in a file I've already removed. you could try removing the contents of updateTables.php and make it an empty file, but not sure if that would cause other issues.
I'll have this next update finished very soon. I just hope I didn't fix the known bugs and introduce even more new ones.
When i go to the webserver and then index.php it comes up with this Please Help!
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /data/filer-6/web/web2349/htdocs/shop/scripts/updateTables.php on line 22
I just created my first auction with the new web interface! it looks awesome so far, and everything seems to be working perfect. I dunno if I can still meet my goal of a release this weekend, but doing my best. I still have to do code for buying and canceling auctions, then test it all out.
anyone experienced wanna grab a copy from the repository and help me test it?
@Slash0220
Yeah it's a bug, wait for him to update the plugin.
Hi dev!
I have a little problem, everything is good but when I deposit money to WebShop, the system do not show it >> http://i45.tinypic.com/r2qmpg.png (Look at the Money: status, there are no numbers, only the symbol $)
I can also withdraw the money and all the system works fine, but the status is no, I think that there is some mistake in php files...
Maybe you can help me to fix it? Thx and sorry for my english!
@MatrixJ21
yea, was just messing with it last night. it says 1 server, so it seems to be working. it was actually pretty easy to add to the plugin. it will be in the next release, along with a ton of other new code.
I think your stats image is broken.
Actually I dont know about any open source plugin that plays directly with RPGEssentials as he makes a "complete experience" so to speak. But if you would like to, I guess you could just send him a pm here or on the spout forums and he will probably help you with it!
I do understand that this might be a big of a task to do for an optional feature though, but it would be great if you wanted to do it :)
@mumblerit
I think it has a lot more potential than what's existing for banks and such right now. not just simple in game banks, but a full online banking system. transaction logs, loan applications, maybe a stock system with corporations based on sales.
@SparvCraft
do you know of an existing plugin that works with rpgessentials and is open source? tim the enchanter was a piece of cake to add support for, but I'm not sure how much harder custom items would be to implement. whatever I do, it has to be an optional feature and still support the official bukkit server.