Configuration

Configuration

General Configuration

# Allow explosions to break shops
allow-explosion: false
# Allow players to break shops without removing. Players still need the fancyshop.remove permission.
# You should probably leave this false so players can't accidentally break their own shop and lose all their work.
allow-break: false
# Allow stealing from shops with hoppers. I don't know why you would want this.
allow-hoppers: false
# Allow restocking a shop with hoppers/droppers.
allow-hoppers-in: true

These options are mainly intended for factions type servers. There are separate options for allowing hoppers to remove items from a shop (allow-hoppers) and allowing hoppers or droppers to add items to a shop (allow-hoppers-in). allow-hoppers-in is enabled by default to let players build self-restocking shops, and for this reason it also allows the shop's owner (but no one else) to place hoppers (but not hopper minecarts) underneath the shop. allow-hoppers will allow *any* player to place hoppers under a shop and will also allow hopper minecarts to work.

Currencies

# Allow only the items specified in 'currencies' to be used as currencies.
currency-whitelist: false
currencies:
    'Lapis Lazuli': '351:4'
# Prevent basic items from being used as currencies. Items with damage values or NBT data are already disallowed unless
# specifically allowed above.
currency-blacklist: []

By default any basic item (one that has no damage value and no NBT data) can be used as a currency. You can add additional items in the "currencies" section. The name of the currency goes on the left, and the right hand side can be a data value, data:damage pair (make sure you quote it), or an NBT dump. For items with NBT data, you can use the "/fancyshop currency" command to dump them to this file. You can also use this section to change the displayed names for basic items - sometimes the name in the code doesn't match the name in-game.

If you want to be more strict about what currencies you allow, you can use the currency-whitelist option, or the currency-blacklist array to disallow specific basic items by ID.