Advertisement
SoloDan

Untitled

Aug 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.19 KB | None | 0 0
  1. command /celldoors <text>:
  2. permission: guard
  3. trigger:
  4. if arg-1 is "open":
  5. make console execute command "/fill -628 69 3565 -627 68 3565 air"
  6. make console execute command "/fill -633 69 3565 -632 68 3565 air"
  7. make console execute command "/fill -638 69 3565 -637 68 3565 air"
  8. make console execute command "/fill -643 69 3565 -642 68 3565 air"
  9. make console execute command "/fill -653 69 3565 -652 68 3565 air"
  10. make console execute command "/fill -658 69 3565 -657 68 3565 air"
  11. make console execute command "/fill -663 69 3565 -662 68 3565 air"
  12. make console execute command "/fill -668 69 3565 -667 68 3565 air"
  13. make console execute command "/fill -673 69 3565 -672 68 3565 air"
  14. make console execute command "/fill -675 69 3568 -675 68 3567 air"
  15. make console execute command "/fill -675 69 3573 -675 68 3572 air"
  16. make console execute command "/fill -675 69 3578 -675 68 3577 air"
  17. make console execute command "/fill -675 69 3583 -675 68 3582 air"
  18. make console execute command "/fill -675 69 3588 -675 68 3587 air"
  19. make console execute command "/fill -675 69 3593 -675 68 3592 air"
  20. make console execute command "/fill -675 69 3598 -675 68 3597 air"
  21. make console execute command "/fill -671 69 3602 -672 68 3602 air"
  22. make console execute command "/fill -666 69 3602 -667 68 3602 air"
  23. make console execute command "/fill -661 69 3602 -662 68 3602 air"
  24. make console execute command "/fill -656 69 3602 -657 68 3602 air"
  25. make console execute command "/fill -648 69 3565 -647 68 3565 air"
  26.  
  27. make console execute command "/fill -623 69 3565 -622 68 3565 air"
  28. make console execute command "/fill -618 69 3565 -617 68 3565 air"
  29. make console execute command "/fill -613 69 3565 -612 68 3565 air"
  30. make console execute command "/fill -608 69 3565 -607 68 3565 air"
  31. make console execute command "/fill -603 69 3565 -602 68 3565 air"
  32. make console execute command "/fill -598 69 3565 -597 68 3565 air"
  33. make console execute command "/fill -593 69 3565 -592 68 3565 air"
  34. make console execute command "/fill -588 69 3565 -587 68 3565 air"
  35. make console execute command "/fill -583 69 3565 -582 68 3565 air"
  36. make console execute command "/fill -578 69 3565 -577 68 3565 air"
  37. make console execute command "/fill -573 69 3565 -572 68 3565 air"
  38. make console execute command "/fill -568 69 3565 -567 68 3565 air"
  39. make console execute command "/fill -564 69 3567 -564 68 3568 air"
  40. make console execute command "/fill -564 69 3572 -564 68 3573 air"
  41. make console execute command "/fill -564 69 3577 -564 68 3578 air"
  42. make console execute command "/fill -564 69 3582 -564 68 3583 air"
  43. make console execute command "/fill -564 69 3587 -564 68 3588 air"
  44. make console execute command "/fill -564 69 3592 -564 68 3593 air"
  45. make console execute command "/fill -564 69 3597 -564 68 3598 air"
  46. make console execute command "/fill -564 69 3602 -564 68 3603 air"
  47. make console execute command "/fill -564 69 3607 -564 68 3608 air"
  48.  
  49. make console execute command "/fill -656 65 3601 -657 64 3601 air"
  50. make console execute command "/fill -661 65 3601 -662 64 3601 air"
  51. make console execute command "/fill -666 65 3601 -667 64 3601 air"
  52. make console execute command "/fill -671 65 3601 -672 64 3601 air"
  53. make console execute command "/fill -675 65 3598 -675 64 3597 air"
  54. make console execute command "/fill -675 65 3593 -675 64 3592 air"
  55. make console execute command "/fill -675 65 3588 -675 64 3587 air"
  56. make console execute command "/fill -675 65 3583 -675 64 3582 air"
  57. make console execute command "/fill -675 65 3578 -675 64 3577 air"
  58. make console execute command "/fill -675 65 3573 -675 64 3572 air"
  59. make console execute command "/fill -675 65 3568 -675 64 3567 air"
  60. make console execute command "/fill -673 65 3565 -672 64 3565 air"
  61. make console execute command "/fill -668 65 3565 -667 64 3565 air"
  62. make console execute command "/fill -663 65 3565 -662 64 3565 air"
  63. make console execute command "/fill -658 65 3565 -657 64 3565 air"
  64. make console execute command "/fill -653 65 3565 -652 64 3565 air"
  65. make console execute command "/fill -648 65 3565 -647 64 3565 air"
  66. make console execute command "/fill -643 65 3565 -642 64 3565 air"
  67. make console execute command "/fill -638 65 3565 -637 64 3565 air"
  68. make console execute command "/fill -633 65 3565 -632 64 3565 air"
  69. make console execute command "/fill -628 65 3565 -627 64 3565 air"
  70. make console execute command "/fill -623 65 3565 -622 64 3565 air"
  71. make console execute command "/fill -618 65 3565 -617 64 3565 air"
  72. make console execute command "/fill -634 65 3578 -635 64 3578 air"
  73. make console execute command "/fill -639 65 3578 -640 64 3578 air"
  74. make console execute command "/fill -644 65 3578 -645 64 3578 air"
  75. make console execute command "/fill -649 65 3578 -650 64 3578 air"
  76. make console execute command "/fill -613 65 3565 -612 64 3565 air"
  77. make console execute command "/fill -608 65 3565 -607 64 3565 air"
  78. make console execute command "/fill -603 65 3565 -602 64 3565 air"
  79. make console execute command "/fill -598 65 3565 -597 64 3565 air"
  80. make console execute command "/fill -593 65 3565 -592 64 3565 air"
  81. make console execute command "/fill -588 65 3565 -587 64 3565 air"
  82. make console execute command "/fill -583 65 3565 -582 64 3565 air"
  83. make console execute command "/fill -603 65 3578 -604 64 3578 air"
  84. make console execute command "/fill -598 65 3578 -599 64 3578 air"
  85. make console execute command "/fill -593 65 3578 -594 64 3578 air"
  86. make console execute command "/fill -588 65 3578 -589 64 3578 air"
  87. make console execute command "/fill -578 65 3565 -577 64 3565 air"
  88. make console execute command "/fill -573 65 3565 -572 64 3565 air"
  89. make console execute command "/fill -568 65 3565 -567 64 3565 air"
  90. make console execute command "/fill -564 65 3568 -564 64 3569 air"
  91. make console execute command "/fill -564 65 3573 -564 64 3574 air"
  92. make console execute command "/fill -564 65 3578 -564 64 3579 air"
  93. make console execute command "/fill -564 65 3583 -564 64 3584 air"
  94. make console execute command "/fill -564 65 3588 -564 64 3589 air"
  95. make console execute command "/fill -564 65 3593 -564 64 3594 air"
  96. make console execute command "/fill -564 65 3598 -564 64 3599 air"
  97. make console execute command "/fill -567 65 3602 -568 64 3602 air"
  98. make console execute command "/fill -572 65 3602 -573 64 3602 air"
  99. make console execute command "/fill -577 65 3602 -578 64 3602 air"
  100. make console execute command "/fill -582 65 3602 -583 64 3602 air"
  101.  
  102. broadcast "&cOpening cell doors"
  103. if arg-1 is "close":
  104. make console execute command "/fill -628 69 3565 -627 68 3565 iron_bars"
  105. make console execute command "/fill -633 69 3565 -632 68 3565 iron_bars"
  106. make console execute command "/fill -638 69 3565 -637 68 3565 iron_bars"
  107. make console execute command "/fill -643 69 3565 -642 68 3565 iron_bars"
  108. make console execute command "/fill -653 69 3565 -652 68 3565 iron_bars"
  109. make console execute command "/fill -658 69 3565 -657 68 3565 iron_bars"
  110. make console execute command "/fill -663 69 3565 -662 68 3565 iron_bars"
  111. make console execute command "/fill -668 69 3565 -667 68 3565 iron_bars"
  112. make console execute command "/fill -673 69 3565 -672 68 3565 iron_bars"
  113. make console execute command "/fill -675 69 3568 -675 68 3567 iron_bars"
  114. make console execute command "/fill -675 69 3573 -675 68 3572 iron_bars"
  115. make console execute command "/fill -675 69 3583 -675 68 3582 iron_bars"
  116. make console execute command "/fill -675 69 3588 -675 68 3587 iron_bars"
  117. make console execute command "/fill -675 69 3593 -675 68 3592 iron_bars"
  118. make console execute command "/fill -675 69 3598 -675 68 3597 iron_bars"
  119. make console execute command "/fill -671 69 3602 -672 68 3602 iron_bars"
  120. make console execute command "/fill -666 69 3602 -667 68 3602 iron_bars"
  121. make console execute command "/fill -661 69 3602 -662 68 3602 iron_bars"
  122. make console execute command "/fill -648 69 3565 -647 68 3565 iron_bars"
  123. make console execute command "/fill -656 69 3602 -657 68 3602 iron_bars"
  124. make console execute command "/fill -675 69 3578 -675 68 3577 iron_bars"
  125.  
  126. make console execute command "/fill -623 69 3565 -622 68 3565 iron_bars"
  127. make console execute command "/fill -618 69 3565 -617 68 3565 iron_bars"
  128. make console execute command "/fill -613 69 3565 -612 68 3565 iron_bars"
  129. make console execute command "/fill -608 69 3565 -607 68 3565 iron_bars"
  130. make console execute command "/fill -603 69 3565 -602 68 3565 iron_bars"
  131. make console execute command "/fill -598 69 3565 -597 68 3565 iron_bars"
  132. make console execute command "/fill -593 69 3565 -592 68 3565 iron_bars"
  133. make console execute command "/fill -588 69 3565 -587 68 3565 iron_bars"
  134. make console execute command "/fill -583 69 3565 -582 68 3565 iron_bars"
  135. make console execute command "/fill -578 69 3565 -577 68 3565 iron_bars"
  136. make console execute command "/fill -573 69 3565 -572 68 3565 iron_bars"
  137. make console execute command "/fill -568 69 3565 -567 68 3565 iron_bars"
  138. make console execute command "/fill -564 69 3567 -564 68 3568 iron_bars"
  139. make console execute command "/fill -564 69 3572 -564 68 3573 iron_bars"
  140. make console execute command "/fill -564 69 3577 -564 68 3578 iron_bars"
  141. make console execute command "/fill -564 69 3582 -564 68 3583 iron_bars"
  142. make console execute command "/fill -564 69 3587 -564 68 3588 iron_bars"
  143. make console execute command "/fill -564 69 3592 -564 68 3593 iron_bars"
  144. make console execute command "/fill -564 69 3597 -564 68 3598 iron_bars"
  145. make console execute command "/fill -564 69 3602 -564 68 3603 iron_bars"
  146. make console execute command "/fill -564 69 3607 -564 68 3608 iron_bars"
  147.  
  148. make console execute command "/fill -656 65 3601 -657 64 3601 iron_bars"
  149. make console execute command "/fill -661 65 3601 -662 64 3601 iron_bars"
  150. make console execute command "/fill -666 65 3601 -667 64 3601 iron_bars"
  151. make console execute command "/fill -671 65 3601 -672 64 3601 iron_bars"
  152. make console execute command "/fill -675 65 3598 -675 64 3597 iron_bars"
  153. make console execute command "/fill -675 65 3593 -675 64 3592 iron_bars"
  154. make console execute command "/fill -675 65 3588 -675 64 3587 iron_bars"
  155. make console execute command "/fill -675 65 3583 -675 64 3582 iron_bars"
  156. make console execute command "/fill -675 65 3578 -675 64 3577 iron_bars"
  157. make console execute command "/fill -675 65 3573 -675 64 3572 iron_bars"
  158. make console execute command "/fill -675 65 3568 -675 64 3567 iron_bars"
  159. make console execute command "/fill -673 65 3565 -672 64 3565 iron_bars"
  160. make console execute command "/fill -668 65 3565 -667 64 3565 iron_bars"
  161. make console execute command "/fill -663 65 3565 -662 64 3565 iron_bars"
  162. make console execute command "/fill -658 65 3565 -657 64 3565 iron_bars"
  163. make console execute command "/fill -653 65 3565 -652 64 3565 iron_bars"
  164. make console execute command "/fill -648 65 3565 -647 64 3565 iron_bars"
  165. make console execute command "/fill -643 65 3565 -642 64 3565 iron_bars"
  166. make console execute command "/fill -638 65 3565 -637 64 3565 iron_bars"
  167. make console execute command "/fill -633 65 3565 -632 64 3565 iron_bars"
  168. make console execute command "/fill -628 65 3565 -627 64 3565 iron_bars"
  169. make console execute command "/fill -623 65 3565 -622 64 3565 iron_bars"
  170. make console execute command "/fill -618 65 3565 -617 64 3565 iron_bars"
  171. make console execute command "/fill -634 65 3578 -635 64 3578 iron_bars"
  172. make console execute command "/fill -639 65 3578 -640 64 3578 iron_bars"
  173. make console execute command "/fill -644 65 3578 -645 64 3578 iron_bars"
  174. make console execute command "/fill -649 65 3578 -650 64 3578 iron_bars"
  175. make console execute command "/fill -613 65 3565 -612 64 3565 iron_bars"
  176. make console execute command "/fill -608 65 3565 -607 64 3565 iron_bars"
  177. make console execute command "/fill -603 65 3565 -602 64 3565 iron_bars"
  178. make console execute command "/fill -598 65 3565 -597 64 3565 iron_bars"
  179. make console execute command "/fill -593 65 3565 -592 64 3565 iron_bars"
  180. make console execute command "/fill -588 65 3565 -587 64 3565 iron_bars"
  181. make console execute command "/fill -583 65 3565 -582 64 3565 iron_bars"
  182. make console execute command "/fill -603 65 3578 -604 64 3578 iron_bars"
  183. make console execute command "/fill -598 65 3578 -599 64 3578 iron_bars"
  184. make console execute command "/fill -593 65 3578 -594 64 3578 iron_bars"
  185. make console execute command "/fill -588 65 3578 -589 64 3578 iron_bars"
  186. make console execute command "/fill -578 65 3565 -577 64 3565 iron_bars"
  187. make console execute command "/fill -573 65 3565 -572 64 3565 iron_bars"
  188. make console execute command "/fill -568 65 3565 -567 64 3565 iron_bars"
  189. make console execute command "/fill -564 65 3568 -564 64 3569 iron_bars"
  190. make console execute command "/fill -564 65 3573 -564 64 3574 iron_bars"
  191. make console execute command "/fill -564 65 3578 -564 64 3579 iron_bars"
  192. make console execute command "/fill -564 65 3583 -564 64 3584 iron_bars"
  193. make console execute command "/fill -564 65 3588 -564 64 3589 iron_bars"
  194. make console execute command "/fill -564 65 3593 -564 64 3594 iron_bars"
  195. make console execute command "/fill -564 65 3598 -564 64 3599 iron_bars"
  196. make console execute command "/fill -567 65 3602 -568 64 3602 iron_bars"
  197. make console execute command "/fill -572 65 3602 -573 64 3602 iron_bars"
  198. make console execute command "/fill -577 65 3602 -578 64 3602 iron_bars"
  199. make console execute command "/fill -582 65 3602 -583 64 3602 iron_bars"
  200. broadcast "&cClosing cell doors"
  201.  
  202.  
  203. command /blockdoors <text>:
  204. permission: guard
  205. trigger:
  206. if arg-1 is "open":
  207. make console execute command "/fill -571 65 3597 -570 64 3597 air"
  208. make console execute command "/fill -616 65 3586 -622 64 3586 air"
  209. make console execute command "/fill -668 65 3597 -667 64 3597 air"
  210. broadcast "&cOpening block doors"
  211. if arg-1 is "close":
  212. make console execute command "/fill -571 65 3597 -570 64 3597 iron_bars"
  213. make console execute command "/fill -616 65 3586 -622 64 3586 iron_bars"
  214. make console execute command "/fill -668 65 3597 -667 64 3597 iron_bars"
  215. broadcast "&cClosing block doors"
  216.  
  217. command /cafdoor <text>:
  218. permission: guard
  219. trigger:
  220. if arg-1 is "open":
  221. make console execute command "/fill -631 54 3564 -631 53 3564 air"
  222. make console execute command "/fill -619 54 3564 -619 53 3564 air"
  223. make console execute command "/fill -608 54 3564 -608 53 3564 air"
  224. broadcast "&cOpening cafeteria doors"
  225. if arg-1 is "close":
  226. make console execute command "/fill -631 54 3564 -631 53 3564 iron_block"
  227. make console execute command "/fill -619 54 3564 -619 53 3564 iron_block"
  228. make console execute command "/fill -608 54 3564 -608 53 3564 iron_block"
  229. broadcast "&cClosing cafeteria doors"
  230.  
  231. command /lights <text>:
  232. permission: guard
  233. trigger:
  234. if arg-1 is "on":
  235. make console execute command "/fill -563 73 3607 -563 73 3607 redstone_block"
  236. broadcast "&cLights are on!"
  237. if arg-1 is "off":
  238. make console execute command "/fill -563 73 3607 -563 73 3607 air"
  239. broadcast "&cLights are off!"
  240.  
  241. command /cookies [<offline player>]:
  242. trigger:
  243. if arg-1 is not set:
  244. send "&c%{cookies.%player%}%"
  245. if arg-1 is set:
  246. send "&c%arg-1%'s cookies: %{cookies.%arg-1%}%"
  247.  
  248. on death:
  249. remove 3 from {cookies.%attacker%}
  250.  
  251. on first join:
  252. set {cookies.%player%} to 0
  253.  
  254. command /resetcookies <offline player>:
  255. permission: guard
  256. trigger:
  257. set {cookies.%arg-1%} to 0
  258.  
  259. every 5 minutes:
  260. loop all players:
  261. set {_chance} to a random integer between 1 and 2
  262. if {_chance} is 1:
  263. add 1 to {cookies.%loop-player%}
  264. if {_chance} is 2:
  265. add 2 to {cookies.%loop-player%}
  266.  
  267.  
  268.  
  269. command /charges:
  270. trigger:
  271. send "&cYour charges: %{charges.%player%}%"
  272.  
  273. command /setcharges [<player>] [<integer>]:
  274. permission: guard
  275. trigger:
  276. set {charges.%arg-1%} to arg-2
  277. send "&cSet %arg-1%'s charges to %arg-2%"
  278.  
  279. on join:
  280. if {charges.%player%} is not set:
  281. set {charges.%player%} to 100
  282.  
  283. on right click on sign:
  284. if line 1 is "Guards" or "Lounge":
  285. if held item's name contains "Lounge":
  286. make console execute command "/tp %player% -659 53 3599"
  287.  
  288. command /outsidedoors <text>:
  289. permission: guard
  290. trigger:
  291. if arg-1 is "open":
  292. make console execute command "/fill -649 54 3546 -649 53 3546 air"
  293. make console execute command "/fill -647 54 3546 -647 53 3546 air"
  294. make console execute command "/fill -578 54 3552 -579 53 3552 air"
  295. broadcast "&cOpening outside doors"
  296. if arg-1 is "close":
  297. make console execute command "/fill -649 54 3546 -649 53 3546 iron_bars"
  298. make console execute command "/fill -647 54 3546 -647 53 3546 iron_bars"
  299. make console execute command "/fill -578 54 3552 -579 53 3552 iron_bars"
  300. broadcast "&cClosing outside doors"
  301.  
  302. command /payoff:
  303. trigger:
  304. if player's balance >= 5:
  305. send "&cChanging your money into charges..."
  306. remove player's balance from {charges.%player%}
  307. remove player's balance from player's balance
  308. send "&cYou now have %{charges.%player%}% charges"
  309. else:
  310. send "&cYou need atleast 5 dollars to do this"
  311.  
  312. on death:
  313. victim is a player
  314. add 10 to {charges.%attacker%}
  315. send "&c10 more charges has been added to your account for killing" to attacker
  316.  
  317. on damage:
  318. if victim has permission "guard":
  319. set {_pick} to a random integer between 1 and 25
  320. if {_pick} is 1:
  321. give attacker a lever named "Multipurpose key | Maintenence | Lounge | Exit | Control Room"
  322. send "&c%attacker% has just pick pocketed you!" to victim
  323. if {_pick} is 2:
  324. give attacker a lever named "Multipurpose key | Watch Towers | Solitary Confinement"
  325. send "&c%attacker% has just pick pocketed you!" to victim
  326.  
  327. on right click on player:
  328. if name of held item is "Right click on player":
  329. open chest with 1 row named "%clicked entity%" to player
  330. wait 1 tick
  331. format slot 0 of player with diamond block named "&bSearch" to run [make player execute command "/invsee %clicked entity%"]
  332. format slot 1 of player with redstone block named "&cSolitary &7( 3 Min ) " to close then run [make player execute command "/jail %clicked entity% sc 3m"]
  333. format slot 4 of player with paper named "&cCharges" with lore "&7%{charges.%clicked entity%}%" to be unstealable
  334. format slot 8 of player with paper named "&cCookies" with lore "&7%{cookies.%clicked entity%}%" to be unstealable
  335. format slot 7 of player with paper named "&cSet Cookies" to close then run [send "&cDo /setcookies <player> <number> to change a player's cookies" to player]
  336.  
  337. command /setcookies <player> <integer>:
  338. permission: guard
  339. trigger:
  340. set {cookies.%arg-1%} to arg-2
  341.  
  342. on death:
  343. victim is a player
  344. if victim has permission "fugitive":
  345. if attacker has permission "guard":
  346. add 15 to attacker's balance
  347. send "&c+25 dollars for killing a fugitive" to attacker
  348. if attacker has permission "refined":
  349. add 18 to attacker's balance
  350. send "&c+30 dollars for killing a fuigitive" to attacker
  351. if attacker has permission "guard":
  352. add 20 to attacker's balance
  353. send "&c+40 dollars for killing a fuigitive" to attacker
  354. if victim has permission "robber":
  355. if attacker has permission "guard":
  356. add 25 to attacker's balance
  357. send "&c+25 dollars for killing a robber" to attacker
  358. if attacker has permission "refined":
  359. add 30 to attacker's balance
  360. send "&c+30 dollars for killing a robber" to attacker
  361. if attacker has permission "guard":
  362. add 40 to attacker's balance
  363. send "&c+40 dollars for killing a robber" to attacker
  364. if victim does not have permission "fugitive" or "robber":
  365. if attacker has permission "guard":
  366. add 5 to attacker's balance
  367. send "&c+5 dollars for killing a player" to attacker
  368. if attacker has permission "refined":
  369. add 7 to attacker's balance
  370. send "&c+7 dollars for killing a player" to attacker
  371. if attacker has permission "guard":
  372. add 10 to attacker's balance
  373. send "&c+10 dollars for killing a player" to attacker
  374.  
  375. on command:
  376. if command is "ban":
  377. if player has permission "guard":
  378. add 10 to player's balance
  379. send "&c+10 dollars for banning" to player
  380. if player has permission "refined":
  381. add 13 to player's balance
  382. send "&c+13 dollars for banning" to player
  383. if player has permission "senior":
  384. add 16 to player's balance
  385. send "&c+16 dollars for banning" to player
  386. if command is "jail":
  387. if player has permission "guard":
  388. add 5 to player's balance
  389. send "&c+5 dollars for jailing" to player
  390. if player has permission "refined":
  391. add 7 to player's balance
  392. send "&c+7 dollars for jailing" to player
  393. if player has permission "senior":
  394. add 10 to player's balance
  395. send "&c+10 dollars for jailing" to player
  396. if command is "mute":
  397. if player has permission "guard":
  398. add 5 to player's balance
  399. send "&c+5 dollars for muting" to player
  400. if player has permission "refined":
  401. add 7 to player's balance
  402. send "&c+7 dollars for muting" to player
  403. if player has permission "senior":
  404. add 13 to player's balance
  405. send "&c+13 dollars for muting" to player
  406.  
  407. every 2 hours:
  408. loop all players:
  409. if loop-player has permission "guard":
  410. add 50 to loop-player's balance
  411. send "&c+50 dollars for being on" to loop-player
  412. if loop-player has permission "refined":
  413. add 75 to loop-player's balance
  414. send "&c+75 dollars for being on" to loop-player
  415. if loop-player has permission "senior":
  416. add 100 to loop-player's balance
  417. send "&c+100 dollars for being on" to loop-player
  418.  
  419.  
  420.  
  421. command /setdrops <integer>:
  422. permission: *
  423. trigger:
  424. if arg-1 is 1:
  425. set {drop1} to player's location
  426. send "&aSuccessful"
  427. if arg-1 is 2:
  428. set {drop2} to player's location
  429. send "&aSuccessful"
  430. if arg-1 is 3:
  431. set {drop3} to player's location
  432. send "&aSuccessful"
  433. if arg-1 is 4:
  434. set {drop4} to player's location
  435. send "&aSuccessful"
  436.  
  437. every 5 minutes:
  438. drop a stick at {drop1}
  439. drop a oak plank at {drop2}
  440. drop 3 mycelium named "&0Garbage" at {drop3}
  441. drop 3 oak planks at {drop4}
  442.  
  443.  
  444.  
  445. on region enter:
  446. if "%region%" contains "guard" or "office":
  447. send "&cWarning! You are entering a restricted area. You will be killed/jailed on sight." to player
  448.  
  449. every 1 tick:
  450. loop all players:
  451. if {charges.%loop-player%} is less than 1:
  452. set {charges.%loop-player%} to "Free"
  453. teleport the loop-player to {free}
  454. make console execute command "/lp user %loop-player% parent add free'd"
  455. broadcast "&c%loop-player% has just payed their charges and has become free."
  456.  
  457. command /dontmesswiththis:
  458. permission: *
  459. trigger:
  460. set {free} to player's location
  461.  
  462. command /sb <text>:
  463. trigger:
  464. if arg-1 is "on":
  465. set {sb.%player%} to true
  466. send "&aScoreboard on"
  467. if arg-1 is "off":
  468. set {sb.%player%} to false
  469. send "&cScoreboard off"
  470. wipe player's sidebar
  471.  
  472. every 1 tick:
  473. loop all players:
  474. if {sb.%loop-player%} is true:
  475. wipe loop-player's sidebar
  476. set name of sidebar of loop-player to "&c&lWestmine"
  477. set score "&bThirst: %{thirst.%loop-player%}%" in sidebar of loop-player to 1
  478. set score "&cDo /sb off to turn this off!" in sidebar of loop-player to 0
  479.  
  480. on join:
  481. if {thirst.%player%} is not set:
  482. set {thirst.%player%} to 100
  483. set {sb.%player%} to true
  484.  
  485. every 10 seconds:
  486. loop all players:
  487. if {thirston.%loop-player%} is not false:
  488. remove 1 from {thirst.%loop-player%}
  489. if {thirst.%loop-player%} is less than 30:
  490. send "&cYou are thirsty! You need to drink!" to loop-player
  491.  
  492. every 1 tick:
  493. loop all players:
  494. if {thirston.%loop-player%} is not false:
  495. if {thirst.%loop-player%} is less than 1:
  496. set {thirst.%loop-player%} to 100
  497. kill the loop-player
  498.  
  499. on consume:
  500. if held item is a water bottle:
  501. add 30 to {thirst.%player%}
  502.  
  503. command /lockdown:
  504. permission: guard
  505. trigger:
  506. broadcast "&cThe prison is now on lockdown!"
  507. loop all players:
  508. if loop-player has permission "prisoner":
  509. make console execute command "/warp prison2 %loop-player%"
  510. make console execute command "/blockdoors close"
  511. make console execute command "/cafdoor close"
  512. make console execute command "/outsidedoors close"
  513.  
  514. command /thirst <text>:
  515. permission: guard
  516. trigger:
  517. if arg-1 is "on":
  518. send "&aThirst enabled"
  519. set {thirston.%player%} to true
  520. if arg-1 is "off":
  521. send "&cThirst disabled"
  522. set {thirston.%player%} to false
  523.  
  524.  
  525.  
  526. every 1 second:
  527. loop all players:
  528. if time in "world" is between 8:00 and 8:01:
  529. broadcast "&cThe bank is now open"
  530. make console execute command "/fill -622 65 3795 -619 66 3795 air"
  531. delete {bankrobbed}
  532. wait 1 second
  533. if time in "world" is between 22:00 and 22:01:
  534. broadcast "&cThe bank is now closed"
  535. make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
  536. wait 1 second
  537.  
  538. on region enter:
  539. if "%region%" contains "bank":
  540. if {bankrobbed} is not set:
  541. make console execute command "/lp user %player% parent add robbing"
  542. broadcast "&cThe bank is being robbed!"
  543. set {goldbroken} to 0
  544. set {bankrobbed} to true
  545.  
  546. on block break:
  547. if event-block is a gold block:
  548. if {bankrobbed} is true:
  549. cancel event
  550. if {goldbroken} is less than 5:
  551. add 1 to {goldbroken}
  552. give player a gold nugget named "Gold Coin"
  553. else:
  554. send "&cI'm afraid the cash is all gone now."
  555.  
  556. every 1 tick:
  557. if {goldbroken} is 5:
  558. set {goldbroken} to 0
  559. broadcast "&cThe bank robbery has stopped"
  560. loop all players:
  561. if "%region at loop-player%" contains "bank":
  562. make console execute command "/lp user %loop-player% parent remove robbing"
  563. teleport loop-player to {bankdone}
  564. make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
  565.  
  566. command /dontmesswiththis2:
  567. permission: *
  568. trigger:
  569. set {bankdone} to player's location
  570.  
  571. command /bankrobberylist:
  572. permission: *
  573. trigger:
  574. send "%{bankrobbed}%"
  575.  
  576. on region enter:
  577. if "%region%" contains "escapeplace":
  578. broadcast "&4&lWARNING! &c%player% has escaped the prison!"
  579. make console execute command "/lp user %player% parent add fugitive"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement