SpongyChest is a plugin that utilizes Chests to make in-game item shops for players to sell items to each other! This plugin requires an economy plugin to work correctly!
Downloads
You can head over to the GitHub page to grab the latest build of SpongyChest here.
GitHub Repository
If you’d like to check out the code, you can do so here.
Commands
/spongychest - Main command of plugin, it will return the version installed.
/spongychest setshop <price> - After using this command while holding exactly what you
want to sell, you right click a chest to create a shop.
Permissions
spongychest.command - Access to /spongychest
spongychest.setshop.command - Access to /spongychest setshop
spongychest.shop.create - Access to create SpongyChest shops.
spongychest.shop.destroy - Access to destroy SpongyChest shops.
Nice plugin. I might contribute to this plugin some time in the future!
Also, the GitHub repository doesn’t have pom.xml/gradle settings added. You might also want to create a .gitignore file. If you need help, feel free to ask me.
As you may know, this plugin has been WIP because of the lack of an InventoryAPI. However, as you may now know, InventoryAPI was merged. I am currently updating this plugin to use the EconomyService, and InventoryAPI, as well as making the ability to support meta. Please bear with me as this is a lot of work to do, and I am limited in time.
I believe the InventoryAPI does not allow for the plugin to work. Once/if it does, SpongyChest will be moved out of WIP, as it should work perfectly fine.
What do you think about possibility to create purchase shops (?)
I mean, players can create place, where they can also sell their items directly to “shop” owner (but - of course - shop that sells item can’t be combined with buying back them, because some players just want to sell items, and other may want to only buy).
I don’t know if it’s already implemented in any previous Bukkit plugins, this is just my loose idea.
When InventoryAPI allows me to access chest inventories
I just get an idea - do you can write ugly hack to get chest inventory? If yes, you can throw items from sign like dispenser or player’s Q key - it can be workaround while player inventory API is not ready.
Of course, if InvAPI will be released in short time this workaround isn’t worth time, but in other case…