Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop:
- trigger:
- create new gui with id "shop" with virtual chest named " §7-SHOP-" with 5 rows
- open gui with id "shop" to player
- format gui slot 20 of player with diamond sword named "&aGear" to run:
- create new gui with id "Gear" with virtual chest named " §8>-§4GEAR§8-<" with 3 rows:
- open gui with id "Gear" to player
- make gui slot 10 of player with diamond chestplate named "&31 life Armor" to run:
- create new gui with id "1lifeg" with virtual chest named " §8>-§41 LIFE GEAR§8-<" with 3 rows:
- open gui with id "1lifeg" to player
- make gui slot 10 of player with diamond chestplate named "&3Diamond Armor" to run:
- if player's balance is more than 100:
- give player diamond chestplate named "&3Diamond Chestplate"
- give player diamond chestplate named "&3Diamond Leggings"
- give player diamond chestplate named "&3Diamond Boots"
- give player diamond chestplate named "&3Diamond Helmet"
- remove 100 from player's balance
- make gui slot 12 of player with diamond sword named "&41 life Swords" to run:
- create new gui with id "1lifes" with virtual chest named " §8>-§41 LIFE SWORD§8-<" with 3 rows:
- open gui with id "1lifes" to player
- make gui slot 10 of player with diamond sword named "&3Diamond Sword" to run:
- if player's balance is more than 100:
- give player diamond chestplate named "&3Diamond Sword"
- remove 100 from player's balance
- make gui slot 14 of player with glowing diamond chestplate named "&3Permanent Armor" to run:
- create new gui with id "A" with virtual chest named " §8>-§4PERM ARMOR§8-<" with 3 rows:
- open gui with id "A" to player
- make gui slot 10 of player with diamond chestplate named "&3Diamond Armor" to run:
- if player's balance is more than 500:
- give player diamond chestplate named "&3Diamond Chestplate"
- give player diamond chestplate named "&3Diamond Leggings"
- give player diamond chestplate named "&3Diamond Boots"
- give player diamond chestplate named "&3Diamond Helmet"
- set {perm::armor::%player's uuid%} to "Diamond"
- remove 500 from player's balance
- make gui slot 12 of player with glowing diamond sword named "&4Permanent Swords" to run:
- create new gui with id "S" with virtual chest named " §8>-§4PERM SWORD§8-<" with 3 rows:
- open gui with id "S" to player
- make gui slot 10 of player with diamond sword named "&3Diamond Sword" to run:
- if player's balance is more than 500:
- give player diamond sword named "&3Diamond Sword"
- set {perm::sword::%player's uuid%} to "Diamond"
- remove 500 from player's balance
- on spawn:
- if {perm::armor::%player's uuid%} is "Diamond":
- give player diamond chestplate named "&3Diamond Chestplate"
- give player diamond chestplate named "&3Diamond Leggings"
- give player diamond chestplate named "&3Diamond Boots"
- give player diamond chestplate named "&3Diamond Helmet"
- if {perm::sword::%player's uuid%} is "Diamond":
- give player diamond sword named "&3Diamond Sword"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement