This file contains the settings for Shops.


The shops.yml file contains a list of configuration nodes for each shop.

Example:

  • shop1:
    settings-name: '&6&k.&r &5&lExample Shop &6&k.'
    settings-rows: 5
    settings-world: lobby
    settings-open-commands: shop
    settings-permission: superlobby.shop.shop1
    settings-open-sound: NOTE_PLING
    settings-glass-enable: true
    settings-glass-color: 14
    items:
    diamond:
    name: '&b&LDiamonds &6(&7Price: &f<price>&6)'
    lore:
    - '&a-----------------------'
    - '&a- &7Buy 10 Diamonds'
    - '&a- &7Click to claim the reward'
    - '&a-----------------------'
    material: 'DIAMOND'
    slot: 12
    commands:
    - 'give: DIAMOND 10'
    - 'tell: &9[&f&lCredits&9] &7Your reward &610 &bdiamonds'
    - 'broadcast: &9[&f&lCredits&9] &7The player &b<player> &7a claimed &610 &bdiamonds.'
    permission: sc.claim.diamond
    price: 20
    money:
    name: '&b&lMoney &6(&7Price: &f<price>&6)'
    lore:
    - '&a-----------------------'
    - '&a- &7Buy $1000'
    - '&a- &7Click to claim the reward'
    - '&a-----------------------'
    material: 'EMERALD'
    slot: 14
    commands:
    - 'money: 10000'
    - 'tell: &9[&f&lCredits&9]&7Your reward &61000 &bDollars.'
    - 'broadcast: &9[&f&lCredits&9] &7The player &b<player> &7a claimed &61000 &bDollars.'
    permission: sc.claim.money
    price: 40
    rank:
    name: '&b&lFree Rank &6(&7Price: &f<price>&6)'
    lore:
    - '&a-----------------------'
    - '&a- &7Buy vip rank'
    - '&a- &7Click to claim the reward'
    - '&a-----------------------'
    material: 'GOLD_INGOT'
    slot: 16
    commands:
    - 'console: pex user <player> group add Vip * 80'
    - 'tell: &9[&f&lCredits&9] &7Your reward &6Vip &bRank.'
    - 'broadcast: &9[&f&lCredits&9] &7The player &b<player> &7a claimed &6Vip &brank.'
    permission: sc.claim.rank
    price: 400
  • hh

 

Shop nodes configuration.


settings-name:

  • Any string value.
  • Example: «&6&k.&r &5&lExample Shop &6&k..»
  • The name of the shop.

settings-rows:

  • Any integer value.
  • Example: 5
  • Number of rows in the shop. (1,2,3,4,5,6).

settings-world:

  • Any string value.
  • Example: lobby
  • World where the shop works. (Do not place to work on all worlds).

settings-worlds:

  • List of string values.
  • Example:
    • lobby
    • auth
  • Worlds where the shop works. (Do not place to work on all worlds).

settings-open-commands:

  • Any string value.
  • Example: shop
  • Command to open the shop.

settings-permission:

  • Any string value.
  • Example: superlobby.shop.shop1
  • Permission to use the shop.

settings-open-sound:

  • Any string value.
  • Example: NOTE_PLING
  • Sound that will sound when you open the shop. (You must place a valid sound for the version of minecraft that you are using on your server.) (1.8.8  1.9 – 1.10 – 1.11 – 1.12 – 1.13 – 1.14 – 1.15 – 1.16 )

settings-glass-enable:

  • Boolean value true or false.
  • Example: true
  • To place decoration glasses.

settings-glass-color:

items:

  • List of Items nodes configuration.
  • Example:
    • diamond:
      name: '&b&LDiamonds &6(&7Price: &f<price>&6)'
      lore:
      - '&a-----------------------'
      - '&a- &7Buy 10 Diamonds'
      - '&a- &7Click to claim the reward'
      - '&a-----------------------'
      material: 'DIAMOND'
      slot: 12
      commands:
      - 'give: DIAMOND 10'
      - 'tell: &9[&f&lCredits&9] &7Your reward &610 &bdiamonds'
      - 'broadcast: &9[&f&lCredits&9] &7The player &b<player> &7a claimed &610 &bdiamonds.'
      permission: sc.claim.diamond
      price: 20
    • money:
      name: '&b&lMoney &6(&7Price: &f<price>&6)'
      lore:
      - '&a-----------------------'
      - '&a- &7Buy $1000'
      - '&a- &7Click to claim the reward'
      - '&a-----------------------'
      material: 'EMERALD'
      slot: 14
      commands:
      - 'money: 10000'
      - 'tell: &9[&f&lCredits&9]&7Your reward &61000 &bDollars.'
      - 'broadcast: &9[&f&lCredits&9] &7The player &b<player> &7a claimed &61000 &bDollars.'
      permission: sc.claim.money
      price: 40
  • List of item nodes that will contain the menu.

 

Items nodes configuration.


name:

  • Any string value.
  • Example: &b&lGame modes
  • The name of the item.

lore:

  • List of string values.
  • Example:
    • - '&b&m--------------------'
    • - '&7Modalities of game'
    • - '&7that we have available.'
    • - '&b&m--------------------'
  • The description of the item.

material:

  • Any text string value for the material.
  • Example: PLAYER_HEAD
  • The material of the item. Put the name a valid material for Minecraft version 1.13 or higher. (1.13 – 1.14 – 1.15 – 1.16 – 1.xx).

material-old:

  • Any text string value for the material.
  • Example: DIODE
  • Example with data: SKULL_ITEM:3
  • The material of the item. Put the name of the valid material for the version of minecraft lower than 1.13. (1.8.8 – 1.9 – 1.10 – 1.11 – 1.12).

slot:

  • Any integer value.
  • Example: 12
  • Location in the inventory of the item.

commands:

  • List of string values.
  • Example:
    • - 'open: game'
    • - 'server: survival'
    • - 'player: say hola'
  • (List) Command that is executed when clicking. (Command format).

permission:

  • Any string value.
  • Example: superlobby.item.game
  • Permission to use the item.

price:

  • Any integer value.
  • Example: 40
  • Price to use the item. default none.

keep-open:

  • Boolean value true or false.
  • Example: true
  • To keep inventory open. default false.

permission-to-view:

  • Boolean value true or false.
  • Example: true
  • Permission to view the inventory. default false.

skull:

  • Any string value.
  • Example: PedroJM96
  • To use heads with skin. Skulls format.

enchant-glow:

  • Boolean value true or false.
  • Example: true
  • To add enchantment colors to the items. default false.

version-check:

  • Boolean value true or false.
  • Example: true
  • To check if it is the correct version of minecraft.  default false (Requires ViaVersion).

version-list:

  • List of string values.
  • Example:
    • - '1.8.8'
    • - '1.8.9'
    • - '1.9.1'
  • List of versions to check in check version.

no-version-message:

  • Any string value.
  • Example: "&7[&9&l>&7] Only available in the versions <version>."
  • Message to show if the version is not compatible. Use <version> to show compatible versions in the message.

no-permision-message:

  • Any string value.
  • Example: "&7[&9&l>&7] You do not have permission to use that item."
  • Message that will be shown to the player when he does not have the permissions to use the item.

To create more item simply copy the previous one and paste it here within items.

To create more shops, copy the previous shop and paste it down in a clean place.