Advertisement
SoloDan

Untitled

Aug 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.13 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% -662 53 3598"
  287. if line 1 is "Restricted":
  288. if held item's name contains "Crowbar":
  289. make console execute command "/tp %player% -673 26 3576"
  290. if line 1 is "The Dump":
  291. if held item's name contains "Dump":
  292. make console execute command "/tp %player% -530 53 3559"
  293. if line 1 is "Exit":
  294. make console execute command "/tp %player% -535 53 3559"
  295. if line 1 is "Truck":
  296. if held item's name contains "Truck":
  297. make console execute command "/tp %player% -541 55 3546"
  298.  
  299. command /outsidedoors <text>:
  300. permission: guard
  301. trigger:
  302. if arg-1 is "open":
  303. make console execute command "/fill -649 54 3546 -649 53 3546 air"
  304. make console execute command "/fill -647 54 3546 -647 53 3546 air"
  305. make console execute command "/fill -578 54 3552 -579 53 3552 air"
  306. broadcast "&cOpening outside doors"
  307. if arg-1 is "close":
  308. make console execute command "/fill -649 54 3546 -649 53 3546 iron_bars"
  309. make console execute command "/fill -647 54 3546 -647 53 3546 iron_bars"
  310. make console execute command "/fill -578 54 3552 -579 53 3552 iron_bars"
  311. broadcast "&cClosing outside doors"
  312.  
  313. command /payoff:
  314. trigger:
  315. if {confirm.%player%} is not set:
  316. send "&cAre you sure you want to convert all your money into minus charges?"
  317. send "&cPlease retype the command to confirm"
  318. set {confirm.%player%} to true
  319. wait 1 minute
  320. delete {confirm.%player%}
  321. stop
  322. if {confirm.%player%} is true:
  323. if player's balance >= 5:
  324. send "&cChanging your money into charges..."
  325. remove player's balance from {charges.%player%}
  326. remove player's balance from player's balance
  327. send "&cYou now have %{charges.%player%}% charges"
  328. else:
  329. send "&cYou need atleast 5 dollars to do this"
  330.  
  331. on death:
  332. victim is a player
  333. add 10 to {charges.%attacker%}
  334. send "&c10 more charges has been added to your account for killing" to attacker
  335.  
  336. on damage:
  337. if victim has permission "guard":
  338. set {_pick} to a random integer between 1 and 25
  339. if {_pick} is 1:
  340. give attacker a lever named "Multipurpose key | Maintenence | Lounge | Exit | Control Room"
  341. send "&c%attacker% has just pick pocketed you!" to victim
  342. if {_pick} is 2:
  343. give attacker a lever named "Multipurpose key | Watch Towers | Solitary Confinement"
  344. send "&c%attacker% has just pick pocketed you!" to victim
  345.  
  346. on right click on player:
  347. if name of held item is "Right click on player":
  348. open chest with 1 row named "%clicked entity%" to player
  349. wait 1 tick
  350. format slot 0 of player with diamond block named "&bSearch" to run [make player execute command "/invsee %clicked entity%"]
  351. 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"]
  352. format slot 4 of player with paper named "&cCharges" with lore "&7%{charges.%clicked entity%}%" to be unstealable
  353. format slot 8 of player with paper named "&cCookies" with lore "&7%{cookies.%clicked entity%}%" to be unstealable
  354. 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]
  355.  
  356. command /setcookies <player> <integer>:
  357. permission: guard
  358. trigger:
  359. set {cookies.%arg-1%} to arg-2
  360.  
  361. on death:
  362. victim is a player
  363. if victim has permission "fugitive":
  364. if attacker has permission "guard":
  365. add 15 to attacker's balance
  366. send "&c+25 dollars for killing a fugitive" to attacker
  367. if attacker has permission "refined":
  368. add 18 to attacker's balance
  369. send "&c+30 dollars for killing a fuigitive" to attacker
  370. if attacker has permission "guard":
  371. add 20 to attacker's balance
  372. send "&c+40 dollars for killing a fuigitive" to attacker
  373. if victim has permission "robber":
  374. if attacker has permission "guard":
  375. add 25 to attacker's balance
  376. send "&c+25 dollars for killing a robber" to attacker
  377. if attacker has permission "refined":
  378. add 30 to attacker's balance
  379. send "&c+30 dollars for killing a robber" to attacker
  380. if attacker has permission "guard":
  381. add 40 to attacker's balance
  382. send "&c+40 dollars for killing a robber" to attacker
  383. if victim does not have permission "fugitive" or "robber":
  384. if attacker has permission "guard":
  385. add 5 to attacker's balance
  386. send "&c+5 dollars for killing a player" to attacker
  387. if attacker has permission "refined":
  388. add 7 to attacker's balance
  389. send "&c+7 dollars for killing a player" to attacker
  390. if attacker has permission "guard":
  391. add 10 to attacker's balance
  392. send "&c+10 dollars for killing a player" to attacker
  393.  
  394. on command:
  395. if command is "ban":
  396. if player has permission "guard":
  397. add 10 to player's balance
  398. send "&c+10 dollars for banning" to player
  399. if player has permission "refined":
  400. add 13 to player's balance
  401. send "&c+13 dollars for banning" to player
  402. if player has permission "senior":
  403. add 16 to player's balance
  404. send "&c+16 dollars for banning" to player
  405. if command is "jail":
  406. if player has permission "guard":
  407. add 5 to player's balance
  408. send "&c+5 dollars for jailing" to player
  409. if player has permission "refined":
  410. add 7 to player's balance
  411. send "&c+7 dollars for jailing" to player
  412. if player has permission "senior":
  413. add 10 to player's balance
  414. send "&c+10 dollars for jailing" to player
  415. if command is "mute":
  416. if player has permission "guard":
  417. add 5 to player's balance
  418. send "&c+5 dollars for muting" to player
  419. if player has permission "refined":
  420. add 7 to player's balance
  421. send "&c+7 dollars for muting" to player
  422. if player has permission "senior":
  423. add 13 to player's balance
  424. send "&c+13 dollars for muting" to player
  425.  
  426. every 2 hours:
  427. loop all players:
  428. if loop-player has permission "guard":
  429. add 15 to loop-player's balance
  430. send "&c+15 dollars for being on" to loop-player
  431. if loop-player has permission "refined":
  432. add 20 to loop-player's balance
  433. send "&c+20 dollars for being on" to loop-player
  434. if loop-player has permission "senior":
  435. add 35 to loop-player's balance
  436. send "&c+35 dollars for being on" to loop-player
  437.  
  438.  
  439.  
  440. command /setdrops <integer>:
  441. permission: *
  442. trigger:
  443. if arg-1 is 1:
  444. set {drop1} to player's location
  445. send "&aSuccessful"
  446. if arg-1 is 2:
  447. set {drop2} to player's location
  448. send "&aSuccessful"
  449. if arg-1 is 3:
  450. set {drop3} to player's location
  451. send "&aSuccessful"
  452. if arg-1 is 4:
  453. set {drop4} to player's location
  454. send "&aSuccessful"
  455. if arg-1 is 5:
  456. set {drop5} to player's location
  457. send "&aSuccesful"
  458.  
  459. every 5 minutes:
  460. set {_chance1} to a random integer between 1 and 4
  461. if {_chance1} is 1:
  462. drop a stick at {drop1}
  463. set {_chance2} to a random integer between 1 and 4
  464. if {_chance2} is 1:
  465. drop a oak plank at {drop2}
  466. set {_chance3} to a random integer between 1 and 4
  467. if {_chance3} is 1:
  468. drop 3 mycelium named "&0Garbage" at {drop3}
  469. set {_chance4} to a random integer between 1 and 4
  470. if {_chance4} is 1:
  471. drop 3 oak planks at {drop4}
  472. set {_chance} to a random integer between 1 and 4
  473. if {_chance} is 1:
  474. drop 1 lever named "dump_key" at {drop5}
  475.  
  476.  
  477.  
  478. on region enter:
  479. if "%region%" contains "guard" or "office":
  480. if player does not have permission "guard":
  481. send "&cWarning! You are entering a restricted area. You will be killed/jailed on sight." to player
  482.  
  483. every 1 tick:
  484. loop all players:
  485. if {charges.%loop-player%} is less than 1:
  486. set {charges.%loop-player%} to "Free"
  487. teleport the loop-player to {free}
  488. make console execute command "/lp user %loop-player% parent add free'd"
  489. broadcast "&c%loop-player% has just payed their charges and has become free."
  490.  
  491. command /dontmesswiththis:
  492. permission: *
  493. trigger:
  494. set {free} to player's location
  495.  
  496. command /sb <text>:
  497. trigger:
  498. if arg-1 is "on":
  499. set {sb.%player%} to true
  500. send "&aScoreboard on"
  501. if arg-1 is "off":
  502. set {sb.%player%} to false
  503. send "&cScoreboard off"
  504. wipe player's sidebar
  505.  
  506. every 1 tick:
  507. loop all players:
  508. if {sb.%loop-player%} is true:
  509. wipe loop-player's sidebar
  510. set name of sidebar of loop-player to "&c&lWestmine"
  511. set score "&bThirst: %{thirst.%loop-player%}%" in sidebar of loop-player to 6
  512. set score "&7" in sidebar of loop-player to 5
  513. set score "&cStrength: %{strength.%loop-player%}%" in sidebar of loop-player to 4
  514. set score "&bSpeed: %{speed.%loop-player%}%" in sidebar of loop-player to 3
  515. set score "&aIntelligence: %{smart.%loop-player%}%" in sidebar of loop-player to 2
  516. set score "&8" in sidebar of loop-player to 1
  517. set score "&cDo /sb off to turn this off!" in sidebar of loop-player to 0
  518.  
  519. on join:
  520. if {thirst.%player%} is not set:
  521. set {thirst.%player%} to 100
  522. set {sb.%player%} to true
  523.  
  524. on join:
  525. if {strength.%player%} is not set:
  526. set {strength.%player%} to 0
  527. if {speed.%player%} is not set:
  528. set {speed.%player%} to 0
  529. if {smart.%player%} is not set:
  530. set {smart.%player%} to 0
  531.  
  532. every 10 seconds:
  533. loop all players:
  534. if {thirston.%loop-player%} is not false:
  535. remove 1 from {thirst.%loop-player%}
  536. if {thirst.%loop-player%} is less than 30:
  537. send "&cYou are thirsty! You need to drink!" to loop-player
  538.  
  539. every 1 tick:
  540. loop all players:
  541. if {thirston.%loop-player%} is not false:
  542. if {thirst.%loop-player%} is less than 1:
  543. set {thirst.%loop-player%} to 100
  544. kill the loop-player
  545.  
  546. on consume:
  547. if held item is a water bottle:
  548. if "%offhand tool%" is "water bottle":
  549. send "&cYou cannot drink with your off hand."
  550. cancel event
  551. else:
  552. add 30 to {thirst.%player%}
  553. wait 1 tick
  554. remove 1 bottle from the player
  555. if held item is a melon slice:
  556. add 5 to {thirst.%player%}
  557.  
  558. command /lockdown:
  559. permission: guard
  560. trigger:
  561. broadcast "&cThe prison is now on lockdown!"
  562. loop all players:
  563. if loop-player has permission "prisoner":
  564. make console execute command "/warp prison2 %loop-player%"
  565. make console execute command "/blockdoors close"
  566. make console execute command "/cafdoor close"
  567. make console execute command "/outsidedoors close"
  568.  
  569. command /thirst <text>:
  570. permission: guard
  571. trigger:
  572. if arg-1 is "on":
  573. send "&aThirst enabled"
  574. set {thirston.%player%} to true
  575. if arg-1 is "off":
  576. send "&cThirst disabled"
  577. set {thirston.%player%} to false
  578.  
  579.  
  580.  
  581. every 1 second:
  582. loop all players:
  583. if time in "world" is between 8:00 and 8:01:
  584. broadcast "&cThe bank is now open"
  585. make console execute command "/fill -622 65 3795 -619 66 3795 air"
  586. delete {bankrobbed}
  587. wait 1 second
  588. if time in "world" is between 22:00 and 22:01:
  589. broadcast "&cThe bank is now closed"
  590. make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
  591. wait 1 second
  592.  
  593. on region enter:
  594. if "%region%" contains "bank":
  595. if {bankrobbed} is not set:
  596. make console execute command "/lp user %player% parent add robbing"
  597. broadcast "&cThe bank is being robbed!"
  598. set {goldbroken} to 0
  599. set {bankrobbed} to true
  600.  
  601. on right click on sign:
  602. if line 1 is "Speed":
  603. if {clicks.%player%} is less than 5:
  604. add 1 to {clicks.%player%}
  605. send "&8[&7%{clicks.%player%}%/5&8]"
  606. if {clicks.%player%} is 5:
  607. add 1 to {speed.%player%}
  608. set {clicks.%player%} to 0
  609. if line 1 is "Strength":
  610. if {clicks.%player%} is less than 5:
  611. add 1 to {clicks.%player%}
  612. send "&8[&7%{clicks.%player%}%/5&8]"
  613. if {clicks.%player%} is 5:
  614. add 1 to {strength.%player%}
  615. set {clicks.%player%} to 0
  616.  
  617. on right click on bookshelf:
  618. if {clicks.%player%} is less than 5:
  619. add 1 to {clicks.%player%}
  620. send "&8[&7%{clicks.%player%}%/5&8]"
  621. if {clicks.%player%} is 5:
  622. add 1 to {smart.%player%}
  623. set {clicks.%player%} to 0
  624.  
  625. on join:
  626. if {clicks.%player%} is not set:
  627. set {clicks.%player%} to 0
  628.  
  629. every 1 second:
  630. loop all players:
  631. if {speed.%loop-player%} >= 1000:
  632. if {speed.%loop-player%} is less than 1500:
  633. apply speed 1 to loop-player for 2 seconds
  634. if {speed.%loop-player%} >= 1500:
  635. if {speed.%loop-player%} is less than 2001:
  636. apply speed 2 to loop-player for 2 seconds
  637. if {strength.%loop-player%} >= 1000:
  638. if {strength.%loop-player%} is less than 1500:
  639. apply strength 1 to loop-player for 2 seconds
  640. if {strength.%loop-player%} >= 1500:
  641. if {strength.%loop-player%} is less than 2001:
  642. apply strength 2 to loop-player for 2 seconds
  643.  
  644. every 1 tick:
  645. loop all players:
  646. if {speed.%loop-player%} is greater than 2000:
  647. remove 1 from {speed.%loop-player%}
  648. if {strength.%loop-player%} is greater than 2000:
  649. remove 1 from {strength.%loop-player%}
  650. if {smart.%loop-player%} is greater than 2000:
  651. remove 1 from {smart.%loop-player%}
  652.  
  653. on block break:
  654. if event-block is a gold block:
  655. if "%region at player%" contains "bank":
  656. if {bankrobbed} is true:
  657. cancel event
  658. if {goldbroken} is less than 5:
  659. add 1 to {goldbroken}
  660. give player a gold nugget named "Gold Coin"
  661. else:
  662. send "&cI'm afraid the cash is all gone now."
  663.  
  664. every 1 tick:
  665. if {goldbroken} is 5:
  666. set {goldbroken} to 0
  667. broadcast "&cThe bank robbery has stopped"
  668. loop all players:
  669. if "%region at loop-player%" contains "bank":
  670. make console execute command "/lp user %loop-player% parent remove robbing"
  671. teleport loop-player to {bankdone}
  672. make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
  673.  
  674. command /dontmesswiththis2:
  675. permission: *
  676. trigger:
  677. set {bankdone} to player's location
  678.  
  679. command /bankrobberylist:
  680. permission: *
  681. trigger:
  682. send "%{bankrobbed}%"
  683.  
  684. on region enter:
  685. if "%region%" contains "escapeplace":
  686. broadcast "&4&lWARNING! &c%player% has escaped the prison!"
  687. make console execute command "/lp user %player% parent add fugitive"
  688. make console execute command "/teleport %player% -587 53 3648"
  689.  
  690. command /warn <player> <text>:
  691. permission: guard
  692. trigger:
  693. broadcast "&c&l[!] &4Warn &c[!] &7%arg-1% was issued a warning"
  694. broadcast "&cIssued by: &7%player%"
  695. broadcast "&cReason: &7%arg-2%"
  696. add "&r%now% : &r%arg-1% &cwas warned by &r%player% &cfor &r%arg-2%" to {history.%arg-1%::*}
  697.  
  698. command /history <offline player>:
  699. permission: guard
  700. trigger:
  701. if {history.%arg-1%::*} is set:
  702. if {history.%arg-1%::6} is set:
  703. set {_his} to {history.%arg-1%::6}
  704. set {_his2} to {history.%arg-1%::5}
  705. set {_his3} to {history.%arg-1%::4}
  706. set {_his4} to {history.%arg-1%::3}
  707. set {_his5} to {history.%arg-1%::2}
  708. delete {history.%arg-1%::*}
  709. add {_his5} to {history.%arg-1%::*}
  710. add {_his4} to {history.%arg-1%::*}
  711. add {_his3} to {history.%arg-1%::*}
  712. add {_his2} to {history.%arg-1%::*}
  713. add {_his} to {history.%arg-1%::*}
  714. send "%{history.%arg-1%::1}%"
  715. send "%{history.%arg-1%::2}%"
  716. send "%{history.%arg-1%::3}%"
  717. send "%{history.%arg-1%::4}%"
  718. send "%{history.%arg-1%::5}%"
  719. else:
  720. send "%{history.%arg-1%::1}%"
  721. send "%{history.%arg-1%::2}%"
  722. send "%{history.%arg-1%::3}%"
  723. send "%{history.%arg-1%::4}%"
  724. send "%{history.%arg-1%::5}%"
  725. send "&cShowing the 5 most recent punishments"
  726. if {history.%arg-1%::*} is not set:
  727. send "&cThis player does not have a punishment history"
  728.  
  729. command /statdoors <text>:
  730. permission: guard
  731. trigger:
  732. if arg-1 is "open":
  733. broadcast "&cOpening all gym and library doors."
  734. make console execute command "/fill -609 54 3598 -609 53 3599 air"
  735. make console execute command "/fill -630 54 3599 -630 53 3598 air"
  736. make console execute command "/fill -652 54 3599 -652 53 3598 air"
  737. if arg-1 is "close":
  738. broadcast "&cClosing all gym and library doors."
  739. make console execute command "/fill -609 54 3598 -609 53 3599 iron_bars"
  740. make console execute command "/fill -630 54 3599 -630 53 3598 iron_bars"
  741. make console execute command "/fill -652 54 3599 -652 53 3598 iron_bars"
  742.  
  743. on block break:
  744. if "%region at player%" contains "respawn":
  745. if event-block is dark oak log:
  746. cancel event
  747. drop 1 dark oak log
  748. set event-block to bedrock
  749. wait 5 minutes
  750. set event-block to dark oak log
  751. if event-block is oak log:
  752. cancel event
  753. drop 1 oak log
  754. set event-block to bedrock
  755. wait 5 minutes
  756. set event-block to oak log
  757. if event-block is coal ore:
  758. cancel event
  759. drop 1 coal
  760. set event-block to bedrock
  761. wait 5 minutes
  762. set event-block to coal ore
  763. if event-block is iron ore:
  764. cancel event
  765. drop 1 iron ore
  766. set event-block to bedrock
  767. wait 5 minutes
  768. set event-block to iron ore
  769. if event-block is redstone ore:
  770. cancel event
  771. drop 3 redstone dust
  772. set event-block to bedrock
  773. wait 5 minutes
  774. set event-block to redstone ore
  775. if event-block is lapis ore:
  776. cancel event
  777. drop 5 lapis lazuli
  778. set event-block to bedrock
  779. wait 5 minutes
  780. set event-block to lapis ore
  781. if event-block is diamond ore:
  782. cancel event
  783. drop 1 diamond
  784. set event-block to bedrock
  785. wait 5 minutes
  786. set event-block to diamond ore
  787.  
  788.  
  789.  
  790. on right click on parrot:
  791. send "&cBushie is watching you..." to player
  792.  
  793.  
  794.  
  795. on region enter:
  796. if "%region%" contains "truck":
  797. broadcast "&4&lWARNING &c%player% is stealing a truck and will escape in 1 minute"
  798. wait 1 minute
  799. if "%region at player%" contains "truck":
  800. broadcast "&4&lWARNING! &c%player% has escaped the prison!"
  801. make console execute command "/lp user %player% parent add fugitive"
  802. make console execute command "/teleport %player% -587 53 3648"
  803.  
  804. every 10 minutes:
  805. loop all players:
  806. if loop-player has permission "guard":
  807. set {_guard} to a random integer between 1 and 4
  808. if {_guard} is 1:
  809. send "&7Hey! You've been picked to do a job!" to loop-player
  810. wait 1 second
  811. send "&7Take this paper, deliver it to the police station, you have 5 minutes" to loop-player
  812. wait 2 seconds
  813. send "&7Oh, and you also get $100 in payment " to loop-player
  814. give loop-player a paper named "&cSome filework"
  815. wait 5 minutes
  816. if loop-player's inventory contains a paper named "&cSome filework":
  817. send "&cTime has run out!" to loop-player
  818. send "&cYou lose $100" to loop-player
  819. remove 100 from loop-player's balance
  820. stop
  821. if loop-player's inventory does not contain a paper named "&cSome filework":
  822. send "&aCongrats! You finished the job!" to loop-player
  823. send "&aYou gain $100" to loop-player
  824. add 100 to loop-player's balance
  825.  
  826. command /forcetask <player>:
  827. trigger:
  828. if arg-1 has permission "guard":
  829. set {_guard} to a random integer between 1 and 4
  830. if {_guard} is 1:
  831. send "&7Hey! You've been picked to do a job!" to arg-1
  832. wait 1 second
  833. send "&7Take this paper, deliver it to the police station, you have 5 minutes" to arg-1
  834. wait 2 seconds
  835. send "&7Oh, and you also get $100 in payment " to arg-1
  836. give arg-1 a paper named "&cSome filework"
  837. wait 5 minutes
  838. if arg-1's inventory contains a paper named "&cSome filework":
  839. send "&cTime has run out!" to arg-1
  840. send "&cYou lose $100" to arg-1
  841. remove 100 from arg-1's balance
  842. stop
  843. if arg-1's inventory does not contain a paper named "&cSome filework":
  844. send "&aCongrats! You finished the job!" to arg-1
  845. send "&aYou gain $100" to arg-1
  846. add 100 to arg-1's balance
  847.  
  848. on right click on sign:
  849. if line 1 contains "Drive":
  850. if held item's name contains "Car key":
  851. make console execute command "/tp %player% -318 70 3550.8"
  852.  
  853. command /minecraft:me:
  854. trigger:
  855. send "&cPlease do not try to bypass mutes."
  856.  
  857. command /me:
  858. trigger:
  859. send "&cPlease do not try to bypass mutes."
  860.  
  861. on respawn:
  862. if player does not have permission "guard":
  863. make console execute command "/jail %player% sc 3m"
  864.  
  865. every 1 tick:
  866. loop all players:
  867. if loop-player's inventory contains a lever:
  868. if loop-player does not have permission "guard":
  869. if {smart.%loop-player%} is less than 1000:
  870. remove 1 lever from loop-player's inventory
  871. send "&cYour intelligence needs to be 1000 to pick up levers." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement