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.

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

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

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

Statistics

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.

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

  • Avatar of Karudel Karudel Jul 27, 2015 at 15:16 UTC - 0 likes

    @MarioG1: Go

    Oh, so it's not an issue with it's storing all the data for all items including the item ID, so would it work if there's a desync in item IDs between servers? What I mean by this is, say item 'A' has an ID of 1001 and that same item has a item has an ID of 1002 on a different server, from what I've experienced, it will keep the item ID, and unfortunately that same item prevent you from access the mailbox depending on which server the item is originally from.

    So I was just wondering if it'd be possible to keep all the same data, just drop the item ID and then it'd be completely cross server compatible with forge servers that will have different item IDs between different servers.

    -

    As for the NBT part, unfortunately no, the was a bit of a fight between Forge and Bukkit about merging together, from what I was told and from what I found out, Bukkit had an issue with it. Anyway, that's neither here nor there. I've tested it, and unfortunately no, this plugin doesn't store NBT data. Reason being from what another bukkit plugin dev told me is Bukkit doesn't see NBT data, so it can't store it, but said bukkit plugin said it's possible to make bukkit see it by making a cross compatibility mod for Forge and make it talk to WebAuctionPlus, as there is an API to hooking into all items' NBT data.

    -

    Whatever you do decide to do, I appreciate the consideration, and the awesome web based auction plugin you've made/helped develop.

  • Avatar of MarioG1 MarioG1 Jul 26, 2015 at 20:25 UTC - 0 likes

    @Karudel: Go

    In 1.2.28 we store all Item informations in the database. We use the bukkit Itemstack serialization method to get all Itemdata into an String to store it in the database.

    Idk if Forge has extended the bukkit API to serialize also the Forge item data. You can just try to install 1.2.28 and check if all the item data is saved or not.

    ETG Clan

    Visit us at www.etg-clan.at

  • Avatar of Karudel Karudel Jul 26, 2015 at 18:16 UTC - 0 likes

    @MarioG1: Go

    Hey MarioG1, wondering if it'd be possible to make WebAuctionPlus use material item IDs instead of item IDs, what I mean by this is, instead of storing say, a Diamond Sword as 264, store it as it's material ID which is DIAMOND_SWORD.

    I'm also wondering if it'd be possible for you to add Forge item NBT data support?

    Thank you for taking the time to read this.

  • Avatar of MarioG1 MarioG1 Jul 26, 2015 at 08:17 UTC - 0 likes

    @sidboy55555: Go

    Server shops were added in the in 1.2.28 ;)

  • Avatar of sidboy55555 sidboy55555 Jul 26, 2015 at 01:45 UTC - 0 likes

    WOW, the plugin is really updated i can tell, i like it :P, but waiting until server shops are being added with unlimited stock :P

  • Avatar of Minec4rt Minec4rt Jul 13, 2015 at 18:15 UTC - 0 likes

    Hi, I have problem with items duplication. When player has full mailbox of items then cancel some auctions from web and then pick last stack of items from mailbox, then items are duplicated. I think that which are duplicated are items for which is mailbox full. Sorry for my english :o)

  • Avatar of lorenzo_p lorenzo_p Jul 08, 2015 at 04:09 UTC - 0 likes

    @DaisukeVN: Go

    the permission node wa.use.command.mailbox should work. maybe you have some other permission overriding it? not sure if the order you have them in matters.

    https://github.com/WebAuctionPlus/WebAuctionPlus-1.2/blob/master/java/src/me/lorenzop/webauctionplus/listeners/WebAuctionCommands.java#L82

    @marcotaub: Go

    when you close the mailbox the first time, check console for any errors or exceptions. it should reset for you if you log out and back in, then the mailbox should work again. also, if you're using a modded server, 6 months ago or so the new open source bukkit server (don't remember the name of it at the moment) didn't support firing the right event to handle closing/saving the inventory. not sure if this was ever fixed.

  • Avatar of marcotaub marcotaub Jul 03, 2015 at 19:34 UTC - 0 likes

    Hello, if got a Problem with the MailBox! I can open it and close it but when i want to open it again it says "MailBox already opened!"

    I dont know if it is a bug or sth. like that :/

    Thanks for help!

    Marco

  • Avatar of DaisukeVN DaisukeVN Jun 29, 2015 at 19:50 UTC - 0 likes

    @lorenzo_p: Go

    Okay. The permission "wa.*" work fine for me.

    I had change very much places in the website code. For every single page. I can upload the translated files for you if you need but its not fully translated.

    I think so 80% of your website are translated. I'm a lazy boy :P

    [Edit] wa.use.command.mailbox or wa.use.mailbox doesn't work for me. Member with this permissions can't use /wa mailbox.

    Last edited Jun 30, 2015 by DaisukeVN
  • Avatar of lorenzo_p lorenzo_p Jun 28, 2015 at 15:04 UTC - 0 likes

    @DaisukeVN: Go

    here is the full list of permissions. I think op doesn't get the mailbox command by default. if you give yourself wa.* that should give you permission.

    if you're updating from 1.2.28 nothing has recently changed in the website. how many places do you change the text language in the website code? maybe I can finish the language support for the website some time.

Inventory Method

  1. Choice:

  1. Results
  2. 1 comment

Facts

Date created
Apr 08, 2012
Categories
Last update
Jun 04, 2015
Development stage
Beta
Language
  • deDE
  • enUS
  • esES
  • frFR
  • ptBR
License
GNU General Public License version 3 (GPLv3)
Curse link
WebAuctionPlus
Downloads
32,601
Recent files

Authors