floAuction
floAuction - In-game auction software


There are no supported versions of floAuction v3.0.x higher than 3.0.4.
floAuction provides a powerful chat based auction system with many options to help control "spam" and scams and many customizable features making it perfect for any server. Help support development of floAuction: Donate
Notable Features!
floAuction has too many customizable features to reasonably put on the main page here, but here's a list of notable ones.
- Full language customization, even (with the use of WhatIsIt) item names themselves.
- Auction house, silent auctions, sealed auctions, countdown suppression, individual opting-out of all auctioning, and many other "spam" limiting features!
- Reserves funds (i.e. removes them from the player account), ability to disable auctioning damaged and renamed items, full item details displayed, and other abuse and scam prevention features!
- Percent of winnings or price per auction taxes, limits on max's and min's of different auction aspects, banned items list and other economy protection features!
- And, finally ss of the release of floAuction version 3: Auction scopes. The ability to designate world grouping and create multiple auction houses, each with distinct language and config settings.
A list of main features, complete, in progress, planned and under consideration can be found here. Specific per-version history can be found here. And GitHub here.
Important Notes and Disclaimers
- Before commenting, read the FAQ!
- This plugin requires Vault and WhatIsIt, make sure they're installed if you want floAuction to work.
- floAuction uses PluginMetrics to create pretty graphs and charts on mcstats.org. All the data uploaded to their site is impersonal data, including version numbers of your server and floAuction, hardware capabilities, and ip info. If you are uncomfortable with this, go into your /plugins/PluginMetrics folder, change the "opt-out" value to "true" and restart your server.
- floAuction version 3 uses gravitylow's Updater functionality. You can disable it in floAuction's config.yml by setting "auto-update" to "false" or disable it for all plugins using that code in the /plugins/Updater/config.yml by setting "disabled" to "true". This Updater functionality contacts Bukkit's servers to determine if an update is available and installs it so.
- The GitHub for version 2 has moved to 2.x.x-archive as it is no longer under active development. The 2.x.x branch on GitHub is temporarily being used to develop version 3.
- A number of technical difficulties have corrupted floAuction versions 2.10.0 through 2.10.2, do not use these versions!
Videos
- https://www.youtube.com/watch?v=-yPU3c8eFM8 - Admin How-To for version 3
- https://www.youtube.com/watch?v=yKhZKwejao8 - Usage tutorial (v3)
- https://www.youtube.com/watch?v=XScxexjbTQs - A great installation tutorial for version 2, but version 3 is basically the same on all these points.
- http://www.youtube.com/watch?v=n7XOsLisdI0 - Me rambling on about version 2, and kinda just rambling
- http://www.youtube.com/watch?v=kgG4gSkUCJk - How to use floAuction (v2)
- http://www.youtube.com/watch?v=bsws7f4Rwh0 - floAuction Overview with some very distracting stuff going on (v2)
- http://www.youtube.com/watch?v=CpMrRnE1KNQ - A long, but good showcase video (v2)
Send me a message if you know of any videos I missed here and I'll see about getting them added.
Commands
- /auction - Main auction interface, use "/auction ?" in-game for more information, permissions vary per functionality. Requires permission "auction.bid":
- /auc - Shortcut for "/auction" (v2.6.0+)
- /sealedauction same syntax as "/auction" but forces sealed auction. (v2.6.0+)
- /sauc - Shortcut for "/sealedauction" (v2.6.0+)
- /bid [bid amount] [max bid] - Bidding, all parameters optional. If [bid amount] is omitted, bid automatically becomes the current bid + minimum bid increment. In sealed auctions, [bid amount] is required and [max bid] is ignored.
Permissions
- auction.start - Allows creation of auctions.
- auction.bid - Allows bidding on auctions.
- auction.admin - Allows administrative functions including cancelling current auctions, suspending player's auction capability, pausing and restarting auctions. (default: op)
Setup and Configuration
This plugin requires Vault and WhatIsIt.
Click here to view a detailed list of all config options for floAuction version 2 and how to use them. As of the release of floAuction 3, floAuction 2 will no longer be supported. floAuction 3 has all the features that version 2 has, plus more!
Click here to see detailed configuration and setup details for floAuction 3. It is multiple pages, but if you take the time to go through it, you will discover that floAuction is by far the most powerful auction plugin available for Minecraft.
Development Participation
I sometimes upload development or "alpha" versions of my plugin to a folder on my own website. If you would like to participate in helping me make sure these major changes have been well tested before I make an official release here on Bukkit, feel free to visit http://www.flobi.com/projects/floAuction/files/ and download the most recent version available on that site. Read the readme file there before participating. I recommend against using any of these files for any server where you need to guarantee up-time or functionality, but only on development or test servers. If you choose to use these against this recommendation, do so at your own risk (though technically it's your own risk in any case, lol, I'm not guaranteeing anything).
Misc
Sometimes I post development stuff here: https://twitter.com/flobiKenobi
I don't always play Minecraft, but when I do, I play on:
Drop by and pay us a visit!



