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 madtomic madtomic Jul 29, 2014 at 21:39 UTC - 0 likes

    @lorenzo_p: Go

    Do you think you can add support for plugin like MythicDrops?

  • Avatar of madtomic madtomic Jul 23, 2014 at 05:47 UTC - 0 likes

    @lorenzo_p: Go

    Thank you. I figured it out why it wasn't working. Can you add in command for the mailbox? It should be easy to add I think. Something like /wa mailbox the reason then I could use npcs bind with command and it would work when you right click a npc.

  • Avatar of lorenzo_p lorenzo_p Jul 21, 2014 at 23:56 UTC - 1 like

    @madtomic: Go @madtomic: Go @madtomic: Go @madtomic: Go

    yea, it works with recent bukkit versions. there's no eta for the next plugin update, but I may have a site soon with a nightly build. if you're not using iconomy with mysql, you'll have to use the deposit/withdraw signs for now. working on a fix for this. behind on bug tickets, but I'll look over them again soon.

    @TheVnChecker: Go

    I thought I fixed potions before. the item defines file has entries for creative and crafted potions. it's possible the id's changed again. the best way to fix this, switch to using the item name. being worked on but much to do.

    3.0 was a from scratch project, mostly experimental. I'm now attempting to take what I've learned from that project and add the changes into the current version. if I don't break everything in the process, I'll commit it to the repo. we'll see what I come up with.

  • Avatar of TheNytangel TheNytangel Jul 21, 2014 at 02:34 UTC - 0 likes

    @TheNytangel: Go

    Actually, I have no idea what any of this means... hopefully lorenzo_p can explain this, if not, good luck :P

    Edit: line 3934 is where potions are

    Last edited Jul 21, 2014 by TheNytangel
  • Avatar of TheNytangel TheNytangel Jul 21, 2014 at 02:30 UTC - 0 likes

    @TheVnChecker: Go

    What version of Minecraft are you using? Minecraft has been switching over to minecraft:torch or something like that, so it might not show meta data. But if it does:

    If you have on item IDs (I think it is F3 + H), they will show you meta data. If you look in the website files for /inc/ItemPacks/default and then go to item.defines.php, down at the bottom of the file is where potions and their meta data is and you can add it.

    I don't know if lorenzo_p plans on fixing this until he releases WA+ 3.0, but until then, I'd say just add your potions to that.

    Last edited Jul 21, 2014 by TheNytangel
  • Avatar of TheVnChecker TheVnChecker Jul 20, 2014 at 23:05 UTC - 0 likes

    @TheNytangel
    Can you look into the Potion Problems? There is a bug that player can't sell potions because "Unknown Potions"... There are no errors in my console.

    [Edit]
    Self produced potions are unknown but creative potions works fine...

    Last edited Jul 20, 2014 by TheVnChecker
  • Avatar of madtomic madtomic Jul 18, 2014 at 18:26 UTC - 0 likes

    i put in tickets. npc can be use if this has more commands like /wa webauction+ mailbox for using the chest. i got the iConomy to work with this. Thanks for your help.

  • Avatar of TheNytangel TheNytangel Jul 18, 2014 at 16:35 UTC - 0 likes

    @madtomic: Go

    I don't believe so. I think it's only the sign.

  • Avatar of madtomic madtomic Jul 18, 2014 at 16:31 UTC - 0 likes

    does this have command? /wa something to use the mailbox?

  • Avatar of madtomic madtomic Jul 15, 2014 at 23:59 UTC - 0 likes

    It seems Vault not woking? I'm using BOSEconomy. How can I hook this to use the MySQL already in place?

Inventory Method

  1. Choice:

  1. Results
  2. 0 comments

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
28,368
Recent files

Authors