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.
@mmuziek
that's strange. could you pm me a pastebin of your server log? maybe I can sort out what's happening with the version numbers. or you could try using the latest snapshot from http://ci.poixson.com/job/WebAuctionPlus/ it has a bunch of new features and bug fixes. maybe it'll fix your problem.
@lorenzo_p
that solved it for 1 restart.
after that its back to errors again :(
@DaisukeVN
you can try checking the settings again, be absolutely sure they're set right. if you're seeing any specific error messages, post them here and I'll take a look. may have to check log files if it doesn't display any errors on the website.
as I've said, I do plan to replace all the economy code with a better method which will work with any vault supported economy plugin. I just haven't gotten around to it yet. if you want this or some other feature, send a donation, it may help motivate me to work on it sooner. once in a while, someone mentions donating, but it's rare I get anything. not that I'm complaining at all, I don't need donations, it's just difficult to put other projects aside or give up the occasional night of relaxing. monetary motivation, buy me lunch for a day and I'll code for a week.
@mmuziek
You likely have a newer version than 1.2.6 if it's trying to do that update. Lines 89 and 90 of this file https://github.com/WebAuctionPlus/WebAuctionPlus-1.2/blob/master/java/src/me/lorenzop/webauctionplus/mysql/MySQLUpdate.java it adds the itemData field to the Items and Auctions tables, then will update the WA_Settings table Version entry to the running version of the plugin. If you think the database changes have already been made (which may be causing the exceptions you see) you can try changing the Versions entry of the WA_Settings table to the version number of the plugin which you're currently running and that'll stop it from trying to update the db. hope that makes sense.
I still can't connect with Craftconomy. Is there no bugfix for that problem? :/
@lorenzo_p
well i have 1.2.6 for 1.8.1 it ties to update even when there is no update.. i removed the itemdata from that table even then get the same error again..
@mmuziek
do you see a field called itemData in the WA_Items table? if you do, it should be empty at this point, you can try deleting just this field and restart the mc server. what version are you updating from? I'll try it myself to be sure it should normally work right.
em found a bug. it tried to update the table again and again and now it doesnt enable itself anymore..
the itemData is alraidy there
@MarioG1
Sure. Here you can see the settings i have set. Both are in the same database.
http://pastebin.com/yfKhGEBq
added an item blacklist to the Settings table in the database. this will give a warning in game if a blacklisted item is added to the mailbox inventory, however it may still be possible to glitch the item into the inventory. if this happens, the item will also be blocked on the website so it can't be posted for sale. the item can still be posted to the server shops by an admin.
to set the blacklist, edit the "Item Blacklist" field in the WA_Settings table. the value is a list of item id's and optional damage values separated by a comma ,
for example: 1, 5:2, 35:8, 341
download the dev build here: http://ci.poixson.com/job/WebAuctionPlus/27/
@MarioG1
that is definitely on my todo list. we need to get rid of that direct linking into economy tables. I know exactly how to do it, and have wanted to for so long now. lets write some code!
@DaisukeVN
It should work with cc 3.2.1. have you set $config['iConomy']['use'] = 'false'; ?
@alek123222
lore and custom names should work, yes. the extended meta data used by mods doesn't yet work. I haven't figured out how to handle this yet.
@DaisukeVN
if everything is set right, it should work with 3.2.1 but this is something MarioG1 was working on so I'm not very familiar with it.
@Nflug
not sure what you mean. can you link to the page you're asking about? I think you mean you donated to a server and they posted it. if so, you'd have to contact them.
<<reply 2546105
How can I delete Donators? I mean I buy for test a Shop Item an now I am on the donator sign how can I remove it ..
hey lorenzo_p,
i can't use the database from craftconomy to sync with webauction. Both are in the same database.
http://pastebin.com/1p2jsZGJ < config from webinterface
Plugins: WA+: 1.2.6 Craftconomy: 3.2.1
Maybe the WA version isn't compatible with Craftconomy 3.2.1?
does this support lores, custom names and attributes?
jenkins build server is down at the moment, I'll have it back online in the morning. centos 7.1 was released and a bug in it took down my whole network. I'm getting things back online again now, using an old motherboard someone gave me as the router. if you'd like to inspire me to work on the plugin more, you're welcome to donate and make a feature request. I have to buy hardware soon, a router is just one thing I need.
glad everyone still likes the plugin and is getting use from it.
also, don't forget about MarioG1. I may still work on the plugin from time to time, but I've passed the project on to him. he too deserves some appreciation for the work he's done on it. when he has time to do more, we'll see what he works on next :-)
Hello i love your plugin m8! Please keep this plugin alive! :D
new dev build http://ci.poixson.com/job/WebAuctionPlus/25/
I don't recommend using this version on a live server. give the changes some real good testing and report any bugs you find.
added server shops, can buy from or sell to. set the qty to 0 for unlimited stock, or leave the buy or sell price at 0 to disable one or the other. also changed the way passwords are set. type '/wa pass' in game with nothing after it. it will generate a random password for you that will work for 15 minutes. log into the website within that time then you'll be asked to change your password. I've also added word files to generate passwords in other languages. you may also send in any translations you think should be changes.
@zod_1
yea, this is something I've wanted to add, just never got around to it.