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.
the latest version is not user-friend... hope can let's us choose the /wa password pass .....the
@MrFrostmaul
The item should work and display correctly, however, it might not be in alphabetical order.
As for meta data, if you look in the "default" item pack, there are some examples of that being used, such as
for wood.
Hi, Sorry if this has been asked before, but if we change an items name or texture and then put in the auction house will it work and display correctly with the changed name and texture etc.?
I have also seen in the item-pack the support for modded items with their Item id's, would something like this work for us, but using the meta data of an item instead?
Many Thanks
@Grimmy423
Your credentials are not set up properly. Install SQL, create a user and database, grant user privileges on the database (eg: grant all privileges on <database> to 'username'@'localhost';
If you are having an issue with the server shops throwing a null into sellerId here is a fix open file: /WebInterface/inc/classes/logSales.class.php.
Look for the line that reads: public static function addLog($lo........ (and so on) Under this and above the $query line add the following line: if(!$sellerId){$sellerId = 'ServerShop';}
I tried to make this as simple to follow as possible.
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in config.php:16 Stack trace: #0 index.php(103): ConnectDB() #1 {main} thrown in config.php on line 16
I can never seem to get this working at all.
My server is not conecting to the slq database - can you tell me a reason why it would? iam using a external database and i added the ip from the server to it. als have set the config file in the pulgin map and in the WebInterface, the WebInterface is connecting but the server/plugin is not.
Can u support with Mineconomy Recode version? Because we're using Mineconomy Recode version https://www.spigotmc.org/resources/mineconomy-recode.1337/
Please, we'll use a webauction :D
Hello,
is it possible to translate the in -games sales message in French ? we use your solution on a french server, and it would be nice to translate messages, thank you for your answer
the search function of the server shop is not working .
please fix
@MarioG1 Am I just stupid or have i missed some guide to use the server shop? because i just can't figure it out....
@lorenzo_p
My problem with broken permissions is solved. You can,t do bm.* and then bm.bla bla.. You may have only one permissionnode per perm.. so not bm.* and bm.use..... sry im Dutch hard to explain. You can always find me on mc.wafmc.be
@dangerORclose
permissions can be a pain to try to troubleshoot and debug. the permissions for the plugin should be working. if you play with it long enough it usually starts working somehow. if you're sure there's a bug, we can try finding it in code.
@James_Krieger
I haven't had time myself to work on the plugin at all. I haven't heard from MarioG1 in a while either, but maybe he's still lurking around someplace.
@dangerORclose
it could be something broke with an automatic update of the database if you changed versions of the web auction plugin. it should work as far as I know, but that part does lack in-depth testing. I gave a different answer in your pm and github issue ticket, but it's probably a wrong answer.
@XiaoTiMo
yes, the plugin is open source, although we'd prefer you contribute changes to this plugin rather than fork your own from it. be warned, it can be much work with little reward other than satisfaction and your own coding enjoyment.
@ThexXTURBOXx
glad you like the plugin. I made the jenkins build server private a while ago. I love having it available to view all the information, but I've never felt safe about exposing a build system to the internet. it may be over-paranoid if it were only this plugin on it, but I have many other projects on it too, and I'd like to start doing pgp encryption and such things. I started my own project to make a build system that displays read only information with less possibility of a bug that could compromise the server. it's a work in progress. sorry for long answer. you can still find all the versions here http://dev.bukkit.org/bukkit-plugins/webauctionplus/files/ or here http://dl.poixson.com/WebAuctionPlus/
here's a list of all the languages built into the plugin https://github.com/WebAuctionPlus/WebAuctionPlus-1.2/tree/master/java/src/languages just go into the database and in the WA_Settings table you'll find a line for the language. just set the value of that row to de then restart the plugin. support for translating the website hasn't been finished yet.
about your minecraft skin, I wonder if it's something I broke on one of my own web servers. the website of this plugin uses the gd2 extension in php to generate the player images, or falls back on my own web server if yours doesn't have gd2. you could check your web server to see if it has the gd2 extension.
Bam! all questions answered?
@DaisukeVN
Even wa.* inst working for me
Heyho,
when is the update for the Admin page ? =)
Oh yeah, an German translation :o
MySQL ERROR - File: /home/wafmcbe/domains/wafmc.be/public_html/market/inc/classes/servershop.functions.php Line: 311 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id` = 2 LIMIT 1' at line 1
SELECT `qty` FROM WA_ServerShops` WHERE `id` = 2 LIMIT 1 ===
I can reprint this plugins?
Jenkins is down, but this plugin is SO FREAKIN' AWESOME! Keep working plz! But I have 1 suggestion and 1 question: Question: How can I help translating the website into German? I really wanna have it in German :D Suggestion: My Minecraft-Skin isn't shown on the website.
Jenkins is down. :(
@MarioG1
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.