Reframed

Untitled

Jul 3rd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.24 KB | None | 0 0
  1. command /givebooster [<text>] [<player>]:
  2. permission: pn.givebooster
  3. permission message: &a[&d&lPN&R&a] &6You don't have permission to do this!
  4. trigger:
  5. if arg 1 is set:
  6. if arg-2 is set:
  7. if arg-1 is "money":
  8. add 1 to {booster.server.Money.%uuid of arg 2%}
  9. send "&a[&d&lPN&R&a] &6You received &f1x money &6booster!" to arg 2
  10. message "&a[&d&lPN&R&a] &6You gave &f1x money &6booster to &f%arg 2%&6!"
  11. if arg-1 is "double":
  12. add 1 to {booster.server.Double.%uuid of arg 2%}
  13. send "&a[&d&lPN&R&a] &6You received &f1x 2X sell &6booster!" to arg 2
  14. message "&a[&d&lPN&R&a] &6You gave &f1x 2X sell &6booster to &f%arg 2%&6!"
  15. else:
  16. message "&a[&d&lPN&R&a] &6Please specify a player!"
  17. else:
  18. message "&a[&d&lPN&R&a] &6Please specify a type of booster (&fdouble&6/&fmoney&6)!"
  19.  
  20. command /delboosters:
  21. permission: pn.delbooster
  22. permission message: &a[&d&lPN&R&a] &6You don't have permission to do this!
  23. trigger:
  24. message "&a[&d&lPN&R&a] &6Cancelling all active boosters!"
  25. execute console command "quicksell stopboosters"
  26. loop all players:
  27. delete {booster.server.active.%uuid of loop-player%}
  28. delete {tipped.%loop-player%}
  29. delete {booster.server.Money}
  30. delete {booster.server.Money.player}
  31. delete {booster.server.Double}
  32. delete {booster.server.Double.player}
  33.  
  34. command /booster [<text>]:
  35. trigger:
  36. if arg 1 is set:
  37. if arg 1 is "money":
  38. if {booster.server.Money} isn't set:
  39. if {booster.server.Money.%uuid of player%} is greater or equal to 1:
  40. launch creeper firework colored red at player timed 1
  41. set {booster.server.Money} to true
  42. remove 1 from {booster.server.Money.%uuid of player%}
  43. set {booster.server.active.%uuid of player%} to true
  44. set {booster.server.Money.player} to "%player%"
  45. broadcast " "
  46. broadcast " "
  47. broadcast "&f&k::&r &aA &6&lbooster &ahas been activated &f&k::"
  48. broadcast " "
  49. broadcast "&6Booster Type: &aMoney"
  50. broadcast "&6Advantages: &a$100 Every 20 Minutes"
  51. broadcast "&6Player: &a%{booster.server.Money.player}%"
  52. broadcast " "
  53. loop all players:
  54. execute console command "tellraw %loop-player% [{""text"":"""",""extra"":[{""text"":""&f• &6&oClick here to tip &f%{booster.server.Money.player}% &6&oand receive $5! &f•"",""clickEvent"":{""action"":""run_command"",""value"":""/tip %player%""},""hoverEvent"":{""action"":""show_text"",""value"":""&6/Tip &f%{booster.server.Money.player}%""}}]}]"
  55. broadcast " "
  56. broadcast " "
  57. wait 5 seconds
  58. loop all players:
  59. send "&a[&d&lPN&R&a] &6You received &f$100 &6from &f%player%'s money &6booster!" to loop-player
  60. launch creeper firework colored green at loop-player timed 1
  61. play "LEVEL_UP" to loop-player at volume 1
  62. execute console command "eco give %loop-player% 100"
  63. wait 1200 seconds
  64. loop all players:
  65. send "&a[&d&lPN&R&a] &6You received &f$100 &6from &f%player%'s money &6booster!" to loop-player
  66. play "LEVEL_UP" to loop-player at volume 1
  67. launch creeper firework colored green at loop-player timed 1
  68. execute console command "eco give %loop-player% 100"
  69. wait 1200 seconds
  70. loop all players:
  71. send "&a[&d&lPN&R&a] &6You received &f$100 &6from &f%player%'s money &6booster!" to loop-player
  72. play "LEVEL_UP" to loop-player at volume 1
  73. launch creeper firework colored green at loop-player timed 1
  74. execute console command "eco give %loop-player% 100"
  75. wait 1200 seconds
  76. loop all players:
  77. play "LEVEL_UP" to loop-player at volume 1
  78. execute console command "eco give %loop-player% 100"
  79. launch creeper firework colored green at loop-player timed 1
  80. send "&a[&d&lPN&R&a] &6You received &f$100 &6from &f%player%'s money &6booster!" to loop-player
  81. wait 2 seconds
  82. loop all players:
  83. play "CLICK" to loop-player at volume 1
  84. send "&a[&d&lPN&R&a] &f%player%'s money &6booster has run out!" to players
  85. launch creeper firework colored blue at player timed 1
  86. delete {booster.server.Money}
  87. delete {booster.server.active.%uuid of player%}
  88. loop all players:
  89. delete {tipped.%loop-player%}
  90. else:
  91. message "&a[&d&lPN&R&a] &6You don't have any &fmoney &6boosters!"
  92. stop
  93. else:
  94. message "&a[&d&lPN&R&a] &6A booster is already active!"
  95. stop
  96. if arg 1 is "double":
  97. if {booster.server.Double} isn't set:
  98. if {booster.server.Double.%uuid of player%} is greater or equal to 1:
  99. launch creeper firework colored red at player timed 1
  100. set {booster.server.Double} to true
  101. remove 1 from {booster.server.Double.%uuid of player%}
  102. set {booster.server.active.%uuid of player%} to true
  103. set {booster.server.Double.player} to "%player%"
  104. broadcast " "
  105. broadcast " "
  106. broadcast "&f&k::&r &aA &6&lbooster &ahas been activated &f&k::"
  107. broadcast " "
  108. broadcast "&6Booster Type: &a2X Sell"
  109. broadcast "&6Advantages: &aSell everything for double price!"
  110. broadcast "&6Player: &a%{booster.server.Double.player}%"
  111. broadcast " "
  112. loop all players:
  113. execute console command "tellraw %loop-player% [{""text"":"""",""extra"":[{""text"":""&f• &6&oClick here to tip &f%{booster.server.Double.player}% &6&oand receive $5! &f•"",""clickEvent"":{""action"":""run_command"",""value"":""/tip %player%""},""hoverEvent"":{""action"":""show_text"",""value"":""&6/Tip &f%{booster.server.Double.player}%""}}]}]"
  114. broadcast " "
  115. broadcast " "
  116. execute console command "quicksell:booster monetary %player% 2 60"
  117. wait 1600 seconds
  118. loop all players:
  119. send "&a[&d&lPN&R&a] &6You received &f$100 &6from &f%player%'s 2X &6sell booster!" to loop-player
  120. play "LEVEL_UP" to loop-player at volume 1
  121. launch creeper firework colored green at loop-player timed 1
  122. execute console command "eco give %loop-player% 100"
  123. wait 1600 seconds
  124. wait 2 seconds
  125. loop all players:
  126. play "CLICK" to loop-player at volume 1
  127. send "&a[&d&lPN&R&a] &f%player%'s 2X sell &6booster has run out!" to players
  128. launch creeper firework colored blue at player timed 1
  129. delete {booster.server.Double}
  130. delete {booster.server.active.%uuid of player%}
  131. loop all players:
  132. delete {tipped.%loop-player%}
  133. else:
  134. message "&a[&d&lPN&R&a] &6You don't have any &f2X sell &6boosters!"
  135. stop
  136. else:
  137. message "&a[&d&lPN&R&a] &6A booster is already active!"
  138. stop
  139.  
  140. else:
  141. if {booster.server.Money} isn't set:
  142. if {booster.server.Double} isn't set:
  143. if {booster.server.Money.%uuid of player%} is greater or equal to 1:
  144. if {booster.server.Double.%uuid of player%} is greater or equal to 1:
  145. open chest with 3 rows named "&eBooster" to player
  146. set slot 0 of player's current inventory to black stained glass pane
  147. set slot 1 of player's current inventory to black stained glass pane
  148. set slot 2 of player's current inventory to black stained glass pane
  149. set slot 3 of player's current inventory to black stained glass pane
  150. set slot 4 of player's current inventory to black stained glass pane
  151. set slot 5 of player's current inventory to black stained glass pane
  152. set slot 6 of player's current inventory to black stained glass pane
  153. set slot 7 of player's current inventory to black stained glass pane
  154. set slot 8 of player's current inventory to black stained glass pane
  155. set slot 9 of player's current inventory to black stained glass pane
  156. set slot 10 of player's current inventory to black stained glass pane
  157. set slot 11 of player's current inventory to black stained glass pane
  158. set slot 12 of player's current inventory to black stained glass pane
  159. set slot 13 of player's current inventory to black stained glass pane
  160. set slot 14 of player's current inventory to black stained glass pane
  161. set slot 15 of player's current inventory to black stained glass pane
  162. set slot 16 of player's current inventory to black stained glass pane
  163. set slot 17 of player's current inventory to black stained glass pane
  164. set slot 18 of player's current inventory to black stained glass pane
  165. set slot 19 of player's current inventory to black stained glass pane
  166. set slot 20 of player's current inventory to black stained glass pane
  167. set slot 21 of player's current inventory to black stained glass pane
  168. set slot 22 of player's current inventory to black stained glass pane
  169. set slot 23 of player's current inventory to black stained glass pane
  170. set slot 24 of player's current inventory to black stained glass pane
  171. set slot 25 of player's current inventory to black stained glass pane
  172. set slot 26 of player's current inventory to black stained glass pane
  173. set slot 11 of player's current inventory to glowing gold ingot named "&6You have &f%{booster.server.Money.%uuid of player%}%x money &6booster(s)! &oClick to activate!"
  174. set slot 15 of player's current inventory to glowing emerald named "&6You have &f%{booster.server.Double.%uuid of player%}%x 2X sell &6booster(s)! &oClick to activate!"
  175. else:
  176. open chest with 3 rows named "&eBooster" to player
  177. set slot 0 of player's current inventory to black stained glass pane
  178. set slot 1 of player's current inventory to black stained glass pane
  179. set slot 2 of player's current inventory to black stained glass pane
  180. set slot 3 of player's current inventory to black stained glass pane
  181. set slot 4 of player's current inventory to black stained glass pane
  182. set slot 5 of player's current inventory to black stained glass pane
  183. set slot 6 of player's current inventory to black stained glass pane
  184. set slot 7 of player's current inventory to black stained glass pane
  185. set slot 8 of player's current inventory to black stained glass pane
  186. set slot 9 of player's current inventory to black stained glass pane
  187. set slot 10 of player's current inventory to black stained glass pane
  188. set slot 11 of player's current inventory to black stained glass pane
  189. set slot 12 of player's current inventory to black stained glass pane
  190. set slot 13 of player's current inventory to black stained glass pane
  191. set slot 14 of player's current inventory to black stained glass pane
  192. set slot 15 of player's current inventory to black stained glass pane
  193. set slot 16 of player's current inventory to black stained glass pane
  194. set slot 17 of player's current inventory to black stained glass pane
  195. set slot 18 of player's current inventory to black stained glass pane
  196. set slot 19 of player's current inventory to black stained glass pane
  197. set slot 20 of player's current inventory to black stained glass pane
  198. set slot 21 of player's current inventory to black stained glass pane
  199. set slot 22 of player's current inventory to black stained glass pane
  200. set slot 23 of player's current inventory to black stained glass pane
  201. set slot 24 of player's current inventory to black stained glass pane
  202. set slot 25 of player's current inventory to black stained glass pane
  203. set slot 26 of player's current inventory to black stained glass pane
  204. set slot 11 of player's current inventory to glowing gold ingot named "&6You have &f%{booster.server.Money.%uuid of player%}%x money &6booster(s)! &oClick to activate!"
  205. set slot 15 of player's current inventory to emerald named "&6You have no &f2X sell &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  206. else:
  207. if {booster.server.Double.%uuid of player%} is greater or equal to 1:
  208. open chest with 3 rows named "&eBooster" to player
  209. set slot 0 of player's current inventory to black stained glass pane
  210. set slot 1 of player's current inventory to black stained glass pane
  211. set slot 2 of player's current inventory to black stained glass pane
  212. set slot 3 of player's current inventory to black stained glass pane
  213. set slot 4 of player's current inventory to black stained glass pane
  214. set slot 5 of player's current inventory to black stained glass pane
  215. set slot 6 of player's current inventory to black stained glass pane
  216. set slot 7 of player's current inventory to black stained glass pane
  217. set slot 8 of player's current inventory to black stained glass pane
  218. set slot 9 of player's current inventory to black stained glass pane
  219. set slot 10 of player's current inventory to black stained glass pane
  220. set slot 11 of player's current inventory to black stained glass pane
  221. set slot 12 of player's current inventory to black stained glass pane
  222. set slot 13 of player's current inventory to black stained glass pane
  223. set slot 14 of player's current inventory to black stained glass pane
  224. set slot 15 of player's current inventory to black stained glass pane
  225. set slot 16 of player's current inventory to black stained glass pane
  226. set slot 17 of player's current inventory to black stained glass pane
  227. set slot 18 of player's current inventory to black stained glass pane
  228. set slot 19 of player's current inventory to black stained glass pane
  229. set slot 20 of player's current inventory to black stained glass pane
  230. set slot 21 of player's current inventory to black stained glass pane
  231. set slot 22 of player's current inventory to black stained glass pane
  232. set slot 23 of player's current inventory to black stained glass pane
  233. set slot 24 of player's current inventory to black stained glass pane
  234. set slot 25 of player's current inventory to black stained glass pane
  235. set slot 26 of player's current inventory to black stained glass pane
  236. set slot 11 of player's current inventory to gold ingot named "&6You have no &fmoney &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  237. set slot 15 of player's current inventory to glowing emerald named "&6You have &f%{booster.server.Double.%uuid of player%}%x 2X sell &6booster(s)! &oClick to activate!"
  238. else:
  239. open chest with 3 rows named "&eBooster" to player
  240. set slot 0 of player's current inventory to black stained glass pane
  241. set slot 1 of player's current inventory to black stained glass pane
  242. set slot 2 of player's current inventory to black stained glass pane
  243. set slot 3 of player's current inventory to black stained glass pane
  244. set slot 4 of player's current inventory to black stained glass pane
  245. set slot 5 of player's current inventory to black stained glass pane
  246. set slot 6 of player's current inventory to black stained glass pane
  247. set slot 7 of player's current inventory to black stained glass pane
  248. set slot 8 of player's current inventory to black stained glass pane
  249. set slot 9 of player's current inventory to black stained glass pane
  250. set slot 10 of player's current inventory to black stained glass pane
  251. set slot 11 of player's current inventory to black stained glass pane
  252. set slot 12 of player's current inventory to black stained glass pane
  253. set slot 13 of player's current inventory to black stained glass pane
  254. set slot 14 of player's current inventory to black stained glass pane
  255. set slot 15 of player's current inventory to black stained glass pane
  256. set slot 16 of player's current inventory to black stained glass pane
  257. set slot 17 of player's current inventory to black stained glass pane
  258. set slot 18 of player's current inventory to black stained glass pane
  259. set slot 19 of player's current inventory to black stained glass pane
  260. set slot 20 of player's current inventory to black stained glass pane
  261. set slot 21 of player's current inventory to black stained glass pane
  262. set slot 22 of player's current inventory to black stained glass pane
  263. set slot 23 of player's current inventory to black stained glass pane
  264. set slot 24 of player's current inventory to black stained glass pane
  265. set slot 25 of player's current inventory to black stained glass pane
  266. set slot 26 of player's current inventory to black stained glass pane
  267. set slot 11 of player's current inventory to gold ingot named "&6You have no &fmoney &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  268. set slot 15 of player's current inventory to emerald named "&6You have no &f2X sell &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  269. else:
  270. if {booster.server.Money.%uuid of player%} is greater or equal to 1:
  271. open chest with 3 rows named "&eBooster" to player
  272. set slot 0 of player's current inventory to black stained glass pane
  273. set slot 1 of player's current inventory to black stained glass pane
  274. set slot 2 of player's current inventory to black stained glass pane
  275. set slot 3 of player's current inventory to black stained glass pane
  276. set slot 4 of player's current inventory to black stained glass pane
  277. set slot 5 of player's current inventory to black stained glass pane
  278. set slot 6 of player's current inventory to black stained glass pane
  279. set slot 7 of player's current inventory to black stained glass pane
  280. set slot 8 of player's current inventory to black stained glass pane
  281. set slot 9 of player's current inventory to black stained glass pane
  282. set slot 10 of player's current inventory to black stained glass pane
  283. set slot 11 of player's current inventory to black stained glass pane
  284. set slot 12 of player's current inventory to black stained glass pane
  285. set slot 13 of player's current inventory to black stained glass pane
  286. set slot 14 of player's current inventory to black stained glass pane
  287. set slot 15 of player's current inventory to black stained glass pane
  288. set slot 16 of player's current inventory to black stained glass pane
  289. set slot 17 of player's current inventory to black stained glass pane
  290. set slot 18 of player's current inventory to black stained glass pane
  291. set slot 19 of player's current inventory to black stained glass pane
  292. set slot 20 of player's current inventory to black stained glass pane
  293. set slot 21 of player's current inventory to black stained glass pane
  294. set slot 22 of player's current inventory to black stained glass pane
  295. set slot 23 of player's current inventory to black stained glass pane
  296. set slot 24 of player's current inventory to black stained glass pane
  297. set slot 25 of player's current inventory to black stained glass pane
  298. set slot 26 of player's current inventory to black stained glass pane
  299. set slot 11 of player's current inventory to glowing gold ingot named "&6You have &f%{booster.server.Money.%uuid of player%}%x money &6booster(s)! &oClick to activate!"
  300. set slot 15 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&n2X sell &6&nbooster activate!"
  301. else:
  302. open chest with 3 rows named "&eBooster" to player
  303. set slot 0 of player's current inventory to black stained glass pane
  304. set slot 1 of player's current inventory to black stained glass pane
  305. set slot 2 of player's current inventory to black stained glass pane
  306. set slot 3 of player's current inventory to black stained glass pane
  307. set slot 4 of player's current inventory to black stained glass pane
  308. set slot 5 of player's current inventory to black stained glass pane
  309. set slot 6 of player's current inventory to black stained glass pane
  310. set slot 7 of player's current inventory to black stained glass pane
  311. set slot 8 of player's current inventory to black stained glass pane
  312. set slot 9 of player's current inventory to black stained glass pane
  313. set slot 10 of player's current inventory to black stained glass pane
  314. set slot 11 of player's current inventory to black stained glass pane
  315. set slot 12 of player's current inventory to black stained glass pane
  316. set slot 13 of player's current inventory to black stained glass pane
  317. set slot 14 of player's current inventory to black stained glass pane
  318. set slot 15 of player's current inventory to black stained glass pane
  319. set slot 16 of player's current inventory to black stained glass pane
  320. set slot 17 of player's current inventory to black stained glass pane
  321. set slot 18 of player's current inventory to black stained glass pane
  322. set slot 19 of player's current inventory to black stained glass pane
  323. set slot 20 of player's current inventory to black stained glass pane
  324. set slot 21 of player's current inventory to black stained glass pane
  325. set slot 22 of player's current inventory to black stained glass pane
  326. set slot 23 of player's current inventory to black stained glass pane
  327. set slot 24 of player's current inventory to black stained glass pane
  328. set slot 25 of player's current inventory to black stained glass pane
  329. set slot 26 of player's current inventory to black stained glass pane
  330. set slot 11 of player's current inventory to gold ingot named "&6You have no &f&nmoney &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  331. set slot 15 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&n2X sell &6&nbooster activate!"
  332. else:
  333. if {booster.server.Double} isn't set:
  334. if {booster.server.Double.%uuid of player%} is greater or equal to 1:
  335. open chest with 3 rows named "&eBooster" to player
  336. set slot 0 of player's current inventory to black stained glass pane
  337. set slot 1 of player's current inventory to black stained glass pane
  338. set slot 2 of player's current inventory to black stained glass pane
  339. set slot 3 of player's current inventory to black stained glass pane
  340. set slot 4 of player's current inventory to black stained glass pane
  341. set slot 5 of player's current inventory to black stained glass pane
  342. set slot 6 of player's current inventory to black stained glass pane
  343. set slot 7 of player's current inventory to black stained glass pane
  344. set slot 8 of player's current inventory to black stained glass pane
  345. set slot 9 of player's current inventory to black stained glass pane
  346. set slot 10 of player's current inventory to black stained glass pane
  347. set slot 11 of player's current inventory to black stained glass pane
  348. set slot 12 of player's current inventory to black stained glass pane
  349. set slot 13 of player's current inventory to black stained glass pane
  350. set slot 14 of player's current inventory to black stained glass pane
  351. set slot 15 of player's current inventory to black stained glass pane
  352. set slot 16 of player's current inventory to black stained glass pane
  353. set slot 17 of player's current inventory to black stained glass pane
  354. set slot 18 of player's current inventory to black stained glass pane
  355. set slot 19 of player's current inventory to black stained glass pane
  356. set slot 20 of player's current inventory to black stained glass pane
  357. set slot 21 of player's current inventory to black stained glass pane
  358. set slot 22 of player's current inventory to black stained glass pane
  359. set slot 23 of player's current inventory to black stained glass pane
  360. set slot 24 of player's current inventory to black stained glass pane
  361. set slot 25 of player's current inventory to black stained glass pane
  362. set slot 26 of player's current inventory to black stained glass pane
  363. set slot 11 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&nmoney &6&nbooster activate!"
  364. set slot 15 of player's current inventory to glowing emerald named "&6You have &f%{booster.server.Double.%uuid of player%}%x 2X sell &6booster(s)! &oClick to activate!"
  365. else:
  366. open chest with 3 rows named "&eBooster" to player
  367. set slot 0 of player's current inventory to black stained glass pane
  368. set slot 1 of player's current inventory to black stained glass pane
  369. set slot 2 of player's current inventory to black stained glass pane
  370. set slot 3 of player's current inventory to black stained glass pane
  371. set slot 4 of player's current inventory to black stained glass pane
  372. set slot 5 of player's current inventory to black stained glass pane
  373. set slot 6 of player's current inventory to black stained glass pane
  374. set slot 7 of player's current inventory to black stained glass pane
  375. set slot 8 of player's current inventory to black stained glass pane
  376. set slot 9 of player's current inventory to black stained glass pane
  377. set slot 10 of player's current inventory to black stained glass pane
  378. set slot 11 of player's current inventory to black stained glass pane
  379. set slot 12 of player's current inventory to black stained glass pane
  380. set slot 13 of player's current inventory to black stained glass pane
  381. set slot 14 of player's current inventory to black stained glass pane
  382. set slot 15 of player's current inventory to black stained glass pane
  383. set slot 16 of player's current inventory to black stained glass pane
  384. set slot 17 of player's current inventory to black stained glass pane
  385. set slot 18 of player's current inventory to black stained glass pane
  386. set slot 19 of player's current inventory to black stained glass pane
  387. set slot 20 of player's current inventory to black stained glass pane
  388. set slot 21 of player's current inventory to black stained glass pane
  389. set slot 22 of player's current inventory to black stained glass pane
  390. set slot 23 of player's current inventory to black stained glass pane
  391. set slot 24 of player's current inventory to black stained glass pane
  392. set slot 25 of player's current inventory to black stained glass pane
  393. set slot 26 of player's current inventory to black stained glass pane
  394. set slot 11 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&nmoney &6&nbooster activate!"
  395. set slot 15 of player's current inventory to emerald named "&6You have no &f&n2X sell &6boosters!" with lore "&f||&6&oBuy them at &f&n&obuy.pofle.net"
  396. else:
  397. open chest with 3 rows named "&eBooster" to player
  398. set slot 0 of player's current inventory to black stained glass pane
  399. set slot 1 of player's current inventory to black stained glass pane
  400. set slot 2 of player's current inventory to black stained glass pane
  401. set slot 3 of player's current inventory to black stained glass pane
  402. set slot 4 of player's current inventory to black stained glass pane
  403. set slot 5 of player's current inventory to black stained glass pane
  404. set slot 6 of player's current inventory to black stained glass pane
  405. set slot 7 of player's current inventory to black stained glass pane
  406. set slot 8 of player's current inventory to black stained glass pane
  407. set slot 9 of player's current inventory to black stained glass pane
  408. set slot 10 of player's current inventory to black stained glass pane
  409. set slot 11 of player's current inventory to black stained glass pane
  410. set slot 12 of player's current inventory to black stained glass pane
  411. set slot 13 of player's current inventory to black stained glass pane
  412. set slot 14 of player's current inventory to black stained glass pane
  413. set slot 15 of player's current inventory to black stained glass pane
  414. set slot 16 of player's current inventory to black stained glass pane
  415. set slot 17 of player's current inventory to black stained glass pane
  416. set slot 18 of player's current inventory to black stained glass pane
  417. set slot 19 of player's current inventory to black stained glass pane
  418. set slot 20 of player's current inventory to black stained glass pane
  419. set slot 21 of player's current inventory to black stained glass pane
  420. set slot 22 of player's current inventory to black stained glass pane
  421. set slot 23 of player's current inventory to black stained glass pane
  422. set slot 24 of player's current inventory to black stained glass pane
  423. set slot 25 of player's current inventory to black stained glass pane
  424. set slot 26 of player's current inventory to black stained glass pane
  425. set slot 11 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&nmoney &6&nbooster activate!"
  426. set slot 15 of player's current inventory to glowing coal block named "&6&nThere is currently a &f&n2X sell &6&nbooster activate!"
  427.  
  428.  
  429. command /tip [<offlineplayer>]:
  430. trigger:
  431. if arg-1 is not sender:
  432. if {booster.server.active.%uuid of arg 1%} is true:
  433. if {tipped.%player%} is not set:
  434. set {tipped.%player%} to true
  435. execute console command "eco give %arg 1% 15"
  436. execute console command "eco give %player% 5"
  437. send "&a[&d&lPN&R&a] &f%player% &6tipped you and you received &f$15&6!" to arg 1
  438. message "&a[&d&lPN&R&a] &6You tipped &f%arg 1% &6and received &f$5&6!"
  439. stop
  440. else:
  441. message "&a[&d&lPN&R&a] &6You already tipped a booster!"
  442. else:
  443. message "&a[&d&lPN&R&a] &f%arg 1% &6doesn't have a booster active!"
  444. stop
  445. else:
  446. message "&a[&d&lPN&R&a] &6You can't tip yourself!"
  447. stop
  448.  
  449. inventory click:
  450. inventory name of current inventory of player is "&eBooster":
  451. cancel event
  452. clicked slot is 11:
  453. execute player command "booster money"
  454. close player's inventory
  455. clicked slot is 15:
  456. execute player command "booster double"
  457. close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment