Oxalist

Untitled

Dec 9th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.08 KB | None | 0 0
  1. Options:
  2. Version: 1.1
  3.  
  4.  
  5. #
  6. # W E L C O M E T O
  7. #
  8. # P I C K A X E L E V E L L I N G
  9. #
  10. # C R E A T E D B Y : J A C K | I P A R I S
  11. #
  12. # (! Please don't edit the settings below unless you know what you are doing !)
  13.  
  14.  
  15. Variables:
  16. {PickaxeLevel.%player%} = 1
  17. # This is the starting level for the pickaxe
  18. {PickaxeCounter.%player%} = 0
  19. # This is the starting blocks mined counter
  20. {UpgradePoints.%player%} = 0
  21. # This is the starting amount of points
  22. {BlocksMined.%player%} = 0
  23. Options:
  24. ToolName: &fStarter Pickaxe &8➤ &f{BlocksMined.%player%} &8➤ &fLevel &b%{PickaxeLevel.%player%}% &8➤ &fExp &8➤ &b%{PickaxeCounter.%player%}%&3/
  25. # This is the name for the pickaxe. You can change this however the Level and the Counter should be in the name
  26. UPoint: 1
  27. # This is how many points a player get's once a player has levelled a pickaxe up
  28. BlocksBroken: 200
  29. # This is the amount of blocks that need to be broken to a pickaxe has levelled up
  30. Header: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  31. Footer: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  32. Upgrade: &3(&bCurrent Level&3) &3➤ &f%{PickaxeLevel.%player%}% &3(&bUpgrade Points&3) &3➤ &f%{UpgradePoints.%player%}%
  33. # Header, Footer and upgrade message
  34. EffUP: 1
  35. ForUP: 1
  36. UnbUP: 1
  37. # These are how much the enchantment upgrades costs per points - Can change the amount
  38. UpgradeSuccess: &3(&bYou have enchanted your tool&3)
  39. MissingPoints: &3(&bYou need upgrade points to purchase this enchantment &3)
  40. # These are the messages if an upgrade is success or if a player doesn't have enough points
  41.  
  42.  
  43.  
  44.  
  45.  
  46. on mine of coal ore:
  47. if player is holding a pickaxe:
  48. add 1 to {PickaxeCounter.%player%}
  49. set name of tool of player to "{@ToolName}&b{@BlocksBroken}"
  50. if {PickaxeCounter.%player%} is greater than or equal to 100:
  51. add 1 to {PickaxeLevel.%player%}
  52. add {@UPoint} to {UpgradePoints.%player%}
  53. set {PickaxeCounter.%player%} to 0
  54. launch ball firework colored white and ball firework colored blue at targeted block timed 1
  55.  
  56. command /upgrades:
  57. trigger:
  58. send ""
  59. send " {@Header}"
  60. send " &7&oClick on enchantments to upgrade your tool"
  61. send ""
  62. send " {@Upgrade}"
  63. send ""
  64. send ""
  65. json("%player%"," &7&oEfficiency||cmd:/eff||ttp:&3» &b&l{@EffUP} Upgrade Point%newline%&fIncrease your%newline%&f&lEfficiency&fon your tool|| &7&oFortune||cmd:/for||ttp:&3» &b&l{@ForUP} Upgrade Point%newline%&fIncrease your%newline%&f&oFortune &fon your tool|| &7&oUnbreaking||cmd:/unb||ttp:&3» &b&l{@UnbUP} Upgrade Point%newline%&fIncrease your%newline%&f&oUnbreaking &fon your tool")
  66. send ""
  67. send " {@Footer}"
  68.  
  69. command /eff:
  70. trigger:
  71. if {UpgradePoints.%player%} is greater than or equal to {@EffUP}:
  72. send ""
  73. send " {@UpgradeSuccess}"
  74. send ""
  75. remove 1 from {UpgradePoints.%player%}
  76. evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%"
  77. else:
  78. send ""
  79. send " {@MissingPoints}"
  80. send ""
  81.  
  82. command /for:
  83. trigger:
  84. if {UpgradePoints.%player%} is greater than or equal to {@ForUP}:
  85. send ""
  86. send " {@UpgradeSuccess}"
  87. send ""
  88. remove 1 from {UpgradePoints.%player%}
  89. evaluate "enchant player's tool with fortune %level of fortune of player's tool + 1%"
  90. else:
  91. send ""
  92. send " {@MissingPoints}"
  93. send ""
  94.  
  95. command /unb:
  96. trigger:
  97. if {UpgradePoints.%player%} is greater than or equal to {@UnbUP}:
  98. send ""
  99. send " {@UpgradeSuccess}"
  100. send ""
  101. remove 1 from {UpgradePoints.%player%}
  102. evaluate "enchant player's tool with unbreaking %level of unbreaking of player's tool + 1%"
  103. else:
  104. send ""
  105. send " {@MissingPoints}"
  106. send ""
  107. on first join:
  108. make player execute "/kit joinpickaxe"
  109. on drop:
  110. cancel event
  111. on rightclick holding a diamond pickaxe:
  112. make player execute "/upgrades"
  113. on break of ore:
  114. add 1 to {Options:
  115. Version: 1.1
  116.  
  117.  
  118. #
  119. # W E L C O M E T O
  120. #
  121. # P I C K A X E L E V E L L I N G
  122. #
  123. # C R E A T E D B Y : J A C K | I P A R I S
  124. #
  125. # (! Please don't edit the settings below unless you know what you are doing !)
  126.  
  127.  
  128. Variables:
  129. {PickaxeLevel.%player%} = 1
  130. # This is the starting level for the pickaxe
  131. {PickaxeCounter.%player%} = 0
  132. # This is the starting blocks mined counter
  133. {UpgradePoints.%player%} = 0
  134. # This is the starting amount of points
  135. {BlocksMined.%player%} = 0
  136. Options:
  137. ToolName: &fStarter Pickaxe &8➤ &f{BlocksMined.%player%} &8➤ &fLevel &b%{PickaxeLevel.%player%}% &8➤ &fExp &8➤ &b%{PickaxeCounter.%player%}%&3/
  138. # This is the name for the pickaxe. You can change this however the Level and the Counter should be in the name
  139. UPoint: 1
  140. # This is how many points a player get's once a player has levelled a pickaxe up
  141. BlocksBroken: 200
  142. # This is the amount of blocks that need to be broken to a pickaxe has levelled up
  143. Header: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  144. Footer: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  145. Upgrade: &3(&bCurrent Level&3) &3➤ &f%{PickaxeLevel.%player%}% &3(&bUpgrade Points&3) &3➤ &f%{UpgradePoints.%player%}%
  146. # Header, Footer and upgrade message
  147. EffUP: 1
  148. ForUP: 1
  149. UnbUP: 1
  150. # These are how much the enchantment upgrades costs per points - Can change the amount
  151. UpgradeSuccess: &3(&bYou have enchanted your tool&3)
  152. MissingPoints: &3(&bYou need upgrade points to purchase this enchantment &3)
  153. # These are the messages if an upgrade is success or if a player doesn't have enough points
  154.  
  155.  
  156.  
  157.  
  158.  
  159. on mine of coal ore:
  160. if player is holding a pickaxe:
  161. add 1 to {PickaxeCounter.%player%}
  162. set name of tool of player to "{@ToolName}&b{@BlocksBroken}"
  163. if {PickaxeCounter.%player%} is greater than or equal to 100:
  164. add 1 to {PickaxeLevel.%player%}
  165. add {@UPoint} to {UpgradePoints.%player%}
  166. set {PickaxeCounter.%player%} to 0
  167. launch ball firework colored white and ball firework colored blue at targeted block timed 1
  168.  
  169. command /upgrades:
  170. trigger:
  171. send ""
  172. send " {@Header}"
  173. send " &7&oClick on enchantments to upgrade your tool"
  174. send ""
  175. send " {@Upgrade}"
  176. send ""
  177. send ""
  178. json("%player%"," &7&oEfficiency||cmd:/eff||ttp:&3» &b&l{@EffUP} Upgrade Point%newline%&fIncrease your%newline%&f&lEfficiency&fon your tool|| &7&oFortune||cmd:/for||ttp:&3» &b&l{@ForUP} Upgrade Point%newline%&fIncrease your%newline%&f&oFortune &fon your tool|| &7&oUnbreaking||cmd:/unb||ttp:&3» &b&l{@UnbUP} Upgrade Point%newline%&fIncrease your%newline%&f&oUnbreaking &fon your tool")
  179. send ""
  180. send " {@Footer}"
  181.  
  182. command /eff:
  183. trigger:
  184. if {UpgradePoints.%player%} is greater than or equal to {@EffUP}:
  185. send ""
  186. send " {@UpgradeSuccess}"
  187. send ""
  188. remove 1 from {UpgradePoints.%player%}
  189. evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%"
  190. else:
  191. send ""
  192. send " {@MissingPoints}"
  193. send ""
  194.  
  195. command /for:
  196. trigger:
  197. if {UpgradePoints.%player%} is greater than or equal to {@ForUP}:
  198. send ""
  199. send " {@UpgradeSuccess}"
  200. send ""
  201. remove 1 from {UpgradePoints.%player%}
  202. evaluate "enchant player's tool with fortune %level of fortune of player's tool + 1%"
  203. else:
  204. send ""
  205. send " {@MissingPoints}"
  206. send ""
  207.  
  208. command /unb:
  209. trigger:
  210. if {UpgradePoints.%player%} is greater than or equal to {@UnbUP}:
  211. send ""
  212. send " {@UpgradeSuccess}"
  213. send ""
  214. remove 1 from {UpgradePoints.%player%}
  215. evaluate "enchant player's tool with unbreaking %level of unbreaking of player's tool + 1%"
  216. else:
  217. send ""
  218. send " {@MissingPoints}"
  219. send ""
  220. on first join:
  221. make player execute "/kit joinpickaxe"
  222. on drop:
  223. cancel event
  224. on rightclick holding a diamond pickaxe:
  225. make player execute "/upgrades"
  226. on break of ore:
  227. add 1 to Options:
  228. Version: 1.1
  229.  
  230.  
  231. #
  232. # W E L C O M E T O
  233. #
  234. # P I C K A X E L E V E L L I N G
  235. #
  236. # C R E A T E D B Y : J A C K | I P A R I S
  237. #
  238. # (! Please don't edit the settings below unless you know what you are doing !)
  239.  
  240.  
  241. Variables:
  242. {PickaxeLevel.%player%} = 1
  243. # This is the starting level for the pickaxe
  244. {PickaxeCounter.%player%} = 0
  245. # This is the starting blocks mined counter
  246. {UpgradePoints.%player%} = 0
  247. # This is the starting amount of points
  248. {BlocksMined.%player%} = 0
  249. Options:
  250. ToolName: &fStarter Pickaxe &8➤ &f{BlocksMined.%player%} &8➤ &fLevel &b%{PickaxeLevel.%player%}% &8➤ &fExp &8➤ &b%{PickaxeCounter.%player%}%&3/
  251. # This is the name for the pickaxe. You can change this however the Level and the Counter should be in the name
  252. UPoint: 1
  253. # This is how many points a player get's once a player has levelled a pickaxe up
  254. BlocksBroken: 200
  255. # This is the amount of blocks that need to be broken to a pickaxe has levelled up
  256. Header: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  257. Footer: &8&m--&7&m--&b&m--&3&m--&b( &f&lPICKAXE UPGRADES &b)&3&m--&b&m--&7&m--&8&m--
  258. Upgrade: &3(&bCurrent Level&3) &3➤ &f%{PickaxeLevel.%player%}% &3(&bUpgrade Points&3) &3➤ &f%{UpgradePoints.%player%}%
  259. # Header, Footer and upgrade message
  260. EffUP: 1
  261. ForUP: 1
  262. UnbUP: 1
  263. # These are how much the enchantment upgrades costs per points - Can change the amount
  264. UpgradeSuccess: &3(&bYou have enchanted your tool&3)
  265. MissingPoints: &3(&bYou need upgrade points to purchase this enchantment &3)
  266. # These are the messages if an upgrade is success or if a player doesn't have enough points
  267.  
  268.  
  269.  
  270.  
  271.  
  272. on mine of coal ore:
  273. if player is holding a pickaxe:
  274. add 1 to {PickaxeCounter.%player%}
  275. set name of tool of player to "{@ToolName}&b{@BlocksBroken}"
  276. if {PickaxeCounter.%player%} is greater than or equal to 100:
  277. add 1 to {PickaxeLevel.%player%}
  278. add {@UPoint} to {UpgradePoints.%player%}
  279. set {PickaxeCounter.%player%} to 0
  280. launch ball firework colored white and ball firework colored blue at targeted block timed 1
  281.  
  282. command /upgrades:
  283. trigger:
  284. send ""
  285. send " {@Header}"
  286. send " &7&oClick on enchantments to upgrade your tool"
  287. send ""
  288. send " {@Upgrade}"
  289. send ""
  290. send ""
  291. json("%player%"," &7&oEfficiency||cmd:/eff||ttp:&3» &b&l{@EffUP} Upgrade Point%newline%&fIncrease your%newline%&f&lEfficiency&fon your tool|| &7&oFortune||cmd:/for||ttp:&3» &b&l{@ForUP} Upgrade Point%newline%&fIncrease your%newline%&f&oFortune &fon your tool|| &7&oUnbreaking||cmd:/unb||ttp:&3» &b&l{@UnbUP} Upgrade Point%newline%&fIncrease your%newline%&f&oUnbreaking &fon your tool")
  292. send ""
  293. send " {@Footer}"
  294.  
  295. command /eff:
  296. trigger:
  297. if {UpgradePoints.%player%} is greater than or equal to {@EffUP}:
  298. send ""
  299. send " {@UpgradeSuccess}"
  300. send ""
  301. remove 1 from {UpgradePoints.%player%}
  302. evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%"
  303. else:
  304. send ""
  305. send " {@MissingPoints}"
  306. send ""
  307.  
  308. command /for:
  309. trigger:
  310. if {UpgradePoints.%player%} is greater than or equal to {@ForUP}:
  311. send ""
  312. send " {@UpgradeSuccess}"
  313. send ""
  314. remove 1 from {UpgradePoints.%player%}
  315. evaluate "enchant player's tool with fortune %level of fortune of player's tool + 1%"
  316. else:
  317. send ""
  318. send " {@MissingPoints}"
  319. send ""
  320.  
  321. command /unb:
  322. trigger:
  323. if {UpgradePoints.%player%} is greater than or equal to {@UnbUP}:
  324. send ""
  325. send " {@UpgradeSuccess}"
  326. send ""
  327. remove 1 from {UpgradePoints.%player%}
  328. evaluate "enchant player's tool with unbreaking %level of unbreaking of player's tool + 1%"
  329. else:
  330. send ""
  331. send " {@MissingPoints}"
  332. send ""
  333. on first join:
  334. make player execute "/kit joinpickaxe"
  335. on drop:
  336. cancel event
  337. on rightclick holding a diamond pickaxe:
  338. make player execute "/upgrades"
  339. on break of ore:
  340. add 1 to {BlocksMined.%player%}
Advertisement
Add Comment
Please, Sign In to add comment