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 May 20, 2012@bigpaully
oic.. the older the version, the worse off you are. each update has many bug fixes and improvements. in that case, I wont start anything new tonight. I'll just keep working on the bug fixes and try to get this update finished tonight or tomorrow. when I finish what I'm doing right now, I'll take a look at the signs and get back to you. probably a few hours from now.
-
View User Profile
-
Send Message
Posted May 20, 20121.0.3 and up dont work 1.0.2 dont work with new database
-
View User Profile
-
Send Message
Posted May 20, 2012which version should i try
-
View User Profile
-
Send Message
Posted May 20, 2012@retricide
yea, I think it would run faster too. no need to listen for every inventory change people make. only have to update the database when the chest is accessed. if the chest is full, could still use a deposit mailbox sign to add more.
@bigpaully
yea, sorry for the inconvenience. a few other people reported this problem too. you can try the previous version of the jar, see if that works better until I finish this next update. at the moment, I'm fixing loading of language files. after that I'll probably look at those signs next.
-
View User Profile
-
Send Message
Posted May 20, 2012Deposit money and withdraw money is not working just showing 0.0 add or 0.0 withdraw
-
View User Profile
-
Send Message
Posted May 20, 2012@lorenzo_p
I LOVED the old chest integration and your new, dynamic-viewing, addition sounds like a much better idea than live inventories.
This system seems more concrete and easier to understand then live inventories, so I would definitely be a proponent of the chest system.
-
View User Profile
-
Send Message
Posted May 20, 2012here's an idea I've been thinking about. I might completely forget about the live inventory plans and go with this instead. someone sent me this link http:www.youtube.com/watch?v=1sXpn86Psck&feature=plcp I've never actually seen this before. when I found web auction and started using it, it was already a few months outdated. this chest deposit feature had already been removed long before. I kinda like this idea, but I've got some better ideas for it!
setup would probably be similar. place a chest, look at it, and type in a command to set wa to use it. when players open the chest, it will show only the items they have in their inventory on the website. they can add or remove whatever they want, and it will update live on the website. if another player comes along and opens the chest at the same time, it will only show their items and no one elses. I've been told there is a trick that works to do this. I think it's worth a try. it might be a better idea than putting the players actual inventory on the website. sounds like this new idea would be easier to do, and have less problems. I can also leave in the deposit/withdraw mailbox signs too. they can both be used on the same server if you'd like.
-
View User Profile
-
Send Message
Posted May 20, 2012@Mr_H4mm3r
I think I've already fixed this bug. just give me a few days to finish up some code, then I'll submit the update. I've fixed a bunch of bugs people have been reporting. I still have to finish fixing the code that loads the language files. that should be more reliable. I'd also like to get the cancel buttons working in this next update, but I'm kinda thinking about skipping it just to get this update out. cancel buttons will be working either in this next update, or the one after.
TheNytangel is helping out adding all the custom items from tekkit. he's doing a great job, but we could use some help. there are so many items, it's a daunting task to take on alone. I've already added the code to load custom item packs. just need the content added now.
-
View User Profile
-
Send Message
Posted May 20, 2012@lorenzo_p
Nice.. Plus add permissions for cancelling :)
wa.cancel wa.canel.others
I'm getting this when I'm trying to use /wa password pass http://pastebin.com/c5tTwwQa
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
yea, I really don't like using the money deposit/withdraw signs either. it still functions similar to the original web auction, but does auto detect the iConomy table instead of giving an error. I would like to start working on this and a few other things soon. got some great ideas for things.
-
View User Profile
-
Send Message
Posted May 19, 2012@lorenzo_p
All i ment, is that i like the feature that the website gets the account balance automatically, since i remember how i hated the money signs.
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
nope, don't have an exact time, but I am getting most of it done today. not sure what you mean by synchronizing iconomy. I don't think it's ever worked that way, that I know of. the website just accesses the iConomy table directly to get the players balance. there is another method I'd like to try, but haven't done any code for it yet. I'd like to have the website connect to the web auction plugin and have that get the balance using vault, that way any vault supported economy will work with web auction plus without having to deposit money into an account.
-
View User Profile
-
Send Message
Posted May 19, 2012@lorenzo_p
I ment the feature that the iConomy synchronizes with the website automatically.
PS. I'd really get a fix soon, i kinda need the plugin.. Do you have any exact time?
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
which feature? multi-language? no, in-fact, I plan to add the feature to the website soon too. I added a few more safety checks here and there to handle the null exceptions, and it should also default to en.yml if the set language file isn't found or fails to load. so hopefully these fixes work well.
-
View User Profile
-
Send Message
Posted May 19, 2012@lorenzo_p
I really hope getting the update soon. Thanks.
I hope you're not going to delete the feature, since i really like it.
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
ok, I think I've fixed a few different exceptions now. the next update will be ready in the next few days.
if you have the iConomy table in the same database as web auction, it's set by default to look for that and use it if it can. if not, then you have to deposit money into your web auction account to buy things. I plan to change this, but haven't started that code yet.
-
View User Profile
-
Send Message
Posted May 19, 2012@lorenzo_p
No exceptions before it, and it says it loaded en.yml.
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
no other exceptions before that? does it say it loaded a language file? it should say something like [WebAuction+] Loaded language file en.yml
-
View User Profile
-
Send Message
Posted May 19, 2012Alright, that worked, but now i tried placing some signs...
20:25:11 [SEVERE] Could not pass event SignChangeEvent to WebAuctionPlus org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:459) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1265) at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.lorenzop.webauctionplus.Language.getString(Language.java:51) at me.lorenzop.webauctionplus.listeners.WebAuctionBlockListener.onSignCh ange(WebAuctionBlockListener.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) ... 10 more 20:25:32 [SEVERE] Could not pass event SignChangeEvent to WebAuctionPlus org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:459) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1265) at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.lorenzop.webauctionplus.Language.getString(Language.java:51) at me.lorenzop.webauctionplus.listeners.WebAuctionBlockListener.onSignCh ange(WebAuctionBlockListener.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) ... 10 more
Edit
The money doesn't sync by itself anymore with the shop?
-
View User Profile
-
Send Message
Posted May 19, 2012@Ermuuu
it's all your fault! jk, you can try deleting the tables from the database, download and run version 1.0.5 to create the tables fresh again, then shut down and put 1.0.6 back. those steps I think usually fixes the problem. there's a bug in the latest version that the WA_Settings table doesn't get created. I'll have it fixed in the next update, as well as the null exceptions.