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 Sep 16, 2012@lorenzo_p
Thanks! I want to help you with your developing - i'd like to prepare a russian localization for web side. 1) Can you give me an example of "lang array" from en.php ? 2) If I will create a new file ru.php with russian words, how can I apply this localization to the web-site?
-
View User Profile
-
Send Message
Posted Sep 16, 2012here it is. not much has changed since the last update the other day, but there is at least one bug fix, and I'll upload this to dev bukkit as the first beta. http://dev.bukkit.org/server-mods/webauctionplus/files/12-web-auction-plus-1-1-7/
@MarioG1
I don't use spout, so unsure of the details of that. does spout have any potions different than what's in minecraft 1.3? or are you using an older version?
-
View User Profile
-
Send Message
Posted Sep 16, 2012@krovnatik
Soon
-
View User Profile
-
Send Message
Posted Sep 16, 2012@lorenzo_p
Thanks for the reply :D
-
View User Profile
-
Send Message
Posted Sep 16, 2012Approximately when next version will be released? (with canceling button fix)
-
View User Profile
-
Send Message
Posted Sep 16, 2012@lorenzo_p
There is something wrong with the potion (or its caused by Spout but i can't test it at the moment)
Harming Splash potion LV 2 has the correct damage value but it is shown es unknown potion on the homepage.
But Speed LV 2 has 66 as damage value in the database but should be 8258. Potion of Healing II has the correct data value but its shown as unknown potion on the homepage. Strength has 73 as damage value but should be 8256
I found another bug in 1.1.6:
Enchantments are shown as Array.
-
View User Profile
-
Send Message
Posted Sep 16, 2012@CeramicTitan
just upload the php files that come in the zip to your web server, and edit config.php so it can connect to the same database as the plugin does, and you should be good to go. the plugin will generate the database tables automatically the first time it successfully connects, and the website wont work until it does this.
-
View User Profile
-
Send Message
Posted Sep 15, 2012How do i install the webgui
-
View User Profile
-
Send Message
Posted Sep 15, 2012@Lcarens
actually, found the problem pretty fast, and wont be hard to fix. just didn't add multi-language support to a function. I'll look over the entire file again and see if I find any other functions where I missed it.
@MarioG1
damage value 8192 I don't think is valid. I don't see it anywhere in my code, so I don't think it was web auction plus that added it. 66, 67, 73, and 37 also aren't valid. if you remove those, the rest should be good. I don't think the plugin is capable of adding those damage values, unless there's a mod adding more custom items.
no other bugs to report?
-
View User Profile
-
Send Message
Posted Sep 15, 2012@lorenzo_p
Yeah. I'm assuming that it has something to do with the damage value, since it updated in order to support potions.
-
View User Profile
-
Send Message
Posted Sep 15, 2012@Lcarens
odd. I'll give it some testing today and see if I can find the problem. so you deposit a tool or armor, post it for sale, then it causes the problem?
-
View User Profile
-
Send Message
Posted Sep 14, 2012@lorenzo_p
Nevermind, all tools/armor cause the error. Even newly created auctions.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@lorenzo_p
No, but I managed to fix it. Apparently it didn't like the 'Brand New!' tools/armor from before the update, so I had to delete those auctions from the MySQL database.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@lorenzo_p
One damage value is 8192 Mundane Potion (Minecraft Wiki)
And here is are the other portions + damage values (some of the entries are very old).
https://docs.google.com/open?id=0B88_yu8ZPysRN0Q2RXNrWEFDWGs
-
View User Profile
-
Send Message
Posted Sep 13, 2012@Lcarens
can you see if your web servers control panel has php error logs someplace? if not, this could be difficult to debug.
@MarioG1
the first time 1.1.6 loads, it should give you a message in console saying it's updating the potions. if you look in WA_Auctions or WA_Items, look for a row with the item id 373, then tell me what damage value that row has. here are the damage values the plugin changes http://code.google.com/p/webauctionplus/source/browse/trunk/java/src/me/lorenzop/webauctionplus/mysql/MySQLUpdate.java#24 first number in each row is the old damage value, second number is the new damage value.
-
View User Profile
-
Send Message
Posted Sep 13, 2012@lorenzo_p
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@lorenzo_p
Potions are still shown as unknown potion in 1.1.6.
-
View User Profile
-
Send Message
Posted Sep 12, 2012http://code.google.com/p/webauctionplus/source/browse/trunk/WebAuctionPlus-1.1.6alpha.zip
a few more bug fixes. the money deposit/withdraw signs work again, finished the search box on the current auctions page, and added more custom items for tekkit. one of the last minecraft updates changed the damage id's for potions, so this update will automatically fix those for you in your database.
those of you who run this plugin with a language other than english, there have been a few new messages added to the language files for the plugin. here are the files http://code.google.com/p/webauctionplus/source/browse/trunk#trunk%2Fjava%2Fsrc%2Flanguages you're more than welcome to translate the new entries for your language. also, multi-language support has been added for item names. here is the file for the default minecraft items http://code.google.com/p/webauctionplus/source/browse/trunk/www/WebInterface/inc/ItemPacks/default/item.defines.php feel free to add your own language translations for these items and send it to me on pastebin. someone has translated the items to german already, but everything else still needs to be done. also, please note, the custom item packs for tekkit and other mods do support multi-language entries if you would like to add those, but I don't plan on adding those to the official version I post here. I'd be insane to take on another 20,000+ lines of data. if there's much demand for it, we'll see, but it's already a lot to maintain just for english. so, multi-language item names ARE supported for all item packs, but they'll only be included for the default minecraft items.
I know there are a few features people have been waiting on. I'm happy to say development has been slowing because the plugin is stabilizing. if no major bugs are reported in 1.1.6 alpha, I'll promote that version to 1.1.6 beta and upload it to dev bukkit, then I can start adding features again. the website itself will get multi-language support, configurable market prices will be added, as well as a transaction log page, and an admin page. there are many other features I'd like to start on. as always, I appreciate your comments, be it good or bad, or a suggested idea. donations are also appreciated. it does cost me money to keep everything going so I can work on this project, but I do it because I enjoy it. thanks again for the support.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@ElectricPulze
that usually means you have to set up the mysql connection info in config.yml. you'll have to add the same or similar settings to config.php for the website too. the website wont work until the plugin successfully loads and connects to mysql, then it will automatically generate the database tables.
-
View User Profile
-
Send Message
Posted Sep 12, 201210:50:35 [INFO] [BOSEconomy] Loading BOSEconomy v0.7.3.1
10:50:35 [INFO] [Vault] Loading Vault v1.2.18-b229
10:50:35 [INFO] [WebAuctionPlus] Loading WebAuctionPlus v1.0.8
10:50:35 [INFO] [Vault] Enabling Vault v1.2.18-b229
10:50:36 [INFO] [Vault][Economy] BOSEconomy7 found: Waiting
10:50:36 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission
system.
10:50:36 [INFO] [Vault] Enabled Version 1.2.18-b229
10:50:36 [INFO] Preparing level "world"
10:50:36 [INFO] Preparing start region for level 0 (Seed: 8694039615350242645)
10:50:37 [INFO] Preparing start region for level 1 (Seed: 8694039615350242645)
10:50:37 [INFO] Preparing spawn area: 0%
10:50:38 [INFO] Preparing start region for level 2 (Seed: 8694039615350242645)
10:50:38 [INFO] Preparing spawn area: 0%
10:50:38 [INFO] [BOSEconomy] Enabling BOSEconomy v0.7.3.1
10:50:38 [INFO] BOSEconomy v0.7.3.1 enabled.
10:50:38 [INFO] [Vault][Economy] BOSEconomy hooked.
10:50:38 [INFO] [WebAuctionPlus] Enabling WebAuctionPlus v1.0.8
10:50:38 [SEVERE] [WebAuction+] *** Failed to load WebAuctionPlus. Please check
your config.
10:50:38 [INFO] [WebAuction+] Disabled, bye for now :-)
10:50:38 [INFO] Server permissions file permissions.yml is empty, ignoring it
10:50:38 [INFO] Done (2,808s)! For help, type "help" or "?"
What should I change in the config to fix the:
*** Failed to load WebAuctionPlus. Please check your config. ???