-
View User Profile
-
Send Message
Posted Jan 4, 2013@FourDowning
Try updating. There were a number of NPE's fixed recently. You didn't say what version you have, but I assume it's not updated fully because line 932 of floAuction.java is:
And that can't ever return a null pointer as far as I'm aware.
-
View User Profile
-
Send Message
Posted Jan 4, 2013This happened during low TPS high RAM usuage on my server:
http://pastebin.com/BukQ9U3L
-
View User Profile
-
Send Message
Posted Jan 3, 2013@kyledag500
Try using the recomended build 371. If I'm not going to code for the dev builds of bukkit, I'm certainly not coding for the dev builds of spigot, lol. I downloaded that and was able to successfully start auctions for all the test items I have.
-
View User Profile
-
Send Message
Posted Jan 3, 20132013-01-03 14:29:14 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'auction' in plugin floAuction v2.8.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:547) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:991) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:909) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:585) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: org/bukkit/inventory/meta/EnchantmentStorageMeta at com.flobi.utility.items.getStoredEnchantments(items.java:135) at com.flobi.floAuction.AuctionLot.setLotType(AuctionLot.java:147) at com.flobi.floAuction.AuctionLot.<init>(AuctionLot.java:38) at com.flobi.floAuction.Auction.parseHeldItem(Auction.java:380) at com.flobi.floAuction.Auction.isValid(Auction.java:247) at com.flobi.floAuction.floAuction.checkAuctionQueue(floAuction.java:544) at com.flobi.floAuction.floAuction.queueAuction(floAuction.java:524) at com.flobi.floAuction.floAuction.onCommand(floAuction.java:765) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
Getting this? Using Spigot. Cant auction, this comes up
-
View User Profile
-
Send Message
Posted Jan 2, 2013@treestompz
I removed the duplicate check on auction start in 2.8.3. Let me know if this helps any. I also did a little other cleanup that probably won't affect any lag significantly.
EDIT: Woke up really early realizing I could cut a lot of repetitive actions out when sending the auction info. Try 2.8.4 instead. I think you should see an improvement. (Give me a sec, found a small bug I need to take care of.)
EDIT Again: Okay try this one. I had accidentally removed the bid info lines from auction info.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@rob4001
Once a tick, it's checking the system time to see if it's been a second. Then, once every second (hopefully that would be once every 20 ticks, but on an already laggy server, it could be less), it decrements a value and checks a handful of light numeric comparisons, with the exception of 5 times during the course of the auction where it's broadcasting the remaining time and finally ending the auction.
Except in the auction ending where sync would actually be necessary, because of currency and inventory calls, and some async to sync trigger would have to be called meaning a separate synced task to check for this trigger, I can't see that it's doing enough in that task to cause lag even though it is running synchronously.
I did, however, renamed the var to nextTickTime and moved the addition earlier so it has one less addition per tick in v2.8.3.
NOTE: For anyone following this, if anyone's looking at the source, make sure it's the 2.x.x branch. The "master" branch is basically a really old 2.x version now. That's here: https://github.com/incredinex/floAuction/blob/2.x.x/src/com/flobi/floAuction/Auction.java
By the way, good to see iAuction is being worked on again :). You were a bit too quiet over there, lol.
@treestompz
I did notice that it's running the validation code twice in a row if the queue is empty. I'm suppressing one of those. The validation is reasonably intense, so this will probably help some. I'm still looking at ways the auction start can be optimized in 2.8.3.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@incredinex
This is true but in my experience calling it sync will make it laggy. so you probably should change your code to not utilize API calls in the new thread or executing the countdown only in the new thread and handling anything else in the old
Something for FloAuc 3 ?
-
View User Profile
-
Send Message
Posted Jan 2, 2013@kbryantLA24
Oh...a new enchantment too?
Add that to the enchantments section in WhatIsIt's names.yml and do a "/wis reload". I'll post an update to WhatIsIt when I get home if you just feel like waiting.
EDIT: Don't forget the spacing.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hey, caught something. Some of the enchantments (thorns) show as Unknown in an auction.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@rob4001
My understanding is that I can't use an asynchronous task for anything that edits the inventory.
@CJHacker
Should be able to do that with permissions.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Looks like a great plugin! Is there a way to lock it down to a specific world? I'd hate for my rpg users to be selling diamond swords to my zombie survival world players. Perhaps a permission node to see the auctions?
-
View User Profile
-
Send Message
Posted Dec 31, 2012@incredinex
Hey Friendly bit of advice.
Auction.java Line 100 Should be Async instead of sync so it doesn't stop anything else from being affected (Had this with my plugin) also with 1.4.6 the actual function has changed to something like startasyncronously(blah,blah) check the JDs
-
View User Profile
-
Send Message
Posted Dec 31, 2012@treestompz
Send me your config.yml file via PM, and the versions of floAuction, Vault and your currency plugin (also obviously the name of the currency plugin) and I'll see what I can figure out.
-
View User Profile
-
Send Message
Posted Dec 31, 2012Hello,
I run on a very powerful dedicated server, and even so, floAuction has been plaguing us with some lag spikes :(
Specifically when an auction starts, the entire server freezes up.
Is there anything that could be done to fix this as floAuction is such a lovely plugin :)! Great work :)
Thanks, -tree
-
View User Profile
-
Send Message
Posted Dec 31, 2012@Simo389
Sounds like this is what you need:
Set that in your config.yml and the full auction info will display when the item is initially auctioned. It will have the actual item type included if the display name of the item has changed.
-
View User Profile
-
Send Message
Posted Dec 31, 2012Hi, can you please add a permission to stop players naming auctions. We're having loads of players lying about auctioning items, and our userbase if fairly young, so they don't think to use the '/auc info' command.
-
View User Profile
-
Send Message
Posted Dec 30, 2012@kbryantLA24
Guess it's not a very much used feature. It somehow got missed in the update a long time ago to reroute the messages to correct the broadcast issue. But, I got it fixed in 2.8.2. Enjoy.
-
View User Profile
-
Send Message
Posted Dec 30, 2012"anti-snipe-time-added" in the language-yml file doesn't allow color coding. Also, it doesn't have the "chat-prefix" tag attached at the beginning.
-
View User Profile
-
Send Message
Posted Dec 29, 2012Okay, a few fixes in 2.8.1 as well as:
-
View User Profile
-
Send Message
Posted Dec 28, 2012@huntershenep
lol. Seriously though, you don't know about this:? http://www.minecraftwiki.net/wiki/Anvil#Repairing_and_renaming