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 7, 2012Почему у меня в веб-шопе невидит вещи из других модов пишет неизвесный предмет
-
View User Profile
-
Send Message
Posted Aug 7, 2012Can dev. please give me the latest update of WebAuctionPlus Home page interface and php updates, I mean the link to the update...
Thanks...
-
View User Profile
-
Send Message
Posted Aug 7, 2012bukkit 1.3.1-R1.0 is out! still a bit more work to do on web auction, but if I don't come across anything I can't think of that needs to be finished yet, I should have something ready for initial testing tonight.
-
View User Profile
-
Send Message
Posted Aug 6, 2012@mobilephone2003
awesome. looks great :-D I'll link to it in the plugin description above.
@snitride
hard to know what could be causing that. I can't think of anything off hand that would cause it to not work. I made a note for myself, so I'll test it before I release this next update.
@DjBuRnOuTQc
yup, I've been hard at work on this. when I have a pre-release ready in the next few days I'll post here to let everyone know. there are some big changes to some of the code, so we need to test everything we can think of before putting this on a live production server.
@mobilephone2003
if you really want 1.0.9, use the zip that's in the repo. don't use the in development files from the repo. there are changes to how enchantments are stored and other things that are still being finished, but are currently broken. if you really want to play with it, you can add a column to the WA_Items table called enchantments as varchar(255) and to the WA_Players table called Locked tinyint(1) but you'll have to compile the plugin jar to support it, but parts of the code aren't finished yet, and enchantments wont be converted to the new column.
-
View User Profile
-
Send Message
Posted Aug 6, 2012I've been trying to get the enchantments set up from 1.0.9 (from a 1.0.8 database) and it doesn't want to work
I manually added the columns from MySQL but no dice.
Running 1.0.9 on the 1.0.8 database now it looks like, is there anything i can do to generate the extra columns?
-
View User Profile
-
Send Message
Posted Aug 6, 2012@lorenzo_p
Do you know if you'll get a stable build updated on here when Bukkit 1.3 RB hit the shelves? I'm really looking forward using this plugin on a production server.
-
View User Profile
-
Send Message
Posted Aug 5, 2012Update2 Strange if i open the site directly and not via iframe it works like a charm... strange, sorry to have bothered you, i think i can figure out now..
Update i updated to 1.0.9 Version but i am having same problem as mentioned below, i am wondering if it isn't a permission problem.
Maybe i am just too dumb to realize what i am doing wrong.. Here my situation: I had webauction up and running like it should before i updated to the latest mc and cb dev-version. After the update, everything runs trough without any errors, but if i try to log my self in, of course after i gave my self a password with "/wa password" ingame (no errors in log), it just hangs at the webauction login screen and i cant login "banginghisheadagainsttable!", if i enter a wrong password intentionally i also get the "failed to login" message like i should . Also my sql server is still set up and receiving data...
Please help, greetings, snitride
-
View User Profile
-
Send Message
Posted Aug 5, 2012Hey, I've made a video demonstrating an overview of the plugin
http://www.youtube.com/watch?v=AM5ncppfTg4
-
View User Profile
-
Send Message
Posted Aug 5, 2012@MogriMoogle
that feature has been broken since the point when I started a full rewrite of the plugin. I plan to add it back in very soon. it relies on transaction logging, which I plan to improve. these are important features, so it's high on my todo list to finish this plugin.
-
View User Profile
-
Send Message
Posted Aug 4, 2012Anyone else having an issue getting a sales message to report to players when someone buys their item? I have ReportSales enabled in the config, but it's not working. No error, no message in-game, no SQL logging for sales. Has been broken before 1.3. Server is still on 1.2.5. Made a ticket, but no response.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@FrostEnergy
I haven't gotten any exceptions yet, with my initial testing, but the deposit mailbox sign seems to be buggy. when you right click the sign, bukkit seems to think you're clicking on air.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@lorenzo_p
I am leading myself to believe I was missing a dependency of some sort during my previous testing. 'Nix that, Thanks for your help, Keep up the good work.
All is well :]
-
View User Profile
-
Send Message
Posted Aug 2, 2012@FrostEnergy
what's the problem you're having? the deposit sign is acting a bit odd for me, but no exceptions in console.
-
View User Profile
-
Send Message
Posted Aug 2, 2012I hope an update is in progress for this wonderful plugin :/ Its broken for me on 1.3.1.
-
View User Profile
-
Send Message
Posted Aug 1, 2012@lorenzo_p
i fixed the table prob long time ago, just forgot to tell you. i still have the prob with the stacktrace when i use the password feature.
-
View User Profile
-
Send Message
Posted Aug 1, 2012@Roervig2473
if the web interface can't find the WA_Settings table, that usually means the plugin itself hasn't successfully connected to the database yet. the first time the plugin does connect to the database, and finds the tables are missing, it will generate them automatically. if you're running bukkit and the website on separate servers, you'll need to add the ip address of the other server to the allowed remote hosts for that username.
@Roervig2473
try restarting the server. does the problem go away then? are there any errors or exceptions when the plugin loads?
for everyone running a tekkit3 server, exciting news! all the item info and icons for all the mods in tekkit have been added. TheNytangel is still working hard on the cut block images, but that's the only mod left to complete!
-
View User Profile
-
Send Message
Posted Jul 31, 2012[code]31.07 06:07:26 [Server] INFO ... 12 more 31.07 06:07:26 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 31.07 06:07:26 [Server] INFO at me.lorenzop.webauctionplus.listeners.WebAuctionCommands.onCommand(WebAuctionCommands.java:122) 31.07 06:07:26 [Server] INFO Caused by: java.lang.NullPointerException 31.07 06:07:26 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 31.07 06:07:26 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:451) 31.07 06:07:26 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:82) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:102) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:246) 31.07 06:07:26 [Server] INFO at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:754) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:771) 31.07 06:07:26 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:811) 31.07 06:07:26 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:484) 31.07 06:07:26 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 31.07 06:07:26 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) 31.07 06:07:26 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'wa' in plugin WebAuctionPlus v1.0.8 31.07 06:07:26 [Server] SEVERE null[/code]
i get that when i try to do /wa password test
-
View User Profile
-
Send Message
Posted Jul 31, 2012i get this error:
MySQL ERROR - File: /home/craftin2/public_html/auction/inc/classes/settings.class.php Line: 8 Table 'clientrdash.wa_settings' doesn't exist
SELECT `name`,`value` FROM `WA_Settings`
-
View User Profile
-
Send Message
Posted Jul 31, 2012@xcanner
exactly what I was looking for, thanks. it'll be included in the next update.
I think tomorrow I'll start adding the new items for 1.3. bukkit will probably take at least a few days to get updated. I think a good goal would be to have an update ready soon after bukkit is out.
-
View User Profile
-
Send Message
Posted Jul 30, 2012@lorenzo_p
Why use minotar.net at all?
https://github.com/caseypugh/minecraft/blob/master/avatar.php
There are lots of other examples out there!