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 Nov 26, 2013If found an bug in the 1.7 item pack i posted some weeks ago.
The leaves are messed up :).
Please re-download the pack:
Link Removed
-
View User Profile
-
Send Message
Posted Nov 25, 2013@XZhyperX
It will work fine with modded items as long as the item's only hat an item ID and damage values. It the items save data in some other formats like enchanted books do it this data will be lost.
The most simple way to find out if it is working or not is to try it :).
Btw. the items will be displayed as Unknown item (Item ID). If you don't create/find the define file for the modded items.
-
View User Profile
-
Send Message
Posted Nov 24, 2013will this work on modded items, like doing ids?
-
View User Profile
-
Send Message
Posted Nov 17, 2013@lorenzo_p
Yes i just read the current group of the player and if the new group is a higher rank ill set the player to this group. Btw i handle the whole group checking highter/lower on the homepage itself because I'm much better in php then in java :) and it gives much more freedom to code changes on the homepage without have to change the java code all the time it.
If the new group is a lower rank than the actual group a message pops up if you rally want of change in a lower group. Idk why a player would do this but i let them the freedom if the really want to change in a lower group with less permissions ^^
The ability to promote/demote players based on a rank ladder defined in the permissions plugin itself would also be nice but i think its not really necessary because you can handle this within the homepage code.
-
View User Profile
-
Send Message
Posted Nov 16, 2013@MarioG1
thanks, good to hear someone already has a use for it. in that case, I'll be sure this is working. actually, I wrote this part of the code just last week. it has a custom event which is fired for each record inserted into the Actions table. handlers for the events are either manually enabled in the WebX config, or automatically by web auction, then I'll see what further I can do to make this more secure. maybe a whitelist of commands. to start out, I have handlers for economy, inventory, permissions, and worldguard. I'm still writing the code in these classes, but it's basically parsing a string, and doing what it says. simple enough, I'll document it on a wiki.
this uses a lock on the table, so multiple bukkit servers can't read the table at the same time. it may need to set a name for each server in the plugin config, so you know which the action is being sent to.
so, for your specific needs, you would just set the player to a specific group? the website could use the api to read the current group for the player, and disregard sending the action if the group already matches, or if the player is of a higher rank already. or do you use ladders? I haven't written this part yet, so I can brainstorm on how exactly it will work, and what it can do.
-
View User Profile
-
Send Message
Posted Nov 16, 2013@lorenzo_p
Nice :)
As soon as WebXBukkit is ready ill use it on my ranks page to promote the players if the have selected an rank. At the moment i use a small plugin i have written (it only passes commands/chat with a simply json file thing form the homepage to the bukkit server) but your plugin has much more nice features :).
-
View User Profile
-
Send Message
Posted Nov 15, 2013@sakura_blades
lol. well, I enjoy learning to improve my code. the new library plugin includes all the improvements I've learned, and pulls out a few features from web auction so they can be easily used by other plugins or stand-alone. a simple example, web auction already updates the players balance to the website, but it could be used by your own website without web auction. just load up WebXBukkit and use an api call in your website to display the players balance. it also works in the other direction. a website can give items or money, or promote or sudo on a player. here's a good example of what it could be used for. a new player signs up on your website, next step in the process, it would automatically promote the player from guest to noobie, assign them a worldguard plot, and tp them to the center of it. or it could be done after a donation is processed.
anything like this that could at all possibly be dangerous, it'll be disabled by default in WebXBukkit, but it can be enabled in the config. web auction plus will use these same features from WebX, but will enable what it needs to work properly without the extra work of enabling in the config. php on the website side should be easy to use also. it'll have an auto class loader to auto include any files it needs, so you include one file and use the api calls you need on your own website or in another plugin. hope that explains my intentions.
-
View User Profile
-
Send Message
Posted Nov 14, 2013@lorenzo_p
:o I guess I'm not completely understanding what this new plugin WebXBukkit will do?
Anyway I could convince you to simplify it for those of us who are "simple minded" or can't read code? xD
-
View User Profile
-
Send Message
Posted Nov 11, 2013@lorenzo_p
yes, i'm sorry, i don't look zo much here :$
-
View User Profile
-
Send Message
Posted Nov 7, 2013here's what I've been messing with lately. started with fresh repos the other week. this is the web auction plus repo.
https://github.com/PoiXson/WebAuctionPlus-1.x
this new plugin, WebXBukkit is a library for web auction which handles synchronizing player inventory, economy, and permissions, between the bukkit server and your website. it can also be used stand-alone, without the web auction plugin, then you can use the api classes for the plugin right on your own website. a short php script can reward items or money to a player, or read permissions, or promote a player, right from your website, however you'd like it to work.
https://github.com/PoiXson/WebXBukkit
and one more repo. this code is anything commonly used, which isn't specifically related to bukkit, but can be used in other java projects. this code is compiled into the WebXBukkit plugin and has no other requirements.
https://github.com/PoiXson/CommonJava
I'm committing code has I finish it, so I do have a few things that are just about finished, but don't appear in the repo's yet, soon. everything that is pushed to the repo is finished and working.
I get plenty of comments on how well done the plugin is, but I'm honest, I'm not satisfied with the code. so much more potential. check back if you'd like to test out the WebXBukkit plugin.
-
View User Profile
-
Send Message
Posted Oct 31, 2013@coensteven
is this a better translation than what's currently in the plugin? https://github.com/PoiXson/WebAuctionPlus-1.x/blob/master/java/src/languages/nl.yml
-
View User Profile
-
Send Message
Posted Oct 27, 2013Here is the Nederlands lang, www.dev.coensteven.com/nl.zip
-
View User Profile
-
Send Message
Posted Oct 27, 2013@lorenzo_p
I'm adding it to-day.
-
View User Profile
-
Send Message
Posted Oct 26, 2013Is it possible to show statistics in some way? :)
a top 10 top sellers?
-
View User Profile
-
Send Message
Posted Oct 26, 2013@MarioG1
thanks. committed the 1.7 items to the repo and created zip files.
http://webauctionplus.com/downloads/ItemPack-mc1.6.4.zip http://webauctionplus.com/downloads/ItemPack_Default_mc1.7.2_untested.zip
-
View User Profile
-
Send Message
Posted Oct 26, 2013I've added all 1.7 items :)
You can download the 1.7 item pack here.
I'ts possible that there are some bugs because i can't test if all items are working before bukkit has released an 1.7 compatible version.
If you find any bugs please tell me them.
-
View User Profile
-
Send Message
Posted Oct 25, 2013@coensteven
the table prefix is WA_ by default. it's what will be added to the beginning of each table name in the database. it's best to change it when you first install the plugin, or else you'll have to rename all the tables. also, the table prefix has to match in the configs for both the bukkit plugin and the website.
btw, if you send me the dutch translation, I'll add it to the repo.
-
View User Profile
-
Send Message
Posted Oct 25, 2013What is the Table prefix? I don't use it normally. Thanks!
-
View User Profile
-
Send Message
Posted Oct 24, 2013@MarioG1
thanks for the files. saves me time hunting down images. I have 1.6.4 items committing to the repo now, if my computer stops being slow. don't wanna kill the process and corrupt the local git repo, then have to start over with the commit again. lol. I'll write a quick bash script to checkout the item files and zip them so I can post the updated zip.
I'm working a little on some of the code, I'll see if I can maybe get a few things added that I was working on. the live economy updating to the website should work well. that feature will also be extended to handle permissions and possibly chat. api's will be available for this library, and it can work stand-alone too, without the web auction plugin.
help with the website? I know many people make their own custom changes to the website code for their own use. have anything you'd like to contribute, or care to write something? not only will many other people get to use the improvement, but you wont have to manually add your customization each update.
-
View User Profile
-
Send Message
Posted Oct 24, 2013got tired of trying to clean up the git repo after migrating from svn.. I've finished committing a fresh copy of 1.1.9 to github to work from. this gets rid of all the bloat too. no more jar's in the repo, not worth the performance hit.
https://github.com/PoiXson/WebAuctionPlus-1.x
so no one's disappointed if you try sending me a pull request, I'm still learning git and probably wont get the hang of handling them right away. also, I am picky about what gets committed to the official repo, so if the pull request isn't perfect, it'll have to be fixed before or after merging.