SuperCredits:shops.yml

From PedroJM96 Wiki EN
Revision as of 08:02, 26 January 2019 by PedroJM96 (talk | contribs) (Created page with "<syntaxhighlight lang="YAML"> #################################################################################################### # +-----------------------------------------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
####################################################################################################
# +----------------------------------------------------------------------------------------------+ #
# |    _____                       _           _     _           _____       _                   | #
# |   / ____|                     | |         | |   | |         |  __ \     | |                  | #
# |  | (___  _   _ _ __   ___ _ __| |     ___ | |__ | |__  _   _| |  | | ___| |_   ___  _____    | #
# |   \___ \| | | | '_ \ / _ \ '__| |    / _ \| '_ \| '_ \| | | | |  | |/ _ \ | | | \ \/ / _ \   | #
# |   ____) | |_| | |_) |  __/ |  | |___| (_) | |_) | |_) | |_| | |__| |  __/ | |_| |>  <  __/   | #
# |  |_____/ \__,_| .__/ \___|_|  |______\___/|_.__/|_.__/ \__, |_____/ \___|_|\__,_/_/\_\___|   | #
# |               | |                                       __/ |                                | #
# |               |_|                                      |___/                                 | #
# |                                                                                              | #
# |                                                                                              | #
# |  WIKI:        http://en.wiki.pedrojm96.com/wiki/SuperLobbyDeluxe                             | #
# |  BUG REPORTS: https://www.spigotmc.org/threads/superlobbydeluxe.132949                       | #
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                           | #
# |  OFFICIAL SERVER: mc.pedrojm96.com                                                           | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
# +----------------------------------------------------------------------------------------------+ #
# |                                          Menu Nodes                                          | #
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |  settings-name: The name of the menu.                                                        | #
# |  settings-rows: Number of rows in the menu. (1,2,3,4,5,6).                                   | #
# |  settings-world: World where the menu works. (Do not place to work on all worlds).           | #
# |  settings-open-commands: Command to open the menu.                                           | #
# |  settings-permission: Permission to use the menu.                                            | #
# |  settings-open-sound: Sound that will sound when you open the menu.                          | #
# |  settings-glass-enable: To place decoration glasses. default false                           | #
# |  settings-glass-color: The color of the glasses. From 0 to 15                                | #
# |  items: List of items that will contain the menu.                                            | #
# |                                                                                              | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
# +----------------------------------------------------------------------------------------------+ #
# |                                          Items Nodes                                         | #
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |  name: The name of the item.                                                                 | #
# |  lore: The description of the item.                                                          | #
# |  material: The material of the item. Example: "SKULL_ITEM:3","DIAMOND".                      | #
# |  id: The id of the item material (https://www.minecraftinfo.com/idlist.htm).                 | #
# |  data: Value of the material type of the item.                                               | #
# |  slot: Location in the inventory of the item.                                                | #
# |  commands: Command that is executed when clicking.  (server, player, console, op,            | #
# |            broadcast, give, money, points, tell, open, world).                               | #
# |  permission: Permission to use the item.                                                     | #
# |  price: Price to use the item. default none.                                                 | #
# |  keep-open: To keep inventory open. default false.                                           | #
# |  permission-to-view: Permission to view the inventory. default false.                        | #
# |  skull: To use heads with skin.                                                              | #
# |        (url: address.png | textures: <Base64 code> | web: <player> | <player>)               | #
# |  enchant-glow: To add enchantment colors to the items. default false                         | #
# |  version-check: To check if it is the correct version of minecraft.                          | #
# |                    default false (Requires ViaVersion)                                       | #
# |  version-list: List of versions to check in check version.                                   | #
# |  no-version-message: Message to show if the version is not compatible.                       | #
# |                      Use <version> to show compatible versions in the message.               | #
# |  no-permision-message: 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 menus, copy the previous menu and paste it down in a clean place.             | #
# +----------------------------------------------------------------------------------------------+ #
####################################################################################################
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