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 19, 2012Hey!
Alright, so on first launch, i get this. 2nd run doesn't have any errors:
_______________
Then, when i try to set my password:
_______________
________
When i try to log in, i get this PHP error:
I really wish you could tell me why this occurs, is this a bug, or is it my fault?
Thanks, Ermu.
-
View User Profile
-
Send Message
Posted May 19, 2012@Mr_H4mm3r
I'll give it a try. I'm not sure about hiding the menu, cuz there's really not much in it. I think I'll give it some tweaks, see how it looks. good way to start off the morning. to be able to buy more than one auction at once, I'd have to clear out the quantity by default, and move the form from being one on each row to one that encompasses the entire table. I can see that being possible.
@skytopiaserver
cancel buttons, I plan to have working in the next update. thanks lastkiller for sending me some code for this. I plan to look it over today, maybe have it finished.
-
View User Profile
-
Send Message
Posted May 19, 2012My cancel button doesnt work?
-
View User Profile
-
Send Message
Posted May 18, 2012@lorenzo_p
Move the date over the menu.. And make it able to hide the menu :) + Buying more than one item at once
-
View User Profile
-
Send Message
Posted May 18, 2012@lorenzo_p
yes the old signs on my server works. by the old signs is 500 and by the new 500.0
-
View User Profile
-
Send Message
Posted May 18, 2012I believe the quick release cycle I was attempting failed. a lot of bugs were fixed, but there are a few that it hasn't given me enough time to track down the issue, so they continue giving people issues update after update. give me a few days to a week, and I'll finish up some code and see if I can get these bugs fixed. also, I don't mind helping people, but it does take a lot of time away from other things.
can I get a quick opinion from a few people? someone submitted this to me. the white background with the rounded corners is shrunk to just the top. I think it looks nice, but doesn't look right when there's nothing to list on the page. a lot more of the background shows then. what do you think? should I include this change in the next update?
-
View User Profile
-
Send Message
Posted May 17, 2012@lorenzo_p
Same here. New signs does not working but the old one does.
I also noticed that items are deposited but not removed from the inventory.
-
View User Profile
-
Send Message
Posted May 17, 2012@Wenish
really? old signs work, but newly created ones don't?
-
View User Profile
-
Send Message
Posted May 17, 2012@lorenzo_p
i have the same problem as mrlorrick and bvgfreak. this ist by all new signs since version 1.0.6. by the old signs it works perfekt
-
View User Profile
-
Send Message
Posted May 17, 2012@lorenzo_p
Anything I should try doing?
-
View User Profile
-
Send Message
Posted May 17, 2012@Wenish
my first thought, I shouldn't change a command that's the same as other versions of web auction. actually, yes I can do that. I can make it work with setpassword, password, or pass. I did something similar when creating signs. you can put in the first line, [webauction+], [webauction], or just [wa]. any of those will work, and if the plugin is working right, it will replace the first line with [WebAuction+]
-
View User Profile
-
Send Message
Posted May 17, 2012can you chance the command /wa password <apassword> to /wa setpassword <apassword>?
-
View User Profile
-
Send Message
Posted May 16, 2012@Smellyhobo101 @Wickot
let me do some testing and get back to yous on these issues. the null exception again.. I think it's because the language file fails to load. could be file permissions on your server. I'll see if I can make the languages load defaults better if it fails.
-
View User Profile
-
Send Message
Posted May 16, 2012Version: 1.0.6
When creating a MailBox sign, I get this error: 19:12:32 CONSOLE: [SEVERE] Could not pass event SignChangeEvent to WebAuctionPlus
It then deletes the sign.
I also get the same error when clicking the signs.
-
View User Profile
-
Send Message
Posted May 16, 2012Getting an internal server error whenever I use /wa password [password] to set my password for the first time.
2012-05-16 02:44:51 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'wa' in plugin WebAuctionPlus v1.0.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 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:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) 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.WebAuctionCommands.onCommand(WebAuctionCommands.java:114) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
This is my first time setting this plugin up. My server IP is mc.onslaught-server.com and you can connect to webauction with shop.onslaught-server.com if you want to test it out yourself. Not sure where to go from here.
-
View User Profile
-
Send Message
Posted May 15, 2012@MrLorrick
can you show me? send me a screenshot of the sign, or pm me the server address and I'll come on and check it out quick.
-
View User Profile
-
Send Message
Posted May 15, 2012@lorenzo_p
I have the same problem like bvgfreak with the Deposit sign.
-
View User Profile
-
Send Message
Posted May 15, 2012@Bvgfreak
you can change the language in the Settings table. the included languages are de, es, pt, and sv, and of course en. let me know if anyone still gets the null exceptions with 1.0.6
@Bvgfreak
that sounds like one of the exceptions I fixed. do you have anything on 3rd line of that sign? if you try recreating the sign, it should put $100 on that line by default, if you don't put a number.
@EzpadaZ
yea, I see the problem. was a simple fix in code. it's hard to test things when my computer decides it wants to die again. I just reinstalled windows like a week ago. now seems like a hardware failure.
@Wenish
that is a good idea actually. 1.0.5 should generate all the database tables, if it doesn't find the Auctions table. 1.0.6 checks if each table exists and creates it if needed, except that one table ItemEnchantments which was a mistake on my part. previous versions only checked if Auctions table existed, and creates all tables if it's not found. this was to save some load time and cpu resources, but some people were having trouble where all the tables wouldn't be created. I'd still like to know what was causing that. also, if there are still issues loading the language files, please send me a pastebin of the log, and pls include the logs of the plugin loading at startup. only thing I can think of is file permissions.
question.. is using the bug ticket system on google code to much of a pain for people? I'm guessing you have to register/login before you can post a ticket. maybe I should use dev bukkits built in ticket system?
-
View User Profile
-
Send Message
Posted May 15, 2012@EzpadaZ
download 1.0.5 and 1.0.6 start the server with 1.0.5 jar and then update it to 1.0.6. but i think he fix this by 1.0.7^^
-
View User Profile
-
Send Message
Posted May 15, 2012ty for the update this is it fixed negative balance for players (can no longer buy items without enough money) :D