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 Aug 26, 2012I tried to convert my WA+ database with 600 auctions to 1.1.4 but I found one bug. All potions are shown as "Unknown Potion"
-
View User Profile
-
Send Message
Posted Aug 26, 2012@legal90
The 1.1.4A is awesome, I use it on a production server with over 20 players online at the same time and everything is fine, no huge bug so far.
-
View User Profile
-
Send Message
Posted Aug 26, 2012@lorenzo_p
Tell me please - could the 1.1.4.alfa version be stable or it is better to use the last published version (1.0.8.alfa) for public server installation? Or may be we should to wait for the realease of 1.1.5? P.s. Great thanks for your work!
-
View User Profile
-
Send Message
Posted Aug 25, 2012@DjBuRnOuTQc
I think that is a very good idea.
-
View User Profile
-
Send Message
Posted Aug 25, 2012I have a suggestion that you may have thought already.
Make every auctions expires after a set amount of time, let's say 2 or 3 weeks so that the website is not full of inactive accounts. The inactive auction's item would return to the virtual inventory of each member.
Maybe a command to purge old auctions would be awesome too.
-
View User Profile
-
Send Message
Posted Aug 24, 2012is there a setup guide for this plugin some where?
-
View User Profile
-
Send Message
Posted Aug 24, 2012@lorenzo_p
Thank you so much :D
This update will help out a lot!
-
View User Profile
-
Send Message
Posted Aug 24, 2012a few people have complained about their players using web auction to store items, giving them an unfair advantage on a pvp server. storage fees are planned, but I just made another improvement I think you'll like. virtual inventories are 9 slots across. in the WA_Settings table, you can now set how many rows of slots a mailbox has. it can be anywhere from one row of 9 slots, up to 6 rows, giving the player a max of 54 slots. server admins can adjust this setting to whatever they'd like and just run "/wa reload" to refresh the settings. shrinking the mailbox wont cause any problems for players who already have a full 54 slot mailbox inventory. the plugin will just fit as much as it can when the mailbox is opened, so the player can open the mailbox multiple times to withdraw their items that don't fit the first time. this feature will be available in 1.1.5
-
View User Profile
-
Send Message
Posted Aug 24, 2012@xcanner
with the update of minecraft 1.3, right clicking a sign with certain items no longer sends that signal to the server, so there's no way for the plugin to detect it. for instance, you can't place a cactus on the face of a sign, so that logic is now handled by the client. I had planned to add an optional virtual chest to deposit items, but this problem forced me to switch only to virtual chests. a lot of new code means new issues to work out. hence why the update is taking a little while. you're welcome to try out the development build. it's mostly ready, but there's still a few things left to fix before I'm happy with its stability. http://webauctionplus.googlecode.com/svn/trunk/WebAuctionPlus-1.1.4alpha.zip
@comniemeer
those 2 features you're looking for are a few of the things I temporarily removed while I worked on rewriting the rest of the plugin. basically, it all depends on the transaction logging code, which also needed a full rewrite. the development version above now logs transactions to the database, which is the first step. next, I'll be working on writing code which uses that to calculate market prices, and displays the transaction log page. in game sale alerts also relied on this new code, which is one thing I've finished and is working better now.
@JustinM511
lol, can't please everyone. you're welcome to give me some tips. I do realize the html file is a bit bigger in size having the css included in-line, but there is a reason for that. I feel it's a small amount of bandwidth to sacrifice and few people actually look at the generated html. one thing I can't stand is the off chance of a css file not downloading properly, then the entire page is malformed. it's something that would be easy to change if need be. btw, I drown in php/css all day sometimes too. what awful languages to work with at times.
-
View User Profile
-
Send Message
Posted Aug 23, 2012I'm currently working on a new layout for the website but I have a few questions about the PHP itself. For the log-in form, where are those variables defined?
Great plugin, web coding is terrible though (sorry). I mean, in-line CSS, seriously? I've been fixing this all day and feel like nothing has been done.
Hop on IRC and ping me (veseoj) and we can talk about it!
Just an update (I've been working on this literally all day). If the site was a pool, I'd be drowning in in-line CSS.
-
View User Profile
-
Send Message
Posted Aug 23, 2012You had in an early version of WA+ in the Webinterface the option to show a transaction protocol. Why isn't it possible to show it? Or don't I find it??? The same is, that there is a row where stands "Market price goes here", whitch I don't understand... Weren't there a row with %? Thank you!
P.S.: Sorry for my bad english.
-
View User Profile
-
Send Message
Posted Aug 22, 2012@lorenzo_p
Looking forward to the new version, and im really hoping you are getting the deposit item sign to work, it is (imo) the most simple and easy method.
Oh and thank you for doing this :-)
-
View User Profile
-
Send Message
Posted Aug 22, 2012The Icon for mob spawners looks a little bit messed up :)
-
View User Profile
-
Send Message
Posted Aug 21, 2012@IModZombies4Fun
the jar installs like any bukkit plugin. just edit the config.yml file so it can connect to the database, then restart the bukkit server. the website installs generally like any php website. just upload the files and edit config.php so it can connect to the same database, then you're good to go. there are extra settings you can change in the WA_Settings table of the database. in the future, there will be an admin page on the website where you can go to change those settings instead of going to the database.
@SiDzej
stacking items on the website is ok. for instance, selling a stack of pick axes in one auction. when the player opens their mailbox in game, it will split them down to 1 item per slot. but you might be right. it may be better to only stack them as an auction, and split them up when they buy them. I'd consider this a minor problem, as long as they split up to their max stack sizes in game. the issue you reported about players creating signs while the plugin is unloaded, yes, that can be a problem. I've known about it, but it will require a bunch of new code and rewriting of existing code to fix it and have it track every sign. so it's something I should definitely add in the future. I just have to prioritize what issues I work on first. thanks for reporting these issues.
@Zach667711
I haven't uploaded an official update for 1.3.1 yet, but there are dev versions available. the older 1.0.8 does work with the latest bukkit, but depositing certain items into a mailbox has broke and players can't deposit them. this is the only known issue with that version. to fix this, I've had to remove the old mailbox signs and use a new method using a virtual chest. in a way, it's a can of worms. new code and new methods for doing things inherently opens up a whole new list of bugs. most of them have been fixed in the latest dev version, but a few I'm still working on.
recently, I've done some experimenting with mysql improved. I think long term, it's a good idea, but it may introduce a whole new wave of bugs and compatibility issues. I may have to trash those changes I started and come back to it after I get a stable update released.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Is it just me? this plugin does not work with 1.3.1 R2.0. It doesnt load on server startup. Can you please update this lorenzo I would be really greatful! thanks again for this amazing plugin! :D
Edit: this problem is with the latest dev build 1.1.4.
-
View User Profile
-
Send Message
Posted Aug 21, 2012I just found some bugs that you have in the newest version. On web you can stack your items like pickaxe by buying or canceling auction. If I unload WA+ from server and someone not authorized make sign with right text it can be used after loading WA+. I still don't understand what for is mailbox chest - you want to make easy access to user's stuff or limit items in auction? Because I have wonder about how to prevent users from using WA+ as big storage for their stuff if they want to move them across the map (we've got almost vanilla like server and this is not good, ok now there is ender chest but it's small).
-
View User Profile
-
Send Message
Posted Aug 20, 2012Okay, so my server is hosted by http://www.get-sourced.net/ and i cant add content to their servers, can you tell me step by step how to set this up so they can set it up nice and easy for me, thanks!
-
View User Profile
-
Send Message
Posted Aug 20, 2012@lorenzo_p
Thanks :D
-
View User Profile
-
Send Message
Posted Aug 20, 2012@IModZombies4Fun
try restarting your bukkit server again. that problem should be fixed already, but I'm still working on a few things before I post the update. if you'd like the most recent version, here's a link. http://webauctionplus.googlecode.com/svn/trunk/WebAuctionPlus-1.1.4alpha.zip it's mostly stable and working well, but there is a mysterious bug I'm working on today that only affects a few servers.
-
View User Profile
-
Send Message
Posted Aug 20, 2012Humm, doesnt seem to work for me, i have installed it, entered mySQL information, and reloaded / restarted. But whenever i type /wa password [my password], it won't set.
--20.08 11:24:10 [Server] INFO ... 15 more 20.08 11:24:10 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 20.08 11:24:10 [Server] INFO at me.lorenzop.webauctionplus.listeners.WebAuctionCommands.onCommand(WebAuctionCommands.java:122) 20.08 11:24:10 [Server] INFO Caused by: java.lang.NullPointerException 20.08 11:24:10 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 20.08 11:24:10 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) 20.08 11:24:10 [Server] INFO at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) 20.08 11:24:10 [Server] INFO at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) 20.08 11:24:10 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) 20.08 11:24:10 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) 20.08 11:24:10 [Server] INFO at net.minecraft.server.ServerConnection.b(SourceFile:35) 20.08 11:24:10 [Server] INFO at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) 20.08 11:24:10 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) 20.08 11:24:10 [Server] INFO at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) 20.08 11:24:10 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) 20.08 11:24:10 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) 20.08 11:24:10 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) 20.08 11:24:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) 20.08 11:24:10 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) 20.08 11:24:10 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) 20.08 11:24:10 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'wa' in plugin WebAuctionPlus v1.0.8