Example-config

Tutorial

Example per item.yml

Item-Shop:
    # List of names of shops where you can buy the item.
    # If you remove this section, you can buy it in any store.
    shop:
      - name-shop:name-world
    # Quantity of items that will be given when purchasing.
    # If you delete this section only 1 item will be given.
    count:
    # This title will be sent when a player is in the shop and look at the item.
    # If you delete this section will be sent the general-title (config.yml).
    send-title:
    # This subtitle will be sent when a player is in the shop and look at the item.
    # If you delete this section will be sent the general-subtitle (config.yml)
    # If you set to "null", won't send anything
    send-subtitle: null
    # The price that the item costs.
    # If you delete this section the price will be 0.
    price:
    # The level that the player will need to buy the item.
    # If you delete this section the level will be 0.
    required-level:
    # The permissions that the player will need to purchase the item.
    # If you remove this section, he will not need permissions.
    required-permissions:
      # If you use %ef-required% and the show-name is set to false, it will not show the missing permission.
      # If you remove this section, name will be false.
      show-name: false
      # If player have all permissions or list is empty, the %ef-item-permission% will be this message.
      # If you remove this section, the replacement will be empty.
      have-all: "none"
      list:
        - group.example
    required-items:
        message: you need %ef-item-needed% x %ef-item-needed-amount%
        items:
            item1:
                # Amount required to buy the item
                amount:
                id: itemsadder:elitefantasy:chair_2 #or oraxen:table |  mythicmobs:table
                # If you want a normal item, the section "id" have to be deleted. id > custom-id/material
                material:
                custom-id:
                display-name:
                lore:
                  - "example"
    # command to be executed when the player buys the item.
    # If you remove this section, no commands will be executed.
    commands:
      - [CONSOLE] tp %ef-player% 0 0 0

    # Message to be sent to the player if he/she does not meet the requirements to purchase the item
    # If you delete this section won't be sent anything.
    message-no-required: "%ef-required%"
    # The name that replaces %ef-item-name%.
    # If you delete this section, the name will be display-name.
    custom-name: "Epic Chair"
    item:
      id: itemsadder:elitefantasy:chair_2 #or oraxen:table |  mythicmobs:table
      # If you want a normal item, the section "id" have to be deleted. id > custom-id/material
      material:
      custom-id:
      display-name:
      lore:
        - "example"
    # Item to be given when a player buy it, if this section is empty the item to give will be the section "item"
    item_to_give:
      id: itemsadder:elitefantasy:chair_2 #or oraxen:table |  mythicmobs:table
      # If you want a normal item, the section "id" have to be deleted. id > custom-id/material
      material:
      custom-id:
      display-name:
      lore:
        - "example"

Last updated