Advertisement
AurasPrivate

Untitled

Oct 9th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.50 KB | None | 0 0
  1. on death:
  2. victim is a player:
  3. attacker is a player:
  4. if {player::%uuid of player%::game::ranked::status} is true:
  5. clear drops
  6. kill victim
  7. send "&b&l-2 ELO" to victim
  8. set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
  9.  
  10. add 1 to {player::%uuid of attacker%::game::kills}
  11. if {player::%uuid of player%::multiplier::coins} is true:
  12. add 200 to {player::%uuid of attacker%::game::coins}
  13. send "&6&l+200 COINS" to attacker
  14. else:
  15. add 100 to {player::%uuid of attacker%::game::coins}
  16. send "&6&l+100 COINS" to attacker
  17. if {player::%uuid of player%::multiplier::elo} is true:
  18. add 10 to {player::%uuid of attacker%::game::elo}
  19. send "&b&l+10 ELO" to attacker
  20. else:
  21. add 5 to {player::%uuid of attacker%::game::elo}
  22. send "&b&l+5 ELO" to attacker
  23. remove 2 from {player::%uuid of victim%::game::elo}
  24. add 1 to {player::%uuid of victim%::game::deaths}
  25. else:
  26. clear drops
  27. set death message to "&c%victim% &edied."
  28.  
  29. on respawn:
  30. if {player::%uuid of player%::game::ranked::status} is true:
  31. make player execute "ranked"
  32. on command "ranked":
  33. if {player::%uuid of player%::game::elo} < 1250:
  34. if {player::%uuid of player%::game::elorank} isn't "Unranked":
  35. set {player::%uuid of player%::game::elorank} to "Unranked"
  36. if {player::%uuid of player%::game::elo} > 1249:
  37. if {player::%uuid of player%::game::elorank} isn't "Bronze I&7":
  38. set {player::%uuid of player%::game::elorank} to "Bronze I&7"
  39. add 2 to {player::%uuid of player%::ranked::equip}
  40. if {player::%uuid of player%::game::elo} > 1499:
  41. if {player::%uuid of player%::game::elorank} isn't "Bronze II&7":
  42. set {player::%uuid of player%::game::elorank} to "Bronze II&7"
  43. add 2 to {player::%uuid of player%::ranked::equip}
  44. if {player::%uuid of player%::game::elo} > 1749:
  45. if {player::%uuid of player%::game::elorank} isn't "Bronze III&7":
  46. set {player::%uuid of player%::game::elorank} to "Bronze III&7"
  47. add 2 to {player::%uuid of player%::ranked::equip}
  48. if {player::%uuid of player%::game::elo} > 1999:
  49. if {player::%uuid of player%::game::elorank} isn't "&fSilver I&7":
  50. set {player::%uuid of player%::game::elorank} to "&fSilver I&7"
  51. add 2 to {player::%uuid of player%::ranked::equip}
  52. if {player::%uuid of player%::game::elo} > 2249:
  53. if {player::%uuid of player%::game::elorank} isn't "&fSilver II&7":
  54. set {player::%uuid of player%::game::elorank} to "&fSilver II&7"
  55. add 2 to {player::%uuid of player%::ranked::equip}
  56. if {player::%uuid of player%::game::elo} > 2499:
  57. if {player::%uuid of player%::game::elorank} isn't "&fSilver III&7":
  58. set {player::%uuid of player%::game::elorank} to "&fSilver III&7"
  59. add 2 to {player::%uuid of player%::ranked::equip}
  60. if {player::%uuid of player%::game::elo} > 2749:
  61. if {player::%uuid of player%::game::elorank} isn't "&6Gold I&7":
  62. set {player::%uuid of player%::game::elorank} to "&6Gold I&7"
  63. add 2 to {player::%uuid of player%::ranked::equip}
  64. if {player::%uuid of player%::game::elo} > 2999:
  65. if {player::%uuid of player%::game::elorank} isn't "&6Gold II&7":
  66. set {player::%uuid of player%::game::elorank} to "&6Gold II&7"
  67. add 2 to {player::%uuid of player%::ranked::equip}
  68. if {player::%uuid of player%::game::elo} > 3249:
  69. if {player::%uuid of player%::game::elorank} isn't "&6Gold III&7":
  70. set {player::%uuid of player%::game::elorank} to "&6Gold III&7"
  71. add 2 to {player::%uuid of player%::ranked::equip}
  72. if {player::%uuid of player%::game::elo} > 3499:
  73. if {player::%uuid of player%::game::elorank} isn't "&bDiamond I&7":
  74. set {player::%uuid of player%::game::elorank} to "&bDiamond I&7"
  75. add 2 to {player::%uuid of player%::ranked::equip}
  76. if {player::%uuid of player%::game::elo} > 3749:
  77. if {player::%uuid of player%::game::elorank} isn't "&bDiamond II&7":
  78. set {player::%uuid of player%::game::elorank} to "&bDiamond II&7"
  79. add 2 to {player::%uuid of player%::ranked::equip}
  80. if {player::%uuid of player%::game::elo} > 3999:
  81. if {player::%uuid of player%::game::elorank} isn't "&bDiamond III&7":
  82. set {player::%uuid of player%::game::elorank} to "&bDiamond III&7"
  83. add 2 to {player::%uuid of player%::ranked::equip}
  84. if {player::%uuid of player%::game::elo} > 4249:
  85. if {player::%uuid of player%::game::elorank} isn't "&aEmerald I&7":
  86. set {player::%uuid of player%::game::elorank} to "&aEmerald I&7"
  87. add 2 to {player::%uuid of player%::ranked::equip}
  88. if {player::%uuid of player%::game::elo} > 4499:
  89. if {player::%uuid of player%::game::elorank} isn't "&aEmerald II&7":
  90. set {player::%uuid of player%::game::elorank} to "&aEmerald II&7"
  91. add 2 to {player::%uuid of player%::ranked::equip}
  92. if {player::%uuid of player%::game::elo} > 4749:
  93. if {player::%uuid of player%::game::elorank} isn't "&aEmerald III&7":
  94. set {player::%uuid of player%::game::elorank} to "&aEmerald III&7"
  95. add 2 to {player::%uuid of player%::ranked::equip}
  96. if {player::%uuid of player%::game::elo} > 4999:
  97. if {player::%uuid of player%::game::elorank} isn't "&6Legend I&7":
  98. set {player::%uuid of player%::game::elorank} to "&6Legend I&7"
  99. add 2 to {player::%uuid of player%::ranked::equip}
  100. if {player::%uuid of player%::game::elo} > 5249:
  101. if {player::%uuid of player%::game::elorank} isn't "&6Legend II&7":
  102. set {player::%uuid of player%::game::elorank} to "&6Legend II&7"
  103. add 2 to {player::%uuid of player%::ranked::equip}
  104. if {player::%uuid of player%::game::elo} > 5249:
  105. if {player::%uuid of player%::game::elorank} isn't "&6Legend III&7":
  106. set {player::%uuid of player%::game::elorank} to "&6Legend III&7"
  107. add 2 to {player::%uuid of player%::ranked::equip}
  108. if {player::%uuid of player%::game::elo} > 5499:
  109. if {player::%uuid of player%::game::elorank} isn't "&5Masters I&7":
  110. set {player::%uuid of player%::game::elorank} to "&5Masters I&7"
  111. add 2 to {player::%uuid of player%::ranked::equip}
  112. if {player::%uuid of player%::game::elo} > 5749:
  113. if {player::%uuid of player%::game::elorank} isn't "&5Masters II&7":
  114. set {player::%uuid of player%::game::elorank} to "&5Masters II&7"
  115. add 2 to {player::%uuid of player%::ranked::equip}
  116. if {player::%uuid of player%::game::elo} > 5999:
  117. if {player::%uuid of player%::game::elorank} isn't "&5Masters III&7":
  118. set {player::%uuid of player%::game::elorank} to "&5Masters III&7"
  119. add 2 to {player::%uuid of player%::ranked::equip}
  120. if {player::%uuid of player%::game::elo} > 6499:
  121. if {player::%uuid of player%::game::elorank} isn't "&cChampion&7":
  122. set {player::%uuid of player%::game::elorank} to "&cChampion&7"
  123. add 2 to {player::%uuid of player%::ranked::equip}
  124.  
  125. command /ranked:
  126. trigger:
  127. if {player::%uuid of player%::game::unranked::status} isn't set:
  128. if {player::%uuid of player%::game::ranked::status} is set:
  129. if {player::%uuid of player%::game::pvptag} is "IDKKDKDKD":
  130. send "&cYou have a &a&lPvPTag &ccooldown still."
  131. else:
  132. if {player::%uuid of player%::game::current::kills} isn't set:
  133. set {player::%uuid of player%::game::current::kills} to 0
  134. if {player::%uuid of player%::game::current::deaths} isn't set:
  135. set {player::%uuid of player%::game::current::deaths} to 0
  136. if {player::%uuid of player%::game::kills} isn't set:
  137. set {player::%uuid of player%::game::kills} to 0
  138. if {player::%uuid of player%::game::deaths} isn't set:
  139. set {player::%uuid of player%::game::deaths} to 0
  140. if {player::%uuid of player%::game::elo} isn't set:
  141. set {player::%uuid of player%::game::elo} to 1000
  142. send "&7&m--------------------------------------"
  143. send "&r"
  144. send "&6&lGlobal Statistics"
  145. send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
  146. send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
  147. send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
  148. send "&r"
  149. send "&7&m--------------------------------------"
  150. clear player's inventory
  151. execute console command "/minecraft:effect %player% clear"
  152. set {player::%uuid of player%::spawn} to true
  153. teleport player to {server.location.spawn}
  154. delete {player::%uuid of player%::game::pvptag}
  155. delete {player::%uuid of player%::game::status}
  156. delete {player::%uuid of player%::game::current::kills}
  157. delete {player::%uuid of player%::game::current::deaths}
  158. delete {player::%uuid of player%::game::ranked::status}
  159. make player execute "spawn"
  160. else:
  161. delete {player::%uuid of player%::spawn}
  162. if {player.%uuid of player%::game::class} isn't set:
  163. set {player.%uuid of player%::game::class} to "Aggressive"
  164. set {player::%uuid of player%::game::ranked::status} to true
  165. send "&7&m--------------------------------------"
  166. send "&r"
  167. send "&6&lRANKED &6FFA"
  168. send "&r"
  169. send " &r&lCLASS &7Ranked"
  170. send "&r"
  171. send "&7&m--------------------------------------"
  172. clear player's inventory
  173. heal player
  174. set hunger of player to 20
  175. set gamemode of player to survival
  176.  
  177. set player's helmet to iron helmet
  178. if {player::%uuid of player%::inventory::ranked::1armor1} is true:
  179. set player's helmet to chainmail helmet of protection 2
  180.  
  181. set player's chestplate to iron chestplate
  182. if {player::%uuid of player%::inventory::ranked::1armor2} is true:
  183. set player's chestplate to chainmail chestplate of protection 2
  184.  
  185. set player's leggings to iron leggings
  186. if {player::%uuid of player%::inventory::ranked::1armor3} is true:
  187. set player's leggings to chainmail boots of protection 2
  188.  
  189. set player's boots to iron boots
  190. if {player::%uuid of player%::inventory::ranked::1armor4} is true:
  191. set player's boots to chainmail boots of protection 2
  192.  
  193. set slot 0 of player to diamond sword named "&r%player%'s Sword"
  194. set slot 7 of player to 8 golden apples
  195. set slot 8 of player to 10 golden carrots
  196. teleport player to {server.location.ranked}
  197. if {player::%uuid of player%::inventory::ranked::weapon1} is set:
  198. set slot 0 of player to iron sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
  199. if {player::%uuid of player%::inventory::ranked::weapon2} is set:
  200. set slot 0 of player to iron sword of sharpness 2 and fire aspect 2 named "&r%player%'s Sword"
  201. if {player::%uuid of player%::inventory::ranked::weapon3} is set:
  202. set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sword"
  203. if {player::%uuid of player%::inventory::ranked::weapon4} is set:
  204. set slot 0 of player to diamond sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
  205. else:
  206. send "&cYou have to leave &lUnranked &cbefore entering ranked."
  207.  
  208. command /blacksmith:
  209. trigger:
  210. wait 3 tick
  211. if {player::%uuid of player%::ranked::armorname} isn't set:
  212. set {player::%uuid of player%::ranked::armorname} to "Iron Armor"
  213. if {player::%uuid of player%::ranked::weaponname} isn't set:
  214. set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
  215. if {player::%uuid of player%::ranked::playername} isn't set:
  216. set {player::%uuid of player%::ranked::playername} to "None"
  217. if {player::%uuid of player%::ranked::equip} isn't set:
  218. set {player::%uuid of player%::ranked::equip} to 5
  219. open chest with 5 rows named "&8Blacksmith" to player
  220. format slot 4 of player with lava bucket named "&c&lBLACKSMITH" with lore "||&rUpgrade your armor, weapons and player||&rwith equip points you earn in ranked." to be unstealable
  221. format slot 9 of player with iron fence named "&r" to be unstealable
  222. format slot 17 of player with iron fence named "&r" to be unstealable
  223. format slot 18 of player with iron fence named "&r" to be unstealable
  224. format slot 20 of player with iron chestplate named "&r&lARMOR &rUpgrades" to close then run [make player execute "server:ranked.armor"]
  225. format slot 22 of player with diamond sword named "&r&lWEAPON &rUpgrades" to close then run [make player execute "server:ranked.weapon"]
  226. format slot 24 of player with player's skull named "&r&lPLAYER &rUpgrades" to close then run [make player execute "server:ranked.player"]
  227. format slot 26 of player with iron fence named "&r" to be unstealable
  228. format slot 27 of player with iron fence named "&r" to be unstealable
  229. format slot 35 of player with iron fence named "&r" to be unstealable
  230. format slot 39 of player with item frame named "&6&lGeneral Statistics" with lore "||&rCoins|| &7%{player::%uuid of player%::game::coins}%||&rKills|| &7%{player::%uuid of player%::game::kills}%||&rDeaths|| &7%{player::%uuid of player%::game::deaths}%" to be unstealable
  231. format slot 40 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
  232. format slot 41 of player with anvil:1 named "&6&lRanked Class" with lore "||&rArmor|| &7%{player::%uuid of player%::ranked::armorname}%||&rWeapon|| &7%{player::%uuid of player%::ranked::weaponname}%||&rPlayer|| &7%{player::%uuid of player%::ranked::playername}%" to be unstealable
  233.  
  234. command /server:ranked.weapon:
  235. trigger:
  236. wait 3 ticks
  237. open chest with 4 rows named "&8Ranked Store" to player
  238. if {player::%uuid of player%::inventory::ranked::weapon1} is true:
  239. format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&a&lOWNED" to be unstealable
  240. else:
  241. format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buyweapon1"]
  242.  
  243. if {player::%uuid of player%::inventory::ranked::weapon1} is true:
  244. if {player::%uuid of player%::inventory::ranked::weapon2} is true:
  245. format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&a&lOWNED" to be unstealable
  246. else:
  247. format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyweapon2"]
  248. else:
  249. format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&cPurchase previous package first." to be unstealable
  250.  
  251. if {player::%uuid of player%::inventory::ranked::weapon2} is true:
  252. if {player::%uuid of player%::inventory::ranked::weapon3} is true:
  253. format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
  254. else:
  255. format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&rCost: &l7 EP" to close then run [make player execute "server:buyweapon3"]
  256. else:
  257. format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
  258.  
  259. if {player::%uuid of player%::inventory::ranked::weapon3} is true:
  260. if {player::%uuid of player%::inventory::ranked::weapon4} is true:
  261. format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
  262. else:
  263. format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&rCost: &l10 EP" to close then run [make player execute "server:buyweapon4"]
  264. else:
  265. format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
  266.  
  267. format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
  268. format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
  269.  
  270. command /server:ranked.player:
  271. trigger:
  272. wait 3 ticks
  273. open chest with 4 rows named "&8Ranked Store" to player
  274. if {player::%uuid of player%::inventory::ranked::player1} is true:
  275. format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&a&lOWNED" to be unstealable
  276. else:
  277. format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyplayer1"]
  278. if {player::%uuid of player%::inventory::ranked::player2} is true:
  279. format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&a&lOWNED" to be unstealable
  280. else:
  281. format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&rCost: &l6 EP" to close then run [make player execute "server:buyplayer2"]
  282. format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
  283. format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
  284.  
  285. command /server:ranked.armor:
  286. trigger:
  287. wait 3 ticks
  288. open chest with 5 rows named "&8Ranked Store" to player
  289. if {player::%uuid of player%::inventory::ranked::1armor1} is true:
  290. format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
  291. else:
  292. format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor1"]
  293. if {player::%uuid of player%::inventory::ranked::1armor2} is true:
  294. format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
  295. else:
  296. format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buy1armor2"]
  297. if {player::%uuid of player%::inventory::ranked::1armor3} is true:
  298. format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
  299. else:
  300. format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l2 EP" to close then run [make player execute "server:buy1armor3"]
  301. if {player::%uuid of player%::inventory::ranked::1armor4} is true:
  302. format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
  303. else:
  304. format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor4"]
  305.  
  306. format slot 20 of player with glowing iron helmet named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
  307. format slot 21 of player with glowing iron chestplate named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l6 EP" to be unstealable
  308. format slot 23 of player with glowing iron leggings named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l5 EP" to be unstealable
  309. format slot 24 of player with glowing iron boots named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
  310. format slot 39 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
  311. format slot 41 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
  312.  
  313. command /resetstore:
  314. permission: *
  315. trigger:
  316. delete {player::%uuid of player%::inventory::ranked::weapon4}
  317. delete {player::%uuid of player%::inventory::ranked::weapon3}
  318. delete {player::%uuid of player%::inventory::ranked::weapon2}
  319. delete {player::%uuid of player%::inventory::ranked::weapon1}
  320. delete {player::%uuid of player%::inventory::ranked::player2}
  321. delete {player::%uuid of player%::inventory::ranked::player1}
  322. set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
  323. set {player::%uuid of player%::ranked::playername} to "None"
  324. command /server:buy1armor4:
  325. trigger:
  326. if {player::%uuid of player%::inventory::ranked::1armor4} isn't set:
  327. if {player::%uuid of player%::ranked::equip} isn't greater than 0:
  328. send "&cYou don't have sufficient currencies to purchase &lChainmail Boots"
  329. else:
  330. set {player::%uuid of player%::inventory::ranked::1armor4} to true
  331. remove 1 from {player::%uuid of player%::ranked::equip}
  332. send "&ePurchased Chainmail Boots"
  333. set {player::%uuid of player%::ranked::armorname} to "Modified"
  334. else:
  335. send "&cYou already own &lChainmail Boots"
  336. command /server:buy1armor3:
  337. trigger:
  338. if {player::%uuid of player%::inventory::ranked::1armor2} isn't set:
  339. if {player::%uuid of player%::ranked::equip} isn't greater than 1:
  340. send "&cYou don't have sufficient currencies to purchase &lChainmail Chestplate"
  341. else:
  342. set {player::%uuid of player%::inventory::ranked::1armor2} to true
  343. remove 3 from {player::%uuid of player%::ranked::equip}
  344. send "&ePurchased Chainmail Chesplate"
  345. set {player::%uuid of player%::ranked::armorname} to "Modified"
  346. else:
  347. send "&cYou already own &lChainmail Chestplate"
  348. command /server:buy1armor2:
  349. trigger:
  350. if {player::%uuid of player%::inventory::ranked::1armor2} isn't set:
  351. if {player::%uuid of player%::ranked::equip} isn't greater than 2:
  352. send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
  353. else:
  354. set {player::%uuid of player%::inventory::ranked::1armor2} to true
  355. remove 3 from {player::%uuid of player%::ranked::equip}
  356. send "&ePurchased Chainmail Chesplate"
  357. set {player::%uuid of player%::ranked::armorname} to "Modified"
  358. else:
  359. send "&cYou already own &lChainmail ChesplateChesplate"
  360. command /server:buy1armor1:
  361. trigger:
  362. if {player::%uuid of player%::inventory::ranked::1armor1} isn't set:
  363. if {player::%uuid of player%::ranked::equip} isn't greater than 0:
  364. send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
  365. else:
  366. set {player::%uuid of player%::inventory::ranked::1armor1} to true
  367. remove 1 from {player::%uuid of player%::ranked::equip}
  368. send "&ePurchased Chainmail Helmet"
  369. set {player::%uuid of player%::ranked::armorname} to "Modified"
  370. else:
  371. send "&cYou already own &lChainmail Helmet"
  372. command /server:buyweapon4:
  373. trigger:
  374. if {player::%uuid of player%::inventory::ranked::weapon4} isn't set:
  375. if {player::%uuid of player%::ranked::equip} isn't greater than 9:
  376. send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Diamond Sword"
  377. else:
  378. set {player::%uuid of player%::inventory::ranked::weapon4} to true
  379. remove 10 from {player::%uuid of player%::ranked::equip}
  380. send "&ePurchased Sharpness and Fire Aspect I Diamond Sword"
  381. set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Diamond Sword"
  382. set {player::%uuid of player%::ranked::weapon} to "Sharpness I and Fire Aspect I Diamond Sword"
  383. else:
  384. send "&cYou already own &lSharpness and Fire Aspect I Diamond Sword"
  385. command /server:buyweapon3:
  386. trigger:
  387. if {player::%uuid of player%::inventory::ranked::weapon3} isn't set:
  388. if {player::%uuid of player%::ranked::equip} isn't greater than 6:
  389. send "&cYou don't have sufficient currencies to purchase &lSharpness I Diamond Sword"
  390. else:
  391. set {player::%uuid of player%::inventory::ranked::weapon3} to true
  392. remove 7 from {player::%uuid of player%::ranked::equip}
  393. send "&ePurchased Sharpness I Diamond Sword"
  394. set {player::%uuid of player%::ranked::weaponname} to "S1 Diamond Sword"
  395. set {player::%uuid of player%::ranked::weapon} to "Sharpness I Diamond Sword"
  396. else:
  397. send "&cYou already own &lSharpness I Diamond Sword"
  398. command /server:buyweapon2:
  399. trigger:
  400. if {player::%uuid of player%::inventory::ranked::weapon2} isn't set:
  401. if {player::%uuid of player%::ranked::equip} isn't greater than 4:
  402. send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect II Iron Sword"
  403. else:
  404. set {player::%uuid of player%::inventory::ranked::weapon2} to true
  405. remove 5 from {player::%uuid of player%::ranked::equip}
  406. send "&ePurchased Sharpness and Fire Aspect II Iron Sword"
  407. set {player::%uuid of player%::ranked::weaponname} to "S2 FA2 Iron Sword"
  408. set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect II Iron Sword"
  409. else:
  410. send "&cYou already own &lSharpness and Fire Aspect II Iron Sword"
  411. command /server:buyweapon1:
  412. trigger:
  413. if {player::%uuid of player%::inventory::ranked::weapon1} isn't set:
  414. if {player::%uuid of player%::ranked::equip} isn't greater than 2:
  415. send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Iron Sword"
  416. else:
  417. set {player::%uuid of player%::inventory::ranked::weapon1} to true
  418. remove 3 from {player::%uuid of player%::ranked::equip}
  419. send "&ePurchased Sharpness and Fire Aspect I Iron Sword"
  420. set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Iron Sword"
  421. set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect I Iron Sword"
  422. else:
  423. send "&cYou already own &lSharpness and Fire Aspect I Iron Sword"
  424. command /server:buyplayer1:
  425. trigger:
  426. if {player::%uuid of player%::inventory::ranked::player1} isn't set:
  427. if {player::%uuid of player%::ranked::equip} isn't greater than 4:
  428. send "&cYou don't have sufficient currencies to purchase &lDouble Coins Multiplier"
  429. else:
  430. set {player::%uuid of player%::inventory::ranked::player1} to true
  431. remove 5 from {player::%uuid of player%::ranked::equip}
  432. send "&ePurchased Double Coins Multiplier"
  433. if {player::%uuid of player%::ranked::playername} is "Double Elo":
  434. set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
  435. else:
  436. set {player::%uuid of player%::ranked::playername} to "Double Coins"
  437. set {player::%uuid of player%::multiplier::coins} to true
  438. else:
  439. send "&cYou already own &lDouble Coins Multiplier"
  440. command /server:buyplayer2:
  441. trigger:
  442. if {player::%uuid of player%::inventory::ranked::player2} isn't set:
  443. if {player::%uuid of player%::ranked::equip} isn't greater than 5:
  444. send "&cYou don't have sufficient currencies to purchase &lDouble ELO Multiplier"
  445. else:
  446. set {player::%uuid of player%::inventory::ranked::player2} to true
  447. remove 6 from {player::%uuid of player%::ranked::equip}
  448. send "&ePurchased Double ELO Multiplier"
  449. if {player::%uuid of player%::ranked::playername} is "Double Coins":
  450. set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
  451. else:
  452. set {player::%uuid of player%::ranked::playername} to "Double Elo"
  453. set {player::%uuid of player%::multiplier::elo} to true
  454. else:
  455. send "&cYou already own &lDouble ELO Multiplier"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement