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 Jul 4, 2012Is it possible to add custom table names? I would like to link this plugin to AuthMe and phpBB.
-
View User Profile
-
Send Message
Posted Jul 3, 2012when you gona add more tekkit items?
-
View User Profile
-
Send Message
Posted Jul 3, 2012i run a tekkit server this si the error i got by doing /wa password *
http://pastebin.com/6SS0tppH
Fixed by setting the link in the config
-
View User Profile
-
Send Message
Posted Jul 3, 2012Ya tekkit support would be awesome
-
View User Profile
-
Send Message
Posted Jul 3, 2012i could pay you to add tekkit support :D $$ it seams your already doing this XD if you would like a tester i get 50+ players a day on :D
-
View User Profile
-
Send Message
Posted Jul 3, 2012So uhh is there a full configuration guide for the webserver side of things or is there a thing inside the files or a github page maybe?
-
View User Profile
-
Send Message
Posted Jul 3, 2012@Capfan
yea, this is a known bug. there is a way to fix this, but I don't know enough jquery to get it working. is anyone able to help get those sorting columns working? if I could find the right example of it someplace, I could probably figure it out.
@pocketkings719
there were plans for this on the drawing board. I called it a wish list in the poll at the top of this page, but it only got a 5.1% vote. it's still a possibility in the distant future, but other features will come first.
-
View User Profile
-
Send Message
Posted Jul 3, 2012@lorenzo_p: Do you have plans to allow players to offer to purchase items rather than just sell items?
-
View User Profile
-
Send Message
Posted Jul 3, 2012It appears that the Qty, Price (each) and Price (total) columns sort alphabetically rather than numerically. Is there a plan to address this at some point?
-
View User Profile
-
Send Message
Posted Jul 3, 2012@rhflffk
what version are you running? I think the transactions.class.php file is only included in dev versions, but much of those versions hasn't been finished yet. I recommend 1.0.8
@rhflffk
minor mistake on my part. here's a copy of the fixed file. http://pastebin.com/1bwCSUkx
-
View User Profile
-
Send Message
Posted Jul 2, 2012Notice: Undefined index: token in C:\APM_Setup\htdocs\inc\classes\csrf.class.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at C:\APM_Setup\htdocs\inc\classes\csrf.class.php:23 in C:\APM_Setup\htdocs\inc\classes\csrf.class.php on line 43
-
View User Profile
-
Send Message
Posted Jul 2, 2012Warning: require(inc/classes/transactions.class.php [function.require]: failed to open stream: No such file or directory in C:\APM_Setup\htdocs\inc\inc.php on line 11
Fatal error: require() [function.require]: Failed opening required 'inc/classes/transactions.class.php' (include_path='.') in C:\APM_Setup\htdocs\inc\inc.php on line 11
-
View User Profile
-
Send Message
Posted Jul 2, 2012@dickwick
odd. maybe this is the same bug that was reported before. someone said enchantments were being removed. maybe, first thing I do when I start working on this code again, I'll make another attempt at perfect item deposit/withdraw.
-
View User Profile
-
Send Message
Posted Jul 2, 2012That's weird. I don't have any enchanting plugin and all enchantments on my server are from classical enchant tables.
-
View User Profile
-
Send Message
Posted Jul 2, 2012@dickwick
unsafe enchantments are any levels that are above what's normally possible in minecraft. instead of throwing an exception from having an invalid level, I've added that unsafe enchantments setting to the config. if it's enabled, enchantments up to level 128 are allowed. if it's disabled, it will give you that warning in console and force the enchantment level down to one that's natural for minecraft.
-
View User Profile
-
Send Message
Posted Jul 2, 2012[WebAuction+] Removed unsafe enchantment: Enchantment[50, ARROW_FIRE] [WebAuction+] Removed unsafe enchantment: Enchantment[35, LOOT_BONUS_BLOCKS] [WebAuction+] Removed unsafe enchantment: Enchantment[35, LOOT_BONUS_BLOCKS] [WebAuction+] Removed unsafe enchantment: Enchantment[32, DIG_SPEED]
What is this? I see no documentation about "unsafe" enchantments, only variable in settings -_-
-
View User Profile
-
Send Message
Posted Jul 1, 2012@TillyComes
it uses a standard md5, both in game and on the website. it does have commands for changing passwords for other players, like /wa password <playersname> <newpassword> and also works in console. as a backup method, it's also possible to set the password for a player right in phpMyAdmin. just enter the password and select md5 from the dropdown list next to it.
you can look in the files, inc/pages/login.php and inc/classes/user.class.php to see how I do it. you could probably include that class file right from where it is and access the same class to handle the login for you. would some kind of api be helpful?
@caidcurse
do you have access to a database tool like phpMyAdmin? first stop the server if it's running, then drop all the wa_ tables from that database. when the plugin loads again, it will create empty tables.
-
View User Profile
-
Send Message
Posted Jul 1, 2012Could you add a command to reset the database? I've reset my world, but have players bringing in their mass amounts of built up resources (and money) from webauction. There's no easy way to reset it, unfortunately.
-Caid.
-
View User Profile
-
Send Message
Posted Jul 1, 2012What type of encryption does this plug in use for the passwords? I'm trying to make another web script for iConomy but im using the WebAuction table for log in handling.
-
View User Profile
-
Send Message
Posted Jun 30, 2012Can someone help me with the setup process?