####################################################################################################
# +----------------------------------------------------------------------------------------------+ #
# |             _____       __                    _  _____           _                           | #
# |            |  __ \     / _|                  | |/ ____|         | |                          | #
# |            | |__) |___| |_ ___ _ __ _ __ __ _| | (___  _   _ ___| |_ ___ _ __ ___            | #
# |            |  _  // _ \  _/ _ \ '__| '__/ _` | |\___ \| | | / __| __/ _ \ '_ ` _ \           | #
# |            | | \ \  __/ ||  __/ |  | | | (_| | |____) | |_| \__ \ ||  __/ | | | | |          | #
# |            |_|  \_\___|_| \___|_|  |_|  \__,_|_|_____/ \__, |___/\__\___|_| |_| |_|          | #
# |                                                         __/ |                                | #
# |                                                        |___/                                 | #
# |                                                                                              | #
# |                                                                                              | #
# |                                                                                              | #
# |  WIKI:        https://pedrojm96.com/minecraft-plugin/referralsystem/                         | #
# |  BUG REPORTS: https://www.spigotmc.org/threads/referralsystem.183585/                        | #
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                           | #
# |  OFFICIAL SERVER: mc.mundopixels.net                                                         | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
# |                                          Menu Nodes                                          | #
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |  settings-name: The name of the menu.                                                        | #
# |  settings-rows: Number of rows in the menu. (1,2,3,4,5,6).                                   | #
# |  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.                                          | #
# |  one-time: So you can claim only once.                                                       | #
# |                                                                                              | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
####################################################################################################

settings-name: '&c&lClaim Reward'
settings-rows: 3
items:
  diamond:
    name: '&a&LDiamonds &6(&7Price: &f<price>&6)'
    lore:
    - '&c&m-------------------------------------'
    - '&c- &7Claim 10 Diamonds'
    - '&c- &7Click to claim the reward'
    - '&c&m-------------------------------------'
    material: 'diamond'
    data: 0
    slot: 12
    commands:
    - 'give: DIAMOND 10'
    - 'tell: &c&lReferralSystem &c>> &7Your reward &610 &bdiamonds'
    - 'broadcast: &c&lReferralSystem &c>> &7The player &b<player> &7a claimed &610
      &bdiamonds.'
    permission: rs.claim.diamond
    price: 20
    one-time: true
  money:
    name: '&a&lMoney &6(&7Price: &f<price>&6)'
    lore:
    - '&c&m-----------------------'
    - '&c- &7Claim $1000'
    - '&c- &7Click to claim the reward'
    - '&c&m-----------------------'
    material: 'emerald'
    data: 0
    slot: 14
    commands:
    - 'money: 10000'
    - 'tell: &c&lReferralSystem &c>> &7Your reward &61000 &bDollars.'
    - 'broadcast: &c&lReferralSystem &c>> &7The player &b<player> &7a claimed &61000
      &bDollars.'
    permission: rs.claim.money
    price: 40
  rank:
    name: '&a&lFree Rank &6(&7Price: &f<price>&6)'
    lore:
    - '&c&m-----------------------'
    - '&c- &7Claim free vip rank'
    - '&c- &7Click to claim the reward'
    - '&c&m-----------------------'
    material: 'diamond_helmet'
    data: 0
    slot: 16
    commands:
    - 'console: pex user <player> group add Vip * 80'
    - 'tell: &c&lReferralSystem &c>> &7Your reward &6Vip &bRank.'
    - 'broadcast: &c&lReferralSystem &c>> &7The player &b<player> &7a claimed &6Vip
      &brank.'
    permission: rs.claim.money
    price: 400
    one-time: true