Code:
###########################################
# #
# Plugin made by Crura #
# Do not -Redacted- this Plugin #
# #
###########################################
MenuUtils:
mainMenu:
size: 9
name: "&8Levels Menu"
informationItem:
material: BEACON
data: 0
name: "&b&lLeveling Information"
lore:
- ""
- "&b&lInformation:"
- " &3&l* &bUser: &f%user%"
- " &3&l* &bLevel: &f%level%"
- ""
- "&b&lDescription:"
- "&7&oObtain awesome perks by leveling yourself"
- "&7&oup throughout the leveling system"
- ""
- "&7&o(( Level yourself up to gain rewards! ))"
Status:
unlockedPlaceholder: "&aUnlocked"
lockedPlaceholder: "&cLocked"
Levels:
1:
visualItem:
material: STICK
data: 0
name: "&b&lLevel 1 &7(%status%&7)"
lore:
- ""
- "&b&lInformation:"
- " &3&l* &bExp Needed: &f%expcost%"
- " &3&l* &bYour Exp: &f%userexp%"
- " &3&l* &bStatus: %status%"
- ""
- "&b&lRewards:"
- "&3&l* &b10x Sticks"
- ""
- "&7&o(( Click to purchase this level! ))"
expCost: 1000
commands:
- "give %player% Stick 10"
2:
visualItem:
material: EMERALD
data: 0
name: "&b&lLevel 2 &7(%status%&7)"
lore:
- ""
- "&b&lInformation:"
- " &3&l* &bExp Needed: &f%expcost%"
- " &3&l* &bYour Exp: &f%userexp%"
- " &3&l* &bStatus: %status%"
- ""
- "&b&lRewards:"
- "&3&l* &b10x Emeralds"
- ""
- "&7&o(( Click to purchase this level! ))"
expCost: 2000
commands:
- "give %player% Emerald 10"
3:
visualItem:
material: GOLD_INGOT
data: 0
name: "&b&lLevel 3 &7(%status%&7)"
lore:
- ""
- "&b&lInformation:"
- " &3&l* &bExp Needed: &f%expcost%"
- " &3&l* &bYour Exp: &f%userexp%"
- " &3&l* &bStatus: %status%"
- ""
- "&b&lRewards:"
- "&3&l* &b10x Gold"
- ""
- "&7&o(( Click to purchase this level! ))"
expCost: 3000
commands:
- "give %player% Gold 10"
4:
visualItem:
material: MOB_SPAWNER
data: 0
name: "&b&lLevel 4 &7(%status%&7)"
lore:
- ""
- "&b&lInformation:"
- " &3&l* &bExp Needed: &f%expcost%"
- " &3&l* &bYour Exp: &f%userexp%"
- " &3&l* &bStatus: %status%"
- ""
- "&b&lRewards:"
- "&3&l* &b1x Monster Spawner"
- ""
- "&7&o(( Click to purchase this level! ))"
expCost: 3000
commands:
- "give %player% 52 1"
Sounds:
completedPurchase:
name: LEVEL_UP
volume: 1.0
pitch: 1.0
failedPurchase:
name: CHICKEN_EGG_POP
volume: 1.0
pitch: 1.0
openMenu:
name: LEVEL_UP
volume: 1.0
pitch: 1.0
closeMenu:
name: LEVEL_UP
volume: 1.0
pitch: 1.0