WebAuctionPlus

WebAuctionPlus 1.1.3

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.

Performance increase: I noticed a lot of people reporting lag with the original web auction, especially when using a remote database. These problems should all be fixed now. WebAuctionPlus has all new database connection code to do a "pool of connections". New connections are only made if all existing ones are in use. The entire web interface is also being rewritten to greatly improve performance with MUCH fewer queries to the database. Most tasks are now fully multi-threaded, so login lag coming from this plugin is non-existent.

Further improved performance: Starting with 1.0.9, when a player logs in, the code that runs for that player has been moved to a 2 second multi-threaded delay. Permissions are updated, and alerts the player of new sales and items in their mailbox. This should fix the problem some servers were having where that small bit of code running in the main server thread would cause just a small lag spike. Other things, like item depositing and withdraw may still cause a small bit of lag. This and other things will be multi-threaded once I figure out how to do it without causing any issues.

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/

I can host your website! This plugin does require a web server with php support. It doesn't have a built in web server, and there are currently no solid plans to add this. WebPortal is similar to this plugin, and does have a built in web server, but it doesn't share much common code with this plugin and doesn't have the same features. That said, I'll make you an offer to help you out. Make a donation with the button below and send me a pm and I'll host your website for you on my web server. The server is hosted in a datacenter on the US east coast. It has cpanel, ftp, mysql, all the bells and whistles. I'll even set up the WebAuctionPlus website for you and update it when you'd like. If you have your own domain, you're welcome to use it, or I can give you a subdomain of webauctionplus.com . If you have access to the dns records of your domain, I can help you set up a subdomain to point to my server, like shop.myminecraftserver.com . However you'd like it set up.

PayPal - The safer, easier way to pay online!

donate bitcoin

My plans

Sales will be logged to the database starting with version 1.1.3, but a website page wont be added for it just yet. The data will be retained in there for the following update which should include the page. Market prices and recent signs should also be working in one of these next updates.

I'm also starting on a json data connection between the website and the plugin which will be used to get the players balance with any vault supported economy, and finally removing those pesky money deposit/withdraw signs.

A few improvements so far

  • 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

  • sign shops
  • server shops (unlimited stock improved)
  • bank accounts
  • better support for vault economies
  • better support for votifier
  • custom description for items being sold
  • website will obey banned-ips.txt
  • wish list / auto sales
  • track all wa signs to prevent unauthorized signs

See it in action!

If you'd like to test drive the plugin before setting it up on your own server, you're welcome to try out my server. You can view this website link without logging in, but you'll have to log onto my server and create a web auction account first to do anything on the website.

Youtube Videos

metrics.poixson.com

PayPal - The safer, easier way to pay online!

Languages

Currently supported 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.

WebAuctionPlus Signs

  • %waTitle - items name
  • %waPrice - price each
  • %waSeller - sellers name
  • %waType - Buy Now or Auction

Source Code

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 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.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)

Note: There are major changes being made to the database in Plus. (as of version 1.0.3) When the plugin jar loads for the first time, it will update and convert your database, so be sure to have a backup. As of 1.1, the way enchantments are stored in the database has been changed again to simplify code and further improve stability. When the latest plugin jar is loaded, the database will be updated and the enchantments converted.

How to Install

Join us and chat some time on our irc channel. #webauctionplus on esper.net webchat.esper.net

2013-04 State of the plugin

