Shop.yml

This page details the configuration file "shop.yml", providing context as to how to edit it properly and providing the default configuration file for the plugin.

If you have any questions, check the FAQ, and if you're still not sure, feel free to ask in our discord server.arrow-up-right

circle-exclamation

Breakdown

Categories

  • categories: This section defines sections of the shop, as seen on the /is shop page.

    • name: Defines the category name referenced by items in the shop and displayed on the category. (i.e. Blocks)

      • item: see Items

      • inventoryRows: How many inventory rows the shop category will have.

Items

  • items: These are the items listed in the shop, separated by category

    • name: The category the items will go into, as defined above

      • - name: The name of the item listing.

      • displayName: The display name of the item listing (can be left blank).

      • type: The item listed.

      • lore: The tooltip of the item listing.

      • command: Whether the purchase of the item runs a command, set it to null to disable it.

      • defaultAmount: How many will be bought or sold per click on default.

      • slot: The GUI slot number

      • buyCost: How much it will cost to buy the item, in both crystals and the currency hooked into Vault.

      • sellReward: How much the player will be given for selling the item listed to the shop, in both crystals and the currency hooked into Vault.

        • vault: Amount in the standard Economy currency (dependent on Economy Plugin)

        • crystals: Amount in Island Crystals.

Adding your own entries to the shop

You can simply copy sections of the default configuration file and edit them to your preference. It should look like this:

circle-info

Note: The top line is required in the configuration file.

Default Configuration File

Last updated