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.

-
View User Profile
-
Send Message
Posted Apr 21, 2013Is there a method of taxing transactions/sales? I used the old version of WA like a year ago and it had the option, also would tax items in the database after a set time... Or will this be in 3.0?
Also, any way to allow depositing items, but not allow withdrawing? Or vice versa? I have a multi-server network, in which such a system would be extremely beneficial...
I apologize if these have been asked, I sifted through these comments and none stood out.
-
View User Profile
-
Send Message
Posted Apr 20, 2013Nice to know that your still working on it!
-
View User Profile
-
Send Message
Posted Apr 20, 2013great, glad it's working for everyone. :-)
if there are any php programmers out there that would like to help, send me a pm or come on irc. if you'd like to see more features of 1.x finished, give me a hand. sorry I don't have the time to do more myself, but I am still working on parts of 3.0
-
View User Profile
-
Send Message
Posted Apr 19, 2013Funny your right. There is nothing in the database.
ill check that out.
Edit:
Both using the same database on the MC server.
Edit:
Working fine right now. I had to change localhost to the the right IP. Looks like the database is running on another server.
-
View User Profile
-
Send Message
Posted Apr 19, 2013@Dutch_Boy
that error basically tells you one obvious thing. the database is empty. the jar plugin is what handles creating the tables or updating to a newer version. if it fails to connect, it can't create the tables and the website gives that error. general questions, but important, are both the website and the jar plugin using the same database? and are both hosted on the same server or are the bukkit and web servers 2 separate servers? if it's connecting to a database over the internet at all, you'll need to set it as an allowed remote host, or it'll always fail to log in. also, I recommend running mysql on the bukkit server and have the web server connect to it remotely, to prevent any lag. a bukkit plugin connecting over the internet should be avoided.
-
View User Profile
-
Send Message
Posted Apr 18, 2013Thats the first thing i did, restart my server.
But i still got the same problem :(
Failed to load settings from the database! The plugin may not have been loaded for the first time yet.
Edit:
http://www.mccrafty.nl/webauctionplus/
Here check it out your self :)
-
View User Profile
-
Send Message
Posted Apr 18, 2013@parrothead1337
it could be a number of things causing this problem. it's possible the bukkit api I'm relying on hasn't been updated yet. I'll have to test it myself. I can probably add a setting to the config to allow enchantments on anything. I may have to make time to add support for lore on items.
@Niclainz
I did originally plan to keep the old mailbox signs as an option, but when that minecraft update came out, it turns out the client no longer sends that right click event to the server for many items. which means, many items would just do nothing if you tried to deposit. so I removed it from the plugin and replaced it with the virtual chest mailbox, which btw you can change the size of it. TekkitLite, ah.... so another mod pack missing that inventory close event. tried to work around it, but nothing worked. nothing I can do to help, sorry. go bug the devs of TekkitLite :-P needs the onInventoryClose event listener.
@deniseee22
that means php can't write to that folder, or the folder doesn't exist. it'll store temp files in there to track the sessions. standard feature, built into php.
@Terracrafters
check in the WA_Settings table of the database. I was working on an admin page for this, but isn't finished.
@mrbobba
try using a period . instead of a comma , I'll have to find a way to fix this.
@ptiber
I like the idea. I'm pretty sure all the data needed is already being logged to the database. all you'd have to do is make a page for it with a query.
@Expenox
they're using a bunch of iframes on the website. I personally avoid using them, but that site looks awesome. you'll need a web host that supports php, to host the pages inside the iframe.
@Raffox97
messed with mineos once, but never used it for a server. the jar part of the plugin should be easy, just install it like any other plugin, but you'll also need a web server to host the website.
@Dutch_Boy
easiest way to fix this is just to restart the bukkit server. I opened a bug ticket for the exception so I can look into it and hopefully fix it when I have time.
-
View User Profile
-
Send Message
Posted Apr 17, 2013I get this if i try to reload the plugin in-game.
I get this on my site: Failed to load settings from the database! The plugin may not have been loaded for the first time yet.
-
View User Profile
-
Send Message
Posted Apr 17, 2013Someone know how to add this plugin in mineos?
-
View User Profile
-
Send Message
Posted Apr 16, 2013Hey, I wanted to know if you could help me, I currently have a enjin advanced plan website, but I have no idea how to add this to it. I do know it's possible though, on minetown.net they have it running. Help please!
-
View User Profile
-
Send Message
Posted Apr 13, 2013Any possibility to have a "most item sold in the last X days" feature added ? An easy way to see what are the most popular items would be really cool and handy !
-
View User Profile
-
Send Message
Posted Apr 13, 2013I got a problem with the economy i created a sign with deposit 5,00 and it takes 500 instead of 5. ??
-
View User Profile
-
Send Message
Posted Apr 12, 2013Hi, how do you set the max sell price?
At the moment players can't sell items for over 10k. The only place I can find a config line is in index.php. It seems to be pulling default settings from waSettings.class but I can't edit that.
-
View User Profile
-
Send Message
Posted Apr 10, 2013i'm having this problem in website could you help me?
Warning: session_start() [function.session-start]: open(C:/DOCUME1/ADMINI1/CONFIG1/Temp/1\sess_937dd8a7a78554c20f7606e548abeab7, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\inc\inc.php on line 35
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\inc\inc.php:35) in C:\AppServ\www\inc\inc.php on line 35
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\inc\inc.php:35) in C:\AppServ\www\inc\inc.php on line 35
-
View User Profile
-
Send Message
Posted Apr 9, 2013Could you get the old signs back as an alternative way? I have also the problem with that WebAuction not recognize when my inventory closes on TekkitLite.
-
View User Profile
-
Send Message
Posted Apr 9, 2013<<reply 1398118>>
@lorenzo_p
I can confirm, what @HellKingVrh said. I'm not using diablo drops, but even if "UnsafeEnchantments: true", it still removes the enchantments and the custom lore set to the item. I've also tried setting it to false, but to no avail.
The item was a feather with enchantment fortune 7 and renamed to "Ticket" if that helps at all. When I closed my mailbox it told me "Removed unsafe enchantments"
My configuration file : http://pastebin.com/Yxz7gsKa
edit: it also removes the item's lore values without an error message.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@deleted_7583305
yea, that's the glitch I've been referring to. it's not a bug in the plugin, so there's not much I can do to fix it.. the problem is, that mod pack you're using isn't finished and doesn't support all the bukkit events. that inventory close event hasn't been added yet, so it never runs the code in web auction.
@kogandouble07
very interesting ideas. yea, I've planned to have a page that lists every possible item and an admin can select what to sell and for how much. I like how you explain it. now I'm picturing either unlimited stock or a set limit. I'd also like to add support for multiple servers or worlds, so items could sell for different prices in different worlds, like cheaper in a creative style world. the main world on my server is actually going that direction. survival with fly and cheap items to build with. it'll probably also support sharing a market between servers, like having tekkit and bukkit servers sharing the web auction market, but items not supported on the bukkit server wouldn't show in the mailbox. I like your gift idea too. could do more with it, like sell greeting card books to go along with the gift. ascii art sucks in books.. anyway.. that problem kills so many ideas.
@HellKingVrh
what are some of the enchantments? are they custom names and effects, or are they higher level enchantments that already exist in the game? if it's just the level that's being trimmed, there's a setting to enable unsafe enchantments. this disables the natural enchantment checks, so it's possible to have an enchantment level 250 or something (I forget the exact number)
-
View User Profile
-
Send Message
Posted Apr 6, 2013I have one question. So I have a plugin called diablo drops, which gives players a thing to kill zombies. These swords have the new Enchant. And now every time a player puts the item in the mailbox, he can erase all these new Enchant. So I wonder how that you put the enchant that are not deleted. Perhaps where the names Enchant should inject?
-
View User Profile
-
Send Message
Posted Apr 5, 2013Alright, thanks Lorenzo, and also I've been thinking, the plugin's title is a WebAuctionPlus - Ebay for minecraft. I was thinking maybe something on the lines of Ebay/Amazon. Maybe add a feature so that admins of the page/server can do something such as virtually add items to the store? So like a website creative kind of. Its not 100% necessary, but It would be a pretty cool feature for a webauctionplus plugin. Also maybe a gift option? Maybe it would be a cool feature so that players will be able to select a item and pay for it with there own in game currency, but it goes toward the selected players mailbox?
-
View User Profile
-
Send Message
Posted Apr 4, 2013My problems with this plugin is
I can only open up the mailbox once then i have to log off and back on again to access it again.
I can receive the items from the website interface which i have bought
Sorry but it is not coming up with any errors in my console
Thankis