Advertisement
twogz

Untitled

Jul 22nd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. command /lumberjack:
  2. trigger:
  3. message "&a[NPC] Lumberjack: &fWant to see what I have to offer?"
  4. open chest with 4 rows named "Lumberjack" to player
  5.  
  6. wait 0.6 ticks
  7.  
  8. format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
  9.  
  10. 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"]
  11.  
  12. 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"]
  13.  
  14. 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"]
  15.  
  16. command /miner:
  17. trigger:
  18. message "&a[NPC] Miner: &fWant to see what I have to offer?"
  19. open chest with 4 rows named "Miner" to player
  20.  
  21. wait 0.6 ticks
  22.  
  23. format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
  24.  
  25. 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"]
  26.  
  27. 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"]
  28.  
  29. 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"]
  30.  
  31. command /fisherman:
  32. trigger:
  33. message "&a[NPC] Fisherman: &fWant to see what I have to offer?"
  34. open chest with 4 rows named "Fisherman" to player
  35.  
  36. wait 0.6 ticks
  37.  
  38. format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
  39.  
  40. 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"]
  41.  
  42. 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"]
  43.  
  44. 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"]
  45.  
  46. command /butcher:
  47. trigger:
  48. message "&a[NPC] Butcher: &fWant to see what I have to offer?"
  49. open chest with 4 rows named "Butcher" to player
  50.  
  51. wait 0.6 ticks
  52.  
  53. format slot 0 of player with paper named "&a&lYour Balance" with lore "&fMoney &a%player's balance%" to be unstealable
  54.  
  55. 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"]
  56.  
  57. 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"]
  58.  
  59. 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"]
  60.  
  61. command /purchase [<text>]:
  62. trigger:
  63. if arg 1 is "woodaxe":
  64. if player's balance >= 10:
  65. remove 10 from player's balance
  66. give wood axe with lore "&7Tier 1 Item" to player
  67. message "&a[NPC] Lumberjack: &fThanks for buying a &eWood Axe &ffor &2$10&f!"
  68. else:
  69. message "&c&lHey! &7You don't have enough cash to buy this!"
  70. if arg 1 is "stoneaxe":
  71. if player's balance >= 50:
  72. remove 50 from player's balance
  73. give stone axe with lore "&7Tier 2 Item" to player
  74. message "&a[NPC] Lumberjack: &fThanks for buying a &eStone Axe &ffor &2$50&f!"
  75. else:
  76. message "&c&lHey! &7You don't have enough cash to buy this!"
  77. if arg 1 is "ironaxe":
  78. if player's balance >= 100:
  79. remove 100 from player's balance
  80. give iron axe with lore "&7Tier 3 Item" to player
  81. message "&a[NPC] Lumberjack: &fThanks for buying an &eIron Axe &ffor &2$100&f!"
  82. else:
  83. message "&c&lHey! &7You don't have enough cash to buy this!"
  84.  
  85. if arg 1 is "woodpickaxe":
  86. if player's balance >= 20:
  87. remove 20 from player's balance
  88. give wood pickaxe with lore "&7Tier 1 Item" to player
  89. message "&a[NPC] Miner: &fThanks for buying a &eWood Pickaxe &ffor &2$20&f!"
  90. else:
  91. message "&c&lHey! &7You don't have enough cash to buy this!"
  92. if arg 1 is "stonepickaxe":
  93. if player's balance >= 100:
  94. remove 100 from player's balance
  95. give stone pickaxe with lore "&7Tier 2 Item" to player
  96. message "&a[NPC] Miner: &fThanks for buying a &eStone Pickaxe &ffor &2$100&f!"
  97. else:
  98. message "&c&lHey! &7You don't have enough cash to buy this!"
  99. if arg 1 is "ironpickaxe":
  100. if player's balance >= 350:
  101. remove 350 from player's balance
  102. give iron pickaxe with lore "&7Tier 3 Item" to player
  103. message "&a[NPC] Miner: &fThanks for buying an &eIron Pickaxe &ffor &2$350&f!"
  104. else:
  105. message "&c&lHey! &7You don't have enough cash to buy this!"
  106.  
  107. if arg 1 is "fishingrod":
  108. if player's balance >= 30:
  109. remove 30 from player's balance
  110. give fishing rod with lore "&7Tier 1 Item" to player
  111. message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$30&f!"
  112. else:
  113. message "&c&lHey! &7You don't have enough cash to buy this!"
  114. if arg 1 is "fishingrod2":
  115. if player's balance >= 200:
  116. remove 200 from player's balance
  117. give fishing rod of lure 2 with lore "&7Tier 2 Item" to player
  118. message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$200&f!"
  119. else:
  120. message "&c&lHey! &7You don't have enough cash to buy this!"
  121. if arg 1 is "fishingrod3":
  122. if player's balance >= 500:
  123. remove 500 from player's balance
  124. give fishing rod of lure 3 with lore "&7Tier 3 Item" to player
  125. message "&a[NPC] Miner: &fThanks for buying a &eFishing Rod &ffor &2$500&f!"
  126. else:
  127. message "&c&lHey! &7You don't have enough cash to buy this!"
  128.  
  129. if arg 1 is "woodsword":
  130. if player's balance >= 40:
  131. remove 40 from player's balance
  132. give wood pickaxe with lore "&7Tier 1 Item" to player
  133. message "&a[NPC] Miner: &fThanks for buying a &eWood Sword &ffor &2$40&f!"
  134. else:
  135. message "&c&lHey! &7You don't have enough cash to buy this!"
  136. if arg 1 is "stonesowrd":
  137. if player's balance >= 130:
  138. remove 130 from player's balance
  139. give stone sword with lore "&7Tier 2 Item" to player
  140. message "&a[NPC] Miner: &fThanks for buying a &eStone Sword &ffor &2$130&f!"
  141. else:
  142. message "&c&lHey! &7You don't have enough cash to buy this!"
  143. if arg 1 is "ironsword":
  144. if player's balance >= 400:
  145. remove 400 from player's balance
  146. give iron sword with lore "&7Tier 3 Item" to player
  147. message "&a[NPC] Miner: &fThanks for buying an &eIron Sword &ffor &2$400&f!"
  148. else:
  149. message "&c&lHey! &7You don't have enough cash to buy this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement