This file contains the settings for claim menu.
The clain.yml file contains a list of configuration nodes for the menu.
Example:
settings-name: '&c&lClaim Reward'
settings-rows: 3
items:
diamond:
name: '&a&LDiamonds &6(&7Price: &f&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 &7a claimed &610
&bdiamonds.'
permission: rs.claim.diamond
price: 20
one-time: true
money:
name: '&a&lMoney &6(&7Price: &f&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 &7a claimed &61000
&bDollars.'
permission: rs.claim.money
price: 40
rank:
name: '&a&lFree Rank &6(&7Price: &f&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 group add Vip * 80'
- 'tell: &c&lReferralSystem &c>> &7Your reward &6Vip &bRank.'
- 'broadcast: &c&lReferralSystem &c>> &7The player &b &7a claimed &6Vip
&brank.'
permission: rs.claim.money
price: 400
one-time: true
Menu node configuration.
settings-name:
- Any string value.
- Example: «&c&lClaim Reward»
- The name of the menu.
settings-rows:
- Any integer value.
- Example: 3
- Number of rows in the menu. (1,2,3,4,5,6).
settings-open-sound:
- Any string value.
- Example: NOTE_PLING
- Sound that will sound when you open the menu. (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:
- Any integer value.
- Example: 14
- The color of the glasses. From 0 to 15. Stained Glass Color List.
items:
- List of Items nodes configuration.
- Example:
-
diamond: name: '&a&LDiamonds &6(&7Price: &f&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 &7a claimed &610 &bdiamonds.' permission: rs.claim.diamond price: 20 one-time: true money: name: '&a&lMoney &6(&7Price: &f&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 &7a claimed &61000 &bDollars.' permission: rs.claim.money price: 40
-
- List of item nodes that will contain the menu.
Items nodes configuration.
name:
- Any string value.
- Example: «&a&LDiamonds &6(&7Price: &f<price>&6)»
- The name of the item.
lore:
- List of string values.
- Example:
-
- '&c&m-------------------------------------'
-
- '&c- &7Claim 10 Diamonds'
-
- '&c- &7Click to claim the reward'
-
- '&c&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:
-
- 'give: DIAMOND 10'
-
- 'tell: &c&lReferralSystem &c>> &7Your reward &610 &bdiamonds'
-
- (List) Command that is executed when clicking. (Command format).
permission:
- Any string value.
- Example: rs.claim.diamond
- Permission to use the item.
price:
- Any integer value.
- Example: 20
- Price to use the item. default none.
keep-open:
- Boolean value true or false.
- Example: false
- 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.
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.
one-time:
- Boolean value true or false.
- Example: true
- So you can claim only once.