SuperCredits:examplemenu.yml

From PedroJM96 Wiki EN
Jump to: navigation, search
####################################################################################################
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |               _____                        _____              _ _ _                          | #
# |              / ____|                      / ____|            | (_) |                         | #
# |             | (___  _   _ _ __   ___ _ __| |     _ __ ___  __| |_| |_ ___                    | #
# |              \___ \| | | | '_ \ / _ \ '__| |    | '__/ _ \/ _` | | __/ __|                   | #
# |              __ _) | |_| | |_) |  __/ |  | |____| | |  __/ (_| | | |_\__ \                   | #
# |             |_____/ \__,_| .__/ \___|_|   \_____|_|  \___|\__,_|_|\__|___/                   | #
# |                          | |                                                                 | #
# |                          |_|                                                                 | #
# |                                                                                              | #
# |                                                                                              | #
# |  WIKI:        http://en.wiki.pedrojm96.com/wiki/SuperCredits                                 | #
# |  BUG REPORTS: https://www.spigotmc.org/threads/supercredits.190963/                          | #
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                           | #
# |  OFFICIAL SERVER: mc.minepal.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-commands: Command to open the menu.                                           | #
# |  settings-permission: Permission to use the menu.                                            | #
# |  settings-glass-enable: To place decoration glasses. From 0 to 15                            | #
# |  settings-glass-color: The color of the glasses.                                             | #
# |  items: List of items that will contain the menu.                                            | #
# |                                                                                              | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
 
# +----------------------------------------------------------------------------------------------+ #
# |                                          Items Nodes                                         | #
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |  name: The name of the item.                                                                 | #
# |  lore: The description of the item.                                                          | #
# |  id: The id of the item material (https://www.minecraftinfo.com/idlist.htm).                 | #
# |  data-value: 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).                                              | #
# |  permission: Permission to use the item.                                                     | #
# |  price: Price to use the item. default none.                                                 | #
# |  keep-open: To keep inventory open. default false.                                           | #
# |                                                                                              | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
 
# +----------------------------------------------------------------------------------------------+ #
# | To create more item simply copy the previous one and paste it here within items.             | #
# | To add a new menu, copy the example menu. And paste it under another name and edit.          | #
# +----------------------------------------------------------------------------------------------+ #

settings-name: '&6&k..&r &5&lExample Menu &6&k..'
settings-rows: 3
settings-permission: supercredits.shop.example
settings-open-commands: claim
items:
  Diamond:
    name: '&b&LDiamonds &6(&7Price: &f<price>&6)'
    lore:
    - '&a-----------------------'
    - '&a- &7Buy 10 Diamonds'
    - '&a- &7Click to claim the reward'
    - '&a-----------------------'
    id: 264
    data-value: 0
    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: rs.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-----------------------'
    id: 388
    data-value: 0
    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: rs.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-----------------------'
    id: 310
    data-value: 0
    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: rs.claim.money
    price: 400