As I've stated in comments, I'm not adding features to 1.1 anymore. I'll continue fixing bugs if any are found, but my focus is on a new version of the plugin. if anyone would like to take over working on the 1.1 version, send me a pm. I'll gladly help you get started. I'll still want to look over code to be sure high standards are met. it must be reliable and well written code, but credit will always be given where it's due.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of MarioG1 MarioG1 Oct 21, 2014 at 20:06 UTC - 0 likes

    Hi

    I've updated WebAuction to support UUID's.

    You can download it here.

    If you want full UUID support you have to use CraftConomy.

    Please backup your iConomy and WebAuction Database before installing this. I don't had time to test everything!!! There might be bugs, If you find any please pm me.

    For those who don't trust me you can find the source code here to compile it yourself.

    Last edited Oct 21, 2014 by MarioG1

    ETG Clan

    Visit us at www.etg-clan.at

    BFAK:90639210,0694c563f402016ce358b42192477de83036dda974e2c26bfa3c5e941af880e4

  • Avatar of lorenzo_p lorenzo_p Oct 14, 2014 at 02:24 UTC - 0 likes

    I was fine with the dmca. if the craftbukkit server must go away, it'll set things back but plugins can still continue using the bukkit api, and a new server will eventually take its place. that was with the understanding that minecraft would hopefully one day become open source. that was before the microsoft buy-out. I don't agree with this, and I wont continue developing plugins for this game. the current version of web auction plus can stay, as well as all of the code. if someone else wants to take over the project, I'll pass it on to them once I know they can handle it and do good work. I'll even hand over a copy of my unfinished update. as for me, it's clearly time to move on from this. my non-minecraft projects are doing well and need my attention. I'll be around, cya.

  • Avatar of DenStiveGud DenStiveGud Oct 13, 2014 at 12:13 UTC - 0 likes

    Hey, I am really happy with this plugin. I have a server with mods and now I'm about to add mods items. It is easy to put in the codes, but how do I take a picture with a withe background like yours?

  • Avatar of MarioG1 MarioG1 Sep 23, 2014 at 19:00 UTC - 0 likes

    @lorenzo_p: Go

    I hope we will see this plugin on 1.8 on Sponge or whatever will replace bukkit/spigot.

    And you are not the only plugin dev, server owner and or minecraft player who is waiting at the moment. Most of us don't agree with the stuff what happened to bukkit. Wolverness DMCA claim was an big mistake but I don't want to talk about this...

    I know that you are p** of all this. It will be lots of work to port all this plugins to a new API but I think it's worth it and I just want to say:

    You are not alone

  • Avatar of lorenzo_p lorenzo_p Sep 22, 2014 at 11:30 UTC - 0 likes

    I love playing minecraft, and I love coding. I have something in my workspace only inches from being ready for testing. I would like to see all the bugs fixed, and the plugin continue, as well as minecraft and bukkit, but here's the thing.. I don't agree with recent events. it may mean waiting endless months or years or something new to come along, but for now, we wait and see what happens with minecraft. if enough servers still want this, maybe I can be talked into continuing work on the plugin.

  • Avatar of lorenzo_p lorenzo_p Sep 10, 2014 at 19:42 UTC - 0 likes

    the code I've been putting together recently is basically code taken from the 3.0 version I was working on. since it was experimental, I'm taking what worked best from it to make 1.2 . I do have something very close to ready for testing, although not yet usable on live servers. when it's ready, I'll post a snapshot.

    unfortunately it seems there may not be a craftbukkit 1.8 update. if the lawyers can sort things out, maybe eventually we'll get an update. if not, very sad, but we can continue on. web auction plus will continue to be worked on and updated in the future, for use with the latest available bukkit version. when the minecraft api is eventually ready, we'll see you there.

    if the dev.bukkit.org website is ever taken down, I'll move everything to webauctionplus.com

    Last edited Sep 10, 2014 by lorenzo_p
  • Avatar of madtomic madtomic Sep 10, 2014 at 02:06 UTC - 1 like

    @lorenzo_p: Go

    I'm glad to hear. I hope you guys will have 3.0 out later.

  • Avatar of lorenzo_p lorenzo_p Sep 04, 2014 at 15:54 UTC - 1 like

    the future of bukkit is currently up in the air. there are many rumors going around, but nothing has been remotely confirmed. we may have to wait for official answers, but I wouldn't freak out just yet. it's still possible we'll get a 1.8 update. as of now, work on this plugin continues. more to come soon.

  • Avatar of Adzdon Adzdon Aug 29, 2014 at 21:53 UTC - 0 likes

    This needs development build, as were getting loads of bugs and errors :/

    http://i.imgur.com/Les9NXV.png
    Come and join the Adventure, Survival - Prisonbreak - Creative
    IP: play.blazecraft-mc.net

  • Avatar of MGbeenieboy MGbeenieboy Aug 25, 2014 at 20:25 UTC - 0 likes

    I tested 2 database, one remote and one local. The plugin failed the connection. Using spigot 1611.

Inventory Method

  1. Choice:

  1. Results
  2. 1 comment

Facts

Date created
Apr 08, 2012
Categories
Last update
Jan 12, 2014
Development stage
Beta
Language
  • deDE
  • enUS
  • esES
  • frFR
  • ptBR
License
GNU General Public License version 3 (GPLv3)
Curse link
WebAuctionPlus
Downloads
29,100
Recent files

Authors