AuctionChest
AuctionChest v1.11
Auction system similar to WoW Auction House buyouts.
*IMPORTANT*
Turn off the server completely before you put in the plugin. Doing a /reload when you're installing it for the first time seems to break the plugin.
Vault required!
Vault can be found here
NOTE: the description/commands/permissions and features only represent the latest version of the plugin. It is highly recommended to update when new version is out!
Features:
- Place chests that function as auction house with custom name in config.
- Sell/buy items from auction with permissions.
- Get messages when someone buys your auction. (/auctionchest silent to silence those messages if they get annoying)
- Show custom text on item when it's being auctioned.
Usage:
For players
- Left mouse button buy/sell/remove 1 item.
- Right mouse button buy/sell/remove 8 default items (configurable in config.yml)
- Shift+click buy/sell/remove all items
For admins
- Type /auctionchest get <name>. name - the name of the chest (shows up when viewing the chest inventory)
- Place the chest where you want the auction chest to be.
- You've made an auction chest! It's that simple! Really.
- If you want to delete unwanted auctioned items just type /auctionchest clean and click on the items.
- If you want to increase max slots for a player then type /auctionchest maxslots <player> <number>.
Commands and permissions:
Command | Permission | Description |
---|---|---|
/auc /auctionchest | - | Shows slots and silence status. |
/auc help | - | Shows the user other commands that he has permission to use. |
/auc get <name> | auctionchest.get | Gives an auction chest item with the specified name (name shows up when viewing the auction inventory) |
/auc silent | auctionchest.silent | Toggles silence for the messages get when users auctioned items is bought. |
/auc clean | auctionchest.clean | Toggles the feature to delete items from auction chest when clicked on them. |
/auc count | auctionchest.count | Counts the auction chests on the server. |
/auc maxslots <p> <#> | auctionchest.maxslots | Sets the maximum auction slots for the player. |
/auc reload | auctionchest.reload | Reloads the plugin config. |
- | auctionchest.sell | Allow user to auction items. |
- | auctionchest.buy | Allow user to buy auctioned items. |
New ideas and bug reports are welcome in the comments :)
Does not work in 1.11 or 1.11.2.
Edit or 1.12.2
@stevenzocker1
The plugin messes up when you shutdown the server incorrectly (for example with a crash). I'm working on an update to fix most of the bugs I know.
i get the following error:
[21:18:06] [Server thread/INFO]: [0;36;1m/auc maxslots SchobbeKanister 10[m [21:19:44] [Server thread/ERROR]: Could not pass event InventoryClickEvent to AuctionChest v1.11 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] Caused by: java.lang.NullPointerException at me.ragingcat.auctionchest.main.onInventoryClick(main.java:294) [?:?] at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot_server.jar:git-Spigot-5f38d38-18fbb24] ... 15 more
Sorry for the oh so long overdue on the update. Version 1.11 is out, it supports 1.9.4.
Quick side-note, I suggest turning off the server completely, then adding the plugin and THEN turning on the server to not get any errors.
I run a server where we keep an emerald based economy using shopkeepers.
I'd love if you could set up an item based auctionchest alternative! I love the way the AuctionChest system works.
Production for 1.9 update will start after easter, sorry for inconvenience.
hello ragincat,
i hope you update the plugin to 1.9. we have problems with the max slots ingame. the config allow 7 but the player have 5. its raining bugs in the console when they buying items from other players. :(
Please, update to 1.9 <3
@Pinjosi
Huh I was pretty sure I tested that and it worked, I'll check it out again in more scenarios
@l3enn
AuctionChests never meant to be protected, I left it out for other plugins to do the trick. You should use WorldGuard or some kind of chest protection plugin.
I think other players can delete one's chest...
i can put items in the chest but when someone buys something i dont get my slot back :)
So after 5 items (5 slots is standard on my server) its done somehow.
Can you fix this
@l3enn
Yes indeed the version is v1.06, that's just a minor mistake on my end, I was planning on calling it 1.06 at first, but realized there's too many changes so called it v1.1 and forgot to change it in the files. So v1.06 => v1.1
I think the download contains the v1.06, and not the last one.
EDIT: Nevermind, I hadn't a economy plugin installed, amazing plugin!
@Pinjosi
Could you rephrase that, I did not quite get what you're trying to say.
is it possible to add an item that the user can use only once and expand the auction slots ?
Ofcourse editable by admin how many slots the expansion will be.
Here is a new Video. Compleet Tutorial.
Tutorial AuctionChest
@stevenzocker1
You're most likely using the previous version, please make sure you're using the latest (v1.1) and confirm if you still have the problem.
The video is not made by me and I'm not planning on making one cause I don't have the software. I'd be happy if anybody wanted to do one :)
pls help me: i placed an auctionchest, but canĀ“t use shift click to add items, it just do not show any messages in the chat i sold items opr something. the tutorial is not really detailed, pls upload another, more detailed one. thx for help!
Just tested the AuctionChest. Works fine. Thanks for the update