Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /lumberjack:
- trigger:
- message "&a[NPC] Lumberjack: &fWant to see what I have to offer?"
- open chest with 4 rows named "Lumberjack" to player
- wait 0.6 ticks
- format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
- format slot 10 of player with wood axe named "&e&lWood Axe" with lore "&7&oTier 1 Item||||&fPrice &a$10 each||||&6&lClick &fto buy a wood axe." to run [player command "/purchase woodaxe"]
- format slot 11 of player with stone axe named "&e&lStone Axe" with lore "&7&oTier 2 Item||||&fPrice &a$50 each||||&6&lClick &fto buy a stone axe." to run [player command "/purchase stoneaxe"]
- format slot 12 of player with iron axe named "&e&lIron Axe" with lore "&7&oTier 3 Item||||&fPrice &a$100 each||||&6&lClick &fto buy an iron axe." to run [player command "/purchase ironaxe"]
- command /miner:
- trigger:
- message "&a[NPC] Miner: &fWant to see what I have to offer?"
- open chest with 4 rows named "Miner" to player
- wait 0.6 ticks
- format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
- format slot 10 of player with wood pickaxe named "&e&lWood Pickaxe" with lore "&7&oTier 1 Item||||&fPrice &a$20 each||||&6&lClick &fto buy a wood pickaxe." to run [player command "/purchase woodpickaxe"]
- format slot 11 of player with stone pickaxe named "&e&lStone Pickaxe" with lore "&7&oTier 2 Item||||&fPrice &a$100 each||||&6&lClick &fto buy a stone pickaxe." to run [player command "/purchase stonepickaxe"]
- format slot 12 of player with iron pickaxe named "&e&lIron Pickaxe" with lore "&7&oTier 3 Item||||&fPrice &a$350 each||||&6&lClick &fto buy an iron pickaxe." to run [player command "/purchase ironpickaxe"]
- command /fisherman:
- trigger:
- message "&a[NPC] Fisherman: &fWant to see what I have to offer?"
- open chest with 4 rows named "Fisherman" to player
- wait 0.6 ticks
- format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
- format slot 10 of player with fishing rod named "&e&lFishing Rod" with lore "&7&oTier 1 Item||||&fPrice &a$30 each||||&6&lClick &fto buy a fishing rod." to run [player command "/purchase fishingrod"]
- format slot 11 of player with fishing rod of lure 2 named "&e&lFishing Rod - Lure 2" with lore "&7&oTier 2 Item||||&fPrice &a$200 each||||&6&lClick &fto buy a fishing rod." to run [player command "/purchase fishingrod2"]
- format slot 12 of player with fishing rod of lure 3 named "&e&lFishing Rod - Lure 3" with lore "&7&oTier 3 Item||||&fPrice &a$500 each||||&6&lClick &fto buy a fishing rod." to run [player command "/purchase fishingrod3"]
- command /butcher:
- trigger:
- message "&a[NPC] Butcher: &fWant to see what I have to offer?"
- open chest with 4 rows named "Butcher" to player
- wait 0.6 ticks
- format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
- format slot 10 of player with wood pickaxe named "&e&lWood Sword" with lore "&7&oTier 1 Item||||&fPrice &a$40 each||||&6&lClick &fto buy a wood sword." to run [player command "/purchase woodsword"]
- format slot 11 of player with stone pickaxe named "&e&lStone Sword" with lore "&7&oTier 2 Item||||&fPrice &a$130 each||||&6&lClick &fto buy a stone sword." to run [player command "/purchase stonesword"]
- format slot 12 of player with iron pickaxe named "&e&lIron Sword" with lore "&7&oTier 3 Item||||&fPrice &a$400 each||||&6&lClick &fto buy an iron sword." to run [player command "/purchase ironsword"]
- command /purchase [<text>]:
- trigger:
- if arg 1 is "woodaxe":
- if player's balance >= 10:
- remove 10 from player's balance
- give wood axe with lore "&7Tier 1 Item" to player
- message "&a[NPC] Lumberjack: &fThanks for buying a &eWood Axe &ffor &2$10&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "stoneaxe":
- if player's balance >= 50:
- remove 50 from player's balance
- give stone axe with lore "&7Tier 2 Item" to player
- message "&a[NPC] Lumberjack: &fThanks for buying a &eStone Axe &ffor &2$50&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "ironaxe":
- if player's balance >= 100:
- remove 100 from player's balance
- give iron axe with lore "&7Tier 3 Item" to player
- message "&a[NPC] Lumberjack: &fThanks for buying an &eIron Axe &ffor &2$100&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "woodpickaxe":
- if player's balance >= 20:
- remove 20 from player's balance
- give wood pickaxe with lore "&7Tier 1 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eWood Pickaxe &ffor &2$20&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "stonepickaxe":
- if player's balance >= 100:
- remove 100 from player's balance
- give stone pickaxe with lore "&7Tier 2 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eStone Pickaxe &ffor &2$100&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "ironpickaxe":
- if player's balance >= 350:
- remove 350 from player's balance
- give iron pickaxe with lore "&7Tier 3 Item" to player
- message "&a[NPC] Miner: &fThanks for buying an &eIron Pickaxe &ffor &2$350&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "fishingrod":
- if player's balance >= 30:
- remove 30 from player's balance
- give fishing rod with lore "&7Tier 1 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$30&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "fishingrod2":
- if player's balance >= 200:
- remove 200 from player's balance
- give fishing rod of lure 2 with lore "&7Tier 2 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$200&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "fishingrod3":
- if player's balance >= 500:
- remove 500 from player's balance
- give fishing rod of lure 3 with lore "&7Tier 3 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$500&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "woodsword":
- if player's balance >= 40:
- remove 40 from player's balance
- give wood pickaxe with lore "&7Tier 1 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eWood Sword &ffor &2$40&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "stonesowrd":
- if player's balance >= 130:
- remove 130 from player's balance
- give stone sword with lore "&7Tier 2 Item" to player
- message "&a[NPC] Miner: &fThanks for buying a &eStone Sword &ffor &2$130&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
- if arg 1 is "ironsword":
- if player's balance >= 400:
- remove 400 from player's balance
- give iron sword with lore "&7Tier 3 Item" to player
- message "&a[NPC] Miner: &fThanks for buying an &eIron Sword &ffor &2$400&f!"
- else:
- message "&c&lHey! &7You don't have enough cash to buy this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement