FancyShop
Create chest shops that trade in physical currencies. Now with 1.8 support!
github.com/DeltaWhy/bukkit-fancyshop
Features
- Create chest shops with a graphical interface.
- Use in-game items as currency.
- Buy and sell any item - enchanted items and books, potions, even items with lore or custom NBT data.
- Buy and sell up to 27 different items in a single shop.
- Shops are protected against damage and against stealing with hoppers.
- Create admin shops that can buy and sell an unlimited number of items.
- Restrict shops to certain regions (depends on Flags).
Commands
/fancyshop: Create and manage shops. (Aliases: /fs, /shop) /fancyshop create - Create a new shop. /fancyshop remove - Remove a shop. /fancyshop rename <name> - Rename a shop. /fancyshop setadmin true - Make a shop an admin shop. /fancyshop setadmin false - Make a shop a normal shop. /fancyshop currency <name> - Add the currently held item as a custom currency.
Configuration
See Configuration and Region Support.
This plugin uses Hidendra's PluginMetrics which sends some anonymized data about your server to mcstats.org. This data includes the plugin and server versions, the server's Java version, the number of online players, the OS version, etc. If you want to opt out you can do so by editing plugins/PluginMetrics/config.yml and changing opt-out: false to true.
Usage
To use a shop, just right-click its chest. You will see a menu of the shop's offers.
To buy an item, click on it while holding currency matching the 'Buy' price. To sell an item, click on the offer while holding that item.
To set up a shop, type '/fancyshop create' and then right-click a chest.
You'll see the 'Manage Shop' menu - to add an offer click on an empty slot while holding the item you want to buy or sell.
To set the price, click that item while holding your desired currency. The wool icon in the bottom right tells you whether you are changing the buy or sell price. Click it to switch. Don't forget to add the item you are selling (or the currency you are buying it with) to your chest. Right-click the chest while sneaking to open it normally.
To remove an offer, click the fire icon in the 'Manage Shop' menu, then click it.
Shops are automatically protected against damage and theft. To break a shop chest, first remove the shop by typing '/fancyshop remove' and right-clicking it. Then you will be able to break the chest normally. These protections can be disabled in config.yml.
Why another shop plugin?
I'm not a fan of economy plugins. While they might make things simpler on large servers, they don't seem very Minecraft-y to me. They add a layer of abstraction that I feel takes away from the survival aspects. However, I like having shops - they give players more choice where to spend their time. If you don't want to spend time mining cobble or building a big farm, you can buy them from someone who does. So I wanted a shop plugin that can use in-game valuables rather than creating an artificial currency.
Why not use GoldIsMoney, Gringotts, etc.?
Because I don't want to inflate any one item (gold, emeralds, diamonds, etc.) by making it the sole currency. On my small whitelisted server, I don't need world protection or other plugins that need Vault compatibility.
Permissions
fancyshop.create: description: Create a shop. default: true fancyshop.create.anywhere: description: Create a shop, bypassing region permissions. default: op fancyshop.rename: description: Change the name of your shop. default: true fancyshop.use: description: Use other people's shops. default: true fancyshop.remove: description: Remove someone else's shop (you can always remove your own) default: op fancyshop.open: description: Open chests for other people's shops. default: op fancyshop.setadmin: description: Create unlimited (admin) shops. default: op fancyshop.currency: description: Add custom currencies. default: op