Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /celldoors <text>:
- permission: guard
- trigger:
- if arg-1 is "open":
- make console execute command "/fill -628 69 3565 -627 68 3565 air"
- make console execute command "/fill -633 69 3565 -632 68 3565 air"
- make console execute command "/fill -638 69 3565 -637 68 3565 air"
- make console execute command "/fill -643 69 3565 -642 68 3565 air"
- make console execute command "/fill -653 69 3565 -652 68 3565 air"
- make console execute command "/fill -658 69 3565 -657 68 3565 air"
- make console execute command "/fill -663 69 3565 -662 68 3565 air"
- make console execute command "/fill -668 69 3565 -667 68 3565 air"
- make console execute command "/fill -673 69 3565 -672 68 3565 air"
- make console execute command "/fill -675 69 3568 -675 68 3567 air"
- make console execute command "/fill -675 69 3573 -675 68 3572 air"
- make console execute command "/fill -675 69 3578 -675 68 3577 air"
- make console execute command "/fill -675 69 3583 -675 68 3582 air"
- make console execute command "/fill -675 69 3588 -675 68 3587 air"
- make console execute command "/fill -675 69 3593 -675 68 3592 air"
- make console execute command "/fill -675 69 3598 -675 68 3597 air"
- make console execute command "/fill -671 69 3602 -672 68 3602 air"
- make console execute command "/fill -666 69 3602 -667 68 3602 air"
- make console execute command "/fill -661 69 3602 -662 68 3602 air"
- make console execute command "/fill -656 69 3602 -657 68 3602 air"
- make console execute command "/fill -648 69 3565 -647 68 3565 air"
- make console execute command "/fill -623 69 3565 -622 68 3565 air"
- make console execute command "/fill -618 69 3565 -617 68 3565 air"
- make console execute command "/fill -613 69 3565 -612 68 3565 air"
- make console execute command "/fill -608 69 3565 -607 68 3565 air"
- make console execute command "/fill -603 69 3565 -602 68 3565 air"
- make console execute command "/fill -598 69 3565 -597 68 3565 air"
- make console execute command "/fill -593 69 3565 -592 68 3565 air"
- make console execute command "/fill -588 69 3565 -587 68 3565 air"
- make console execute command "/fill -583 69 3565 -582 68 3565 air"
- make console execute command "/fill -578 69 3565 -577 68 3565 air"
- make console execute command "/fill -573 69 3565 -572 68 3565 air"
- make console execute command "/fill -568 69 3565 -567 68 3565 air"
- make console execute command "/fill -564 69 3567 -564 68 3568 air"
- make console execute command "/fill -564 69 3572 -564 68 3573 air"
- make console execute command "/fill -564 69 3577 -564 68 3578 air"
- make console execute command "/fill -564 69 3582 -564 68 3583 air"
- make console execute command "/fill -564 69 3587 -564 68 3588 air"
- make console execute command "/fill -564 69 3592 -564 68 3593 air"
- make console execute command "/fill -564 69 3597 -564 68 3598 air"
- make console execute command "/fill -564 69 3602 -564 68 3603 air"
- make console execute command "/fill -564 69 3607 -564 68 3608 air"
- make console execute command "/fill -656 65 3601 -657 64 3601 air"
- make console execute command "/fill -661 65 3601 -662 64 3601 air"
- make console execute command "/fill -666 65 3601 -667 64 3601 air"
- make console execute command "/fill -671 65 3601 -672 64 3601 air"
- make console execute command "/fill -675 65 3598 -675 64 3597 air"
- make console execute command "/fill -675 65 3593 -675 64 3592 air"
- make console execute command "/fill -675 65 3588 -675 64 3587 air"
- make console execute command "/fill -675 65 3583 -675 64 3582 air"
- make console execute command "/fill -675 65 3578 -675 64 3577 air"
- make console execute command "/fill -675 65 3573 -675 64 3572 air"
- make console execute command "/fill -675 65 3568 -675 64 3567 air"
- make console execute command "/fill -673 65 3565 -672 64 3565 air"
- make console execute command "/fill -668 65 3565 -667 64 3565 air"
- make console execute command "/fill -663 65 3565 -662 64 3565 air"
- make console execute command "/fill -658 65 3565 -657 64 3565 air"
- make console execute command "/fill -653 65 3565 -652 64 3565 air"
- make console execute command "/fill -648 65 3565 -647 64 3565 air"
- make console execute command "/fill -643 65 3565 -642 64 3565 air"
- make console execute command "/fill -638 65 3565 -637 64 3565 air"
- make console execute command "/fill -633 65 3565 -632 64 3565 air"
- make console execute command "/fill -628 65 3565 -627 64 3565 air"
- make console execute command "/fill -623 65 3565 -622 64 3565 air"
- make console execute command "/fill -618 65 3565 -617 64 3565 air"
- make console execute command "/fill -634 65 3578 -635 64 3578 air"
- make console execute command "/fill -639 65 3578 -640 64 3578 air"
- make console execute command "/fill -644 65 3578 -645 64 3578 air"
- make console execute command "/fill -649 65 3578 -650 64 3578 air"
- make console execute command "/fill -613 65 3565 -612 64 3565 air"
- make console execute command "/fill -608 65 3565 -607 64 3565 air"
- make console execute command "/fill -603 65 3565 -602 64 3565 air"
- make console execute command "/fill -598 65 3565 -597 64 3565 air"
- make console execute command "/fill -593 65 3565 -592 64 3565 air"
- make console execute command "/fill -588 65 3565 -587 64 3565 air"
- make console execute command "/fill -583 65 3565 -582 64 3565 air"
- make console execute command "/fill -603 65 3578 -604 64 3578 air"
- make console execute command "/fill -598 65 3578 -599 64 3578 air"
- make console execute command "/fill -593 65 3578 -594 64 3578 air"
- make console execute command "/fill -588 65 3578 -589 64 3578 air"
- make console execute command "/fill -578 65 3565 -577 64 3565 air"
- make console execute command "/fill -573 65 3565 -572 64 3565 air"
- make console execute command "/fill -568 65 3565 -567 64 3565 air"
- make console execute command "/fill -564 65 3568 -564 64 3569 air"
- make console execute command "/fill -564 65 3573 -564 64 3574 air"
- make console execute command "/fill -564 65 3578 -564 64 3579 air"
- make console execute command "/fill -564 65 3583 -564 64 3584 air"
- make console execute command "/fill -564 65 3588 -564 64 3589 air"
- make console execute command "/fill -564 65 3593 -564 64 3594 air"
- make console execute command "/fill -564 65 3598 -564 64 3599 air"
- make console execute command "/fill -567 65 3602 -568 64 3602 air"
- make console execute command "/fill -572 65 3602 -573 64 3602 air"
- make console execute command "/fill -577 65 3602 -578 64 3602 air"
- make console execute command "/fill -582 65 3602 -583 64 3602 air"
- broadcast "&cOpening cell doors"
- if arg-1 is "close":
- make console execute command "/fill -628 69 3565 -627 68 3565 iron_bars"
- make console execute command "/fill -633 69 3565 -632 68 3565 iron_bars"
- make console execute command "/fill -638 69 3565 -637 68 3565 iron_bars"
- make console execute command "/fill -643 69 3565 -642 68 3565 iron_bars"
- make console execute command "/fill -653 69 3565 -652 68 3565 iron_bars"
- make console execute command "/fill -658 69 3565 -657 68 3565 iron_bars"
- make console execute command "/fill -663 69 3565 -662 68 3565 iron_bars"
- make console execute command "/fill -668 69 3565 -667 68 3565 iron_bars"
- make console execute command "/fill -673 69 3565 -672 68 3565 iron_bars"
- make console execute command "/fill -675 69 3568 -675 68 3567 iron_bars"
- make console execute command "/fill -675 69 3573 -675 68 3572 iron_bars"
- make console execute command "/fill -675 69 3583 -675 68 3582 iron_bars"
- make console execute command "/fill -675 69 3588 -675 68 3587 iron_bars"
- make console execute command "/fill -675 69 3593 -675 68 3592 iron_bars"
- make console execute command "/fill -675 69 3598 -675 68 3597 iron_bars"
- make console execute command "/fill -671 69 3602 -672 68 3602 iron_bars"
- make console execute command "/fill -666 69 3602 -667 68 3602 iron_bars"
- make console execute command "/fill -661 69 3602 -662 68 3602 iron_bars"
- make console execute command "/fill -648 69 3565 -647 68 3565 iron_bars"
- make console execute command "/fill -656 69 3602 -657 68 3602 iron_bars"
- make console execute command "/fill -675 69 3578 -675 68 3577 iron_bars"
- make console execute command "/fill -623 69 3565 -622 68 3565 iron_bars"
- make console execute command "/fill -618 69 3565 -617 68 3565 iron_bars"
- make console execute command "/fill -613 69 3565 -612 68 3565 iron_bars"
- make console execute command "/fill -608 69 3565 -607 68 3565 iron_bars"
- make console execute command "/fill -603 69 3565 -602 68 3565 iron_bars"
- make console execute command "/fill -598 69 3565 -597 68 3565 iron_bars"
- make console execute command "/fill -593 69 3565 -592 68 3565 iron_bars"
- make console execute command "/fill -588 69 3565 -587 68 3565 iron_bars"
- make console execute command "/fill -583 69 3565 -582 68 3565 iron_bars"
- make console execute command "/fill -578 69 3565 -577 68 3565 iron_bars"
- make console execute command "/fill -573 69 3565 -572 68 3565 iron_bars"
- make console execute command "/fill -568 69 3565 -567 68 3565 iron_bars"
- make console execute command "/fill -564 69 3567 -564 68 3568 iron_bars"
- make console execute command "/fill -564 69 3572 -564 68 3573 iron_bars"
- make console execute command "/fill -564 69 3577 -564 68 3578 iron_bars"
- make console execute command "/fill -564 69 3582 -564 68 3583 iron_bars"
- make console execute command "/fill -564 69 3587 -564 68 3588 iron_bars"
- make console execute command "/fill -564 69 3592 -564 68 3593 iron_bars"
- make console execute command "/fill -564 69 3597 -564 68 3598 iron_bars"
- make console execute command "/fill -564 69 3602 -564 68 3603 iron_bars"
- make console execute command "/fill -564 69 3607 -564 68 3608 iron_bars"
- make console execute command "/fill -656 65 3601 -657 64 3601 iron_bars"
- make console execute command "/fill -661 65 3601 -662 64 3601 iron_bars"
- make console execute command "/fill -666 65 3601 -667 64 3601 iron_bars"
- make console execute command "/fill -671 65 3601 -672 64 3601 iron_bars"
- make console execute command "/fill -675 65 3598 -675 64 3597 iron_bars"
- make console execute command "/fill -675 65 3593 -675 64 3592 iron_bars"
- make console execute command "/fill -675 65 3588 -675 64 3587 iron_bars"
- make console execute command "/fill -675 65 3583 -675 64 3582 iron_bars"
- make console execute command "/fill -675 65 3578 -675 64 3577 iron_bars"
- make console execute command "/fill -675 65 3573 -675 64 3572 iron_bars"
- make console execute command "/fill -675 65 3568 -675 64 3567 iron_bars"
- make console execute command "/fill -673 65 3565 -672 64 3565 iron_bars"
- make console execute command "/fill -668 65 3565 -667 64 3565 iron_bars"
- make console execute command "/fill -663 65 3565 -662 64 3565 iron_bars"
- make console execute command "/fill -658 65 3565 -657 64 3565 iron_bars"
- make console execute command "/fill -653 65 3565 -652 64 3565 iron_bars"
- make console execute command "/fill -648 65 3565 -647 64 3565 iron_bars"
- make console execute command "/fill -643 65 3565 -642 64 3565 iron_bars"
- make console execute command "/fill -638 65 3565 -637 64 3565 iron_bars"
- make console execute command "/fill -633 65 3565 -632 64 3565 iron_bars"
- make console execute command "/fill -628 65 3565 -627 64 3565 iron_bars"
- make console execute command "/fill -623 65 3565 -622 64 3565 iron_bars"
- make console execute command "/fill -618 65 3565 -617 64 3565 iron_bars"
- make console execute command "/fill -634 65 3578 -635 64 3578 iron_bars"
- make console execute command "/fill -639 65 3578 -640 64 3578 iron_bars"
- make console execute command "/fill -644 65 3578 -645 64 3578 iron_bars"
- make console execute command "/fill -649 65 3578 -650 64 3578 iron_bars"
- make console execute command "/fill -613 65 3565 -612 64 3565 iron_bars"
- make console execute command "/fill -608 65 3565 -607 64 3565 iron_bars"
- make console execute command "/fill -603 65 3565 -602 64 3565 iron_bars"
- make console execute command "/fill -598 65 3565 -597 64 3565 iron_bars"
- make console execute command "/fill -593 65 3565 -592 64 3565 iron_bars"
- make console execute command "/fill -588 65 3565 -587 64 3565 iron_bars"
- make console execute command "/fill -583 65 3565 -582 64 3565 iron_bars"
- make console execute command "/fill -603 65 3578 -604 64 3578 iron_bars"
- make console execute command "/fill -598 65 3578 -599 64 3578 iron_bars"
- make console execute command "/fill -593 65 3578 -594 64 3578 iron_bars"
- make console execute command "/fill -588 65 3578 -589 64 3578 iron_bars"
- make console execute command "/fill -578 65 3565 -577 64 3565 iron_bars"
- make console execute command "/fill -573 65 3565 -572 64 3565 iron_bars"
- make console execute command "/fill -568 65 3565 -567 64 3565 iron_bars"
- make console execute command "/fill -564 65 3568 -564 64 3569 iron_bars"
- make console execute command "/fill -564 65 3573 -564 64 3574 iron_bars"
- make console execute command "/fill -564 65 3578 -564 64 3579 iron_bars"
- make console execute command "/fill -564 65 3583 -564 64 3584 iron_bars"
- make console execute command "/fill -564 65 3588 -564 64 3589 iron_bars"
- make console execute command "/fill -564 65 3593 -564 64 3594 iron_bars"
- make console execute command "/fill -564 65 3598 -564 64 3599 iron_bars"
- make console execute command "/fill -567 65 3602 -568 64 3602 iron_bars"
- make console execute command "/fill -572 65 3602 -573 64 3602 iron_bars"
- make console execute command "/fill -577 65 3602 -578 64 3602 iron_bars"
- make console execute command "/fill -582 65 3602 -583 64 3602 iron_bars"
- broadcast "&cClosing cell doors"
- command /blockdoors <text>:
- permission: guard
- trigger:
- if arg-1 is "open":
- make console execute command "/fill -571 65 3597 -570 64 3597 air"
- make console execute command "/fill -616 65 3586 -622 64 3586 air"
- make console execute command "/fill -668 65 3597 -667 64 3597 air"
- broadcast "&cOpening block doors"
- if arg-1 is "close":
- make console execute command "/fill -571 65 3597 -570 64 3597 iron_bars"
- make console execute command "/fill -616 65 3586 -622 64 3586 iron_bars"
- make console execute command "/fill -668 65 3597 -667 64 3597 iron_bars"
- broadcast "&cClosing block doors"
- command /cafdoor <text>:
- permission: guard
- trigger:
- if arg-1 is "open":
- make console execute command "/fill -631 54 3564 -631 53 3564 air"
- make console execute command "/fill -619 54 3564 -619 53 3564 air"
- make console execute command "/fill -608 54 3564 -608 53 3564 air"
- broadcast "&cOpening cafeteria doors"
- if arg-1 is "close":
- make console execute command "/fill -631 54 3564 -631 53 3564 iron_block"
- make console execute command "/fill -619 54 3564 -619 53 3564 iron_block"
- make console execute command "/fill -608 54 3564 -608 53 3564 iron_block"
- broadcast "&cClosing cafeteria doors"
- command /lights <text>:
- permission: guard
- trigger:
- if arg-1 is "on":
- make console execute command "/fill -563 73 3607 -563 73 3607 redstone_block"
- broadcast "&cLights are on!"
- if arg-1 is "off":
- make console execute command "/fill -563 73 3607 -563 73 3607 air"
- broadcast "&cLights are off!"
- command /cookies [<offline player>]:
- trigger:
- if arg-1 is not set:
- send "&c%{cookies.%player%}%"
- if arg-1 is set:
- send "&c%arg-1%'s cookies: %{cookies.%arg-1%}%"
- on death:
- remove 3 from {cookies.%attacker%}
- on first join:
- set {cookies.%player%} to 0
- command /resetcookies <offline player>:
- permission: guard
- trigger:
- set {cookies.%arg-1%} to 0
- every 5 minutes:
- loop all players:
- set {_chance} to a random integer between 1 and 2
- if {_chance} is 1:
- add 1 to {cookies.%loop-player%}
- if {_chance} is 2:
- add 2 to {cookies.%loop-player%}
- command /charges:
- trigger:
- send "&cYour charges: %{charges.%player%}%"
- command /setcharges [<player>] [<integer>]:
- permission: guard
- trigger:
- set {charges.%arg-1%} to arg-2
- send "&cSet %arg-1%'s charges to %arg-2%"
- on join:
- if {charges.%player%} is not set:
- set {charges.%player%} to 100
- on right click on sign:
- if line 1 is "Guards" or "Lounge":
- if held item's name contains "Lounge":
- make console execute command "/tp %player% -662 53 3598"
- if line 1 is "Restricted":
- if held item's name contains "Crowbar":
- make console execute command "/tp %player% -673 26 3576"
- if line 1 is "The Dump":
- if held item's name contains "Dump":
- make console execute command "/tp %player% -530 53 3559"
- if line 1 is "Exit":
- make console execute command "/tp %player% -535 53 3559"
- if line 1 is "Truck":
- if held item's name contains "Truck":
- make console execute command "/tp %player% -541 55 3546"
- command /outsidedoors <text>:
- permission: guard
- trigger:
- if arg-1 is "open":
- make console execute command "/fill -649 54 3546 -649 53 3546 air"
- make console execute command "/fill -647 54 3546 -647 53 3546 air"
- make console execute command "/fill -578 54 3552 -579 53 3552 air"
- broadcast "&cOpening outside doors"
- if arg-1 is "close":
- make console execute command "/fill -649 54 3546 -649 53 3546 iron_bars"
- make console execute command "/fill -647 54 3546 -647 53 3546 iron_bars"
- make console execute command "/fill -578 54 3552 -579 53 3552 iron_bars"
- broadcast "&cClosing outside doors"
- command /payoff:
- trigger:
- if {confirm.%player%} is not set:
- send "&cAre you sure you want to convert all your money into minus charges?"
- send "&cPlease retype the command to confirm"
- set {confirm.%player%} to true
- wait 1 minute
- delete {confirm.%player%}
- stop
- if {confirm.%player%} is true:
- if player's balance >= 5:
- send "&cChanging your money into charges..."
- remove player's balance from {charges.%player%}
- remove player's balance from player's balance
- send "&cYou now have %{charges.%player%}% charges"
- else:
- send "&cYou need atleast 5 dollars to do this"
- on death:
- victim is a player
- add 10 to {charges.%attacker%}
- send "&c10 more charges has been added to your account for killing" to attacker
- on damage:
- if victim has permission "guard":
- set {_pick} to a random integer between 1 and 25
- if {_pick} is 1:
- give attacker a lever named "Multipurpose key | Maintenence | Lounge | Exit | Control Room"
- send "&c%attacker% has just pick pocketed you!" to victim
- if {_pick} is 2:
- give attacker a lever named "Multipurpose key | Watch Towers | Solitary Confinement"
- send "&c%attacker% has just pick pocketed you!" to victim
- on right click on player:
- if name of held item is "Right click on player":
- open chest with 1 row named "%clicked entity%" to player
- wait 1 tick
- format slot 0 of player with diamond block named "&bSearch" to run [make player execute command "/invsee %clicked entity%"]
- 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"]
- format slot 4 of player with paper named "&cCharges" with lore "&7%{charges.%clicked entity%}%" to be unstealable
- format slot 8 of player with paper named "&cCookies" with lore "&7%{cookies.%clicked entity%}%" to be unstealable
- 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]
- command /setcookies <player> <integer>:
- permission: guard
- trigger:
- set {cookies.%arg-1%} to arg-2
- on death:
- victim is a player
- if victim has permission "fugitive":
- if attacker has permission "guard":
- add 15 to attacker's balance
- send "&c+25 dollars for killing a fugitive" to attacker
- if attacker has permission "refined":
- add 18 to attacker's balance
- send "&c+30 dollars for killing a fuigitive" to attacker
- if attacker has permission "guard":
- add 20 to attacker's balance
- send "&c+40 dollars for killing a fuigitive" to attacker
- if victim has permission "robber":
- if attacker has permission "guard":
- add 25 to attacker's balance
- send "&c+25 dollars for killing a robber" to attacker
- if attacker has permission "refined":
- add 30 to attacker's balance
- send "&c+30 dollars for killing a robber" to attacker
- if attacker has permission "guard":
- add 40 to attacker's balance
- send "&c+40 dollars for killing a robber" to attacker
- if victim does not have permission "fugitive" or "robber":
- if attacker has permission "guard":
- add 5 to attacker's balance
- send "&c+5 dollars for killing a player" to attacker
- if attacker has permission "refined":
- add 7 to attacker's balance
- send "&c+7 dollars for killing a player" to attacker
- if attacker has permission "guard":
- add 10 to attacker's balance
- send "&c+10 dollars for killing a player" to attacker
- on command:
- if command is "ban":
- if player has permission "guard":
- add 10 to player's balance
- send "&c+10 dollars for banning" to player
- if player has permission "refined":
- add 13 to player's balance
- send "&c+13 dollars for banning" to player
- if player has permission "senior":
- add 16 to player's balance
- send "&c+16 dollars for banning" to player
- if command is "jail":
- if player has permission "guard":
- add 5 to player's balance
- send "&c+5 dollars for jailing" to player
- if player has permission "refined":
- add 7 to player's balance
- send "&c+7 dollars for jailing" to player
- if player has permission "senior":
- add 10 to player's balance
- send "&c+10 dollars for jailing" to player
- if command is "mute":
- if player has permission "guard":
- add 5 to player's balance
- send "&c+5 dollars for muting" to player
- if player has permission "refined":
- add 7 to player's balance
- send "&c+7 dollars for muting" to player
- if player has permission "senior":
- add 13 to player's balance
- send "&c+13 dollars for muting" to player
- every 2 hours:
- loop all players:
- if loop-player has permission "guard":
- add 15 to loop-player's balance
- send "&c+15 dollars for being on" to loop-player
- if loop-player has permission "refined":
- add 20 to loop-player's balance
- send "&c+20 dollars for being on" to loop-player
- if loop-player has permission "senior":
- add 35 to loop-player's balance
- send "&c+35 dollars for being on" to loop-player
- command /setdrops <integer>:
- permission: *
- trigger:
- if arg-1 is 1:
- set {drop1} to player's location
- send "&aSuccessful"
- if arg-1 is 2:
- set {drop2} to player's location
- send "&aSuccessful"
- if arg-1 is 3:
- set {drop3} to player's location
- send "&aSuccessful"
- if arg-1 is 4:
- set {drop4} to player's location
- send "&aSuccessful"
- if arg-1 is 5:
- set {drop5} to player's location
- send "&aSuccesful"
- every 5 minutes:
- set {_chance1} to a random integer between 1 and 4
- if {_chance1} is 1:
- drop a stick at {drop1}
- set {_chance2} to a random integer between 1 and 4
- if {_chance2} is 1:
- drop a oak plank at {drop2}
- set {_chance3} to a random integer between 1 and 4
- if {_chance3} is 1:
- drop 3 mycelium named "&0Garbage" at {drop3}
- set {_chance4} to a random integer between 1 and 4
- if {_chance4} is 1:
- drop 3 oak planks at {drop4}
- set {_chance} to a random integer between 1 and 4
- if {_chance} is 1:
- drop 1 lever named "dump_key" at {drop5}
- on region enter:
- if "%region%" contains "guard" or "office":
- if player does not have permission "guard":
- send "&cWarning! You are entering a restricted area. You will be killed/jailed on sight." to player
- every 1 tick:
- loop all players:
- if {charges.%loop-player%} is less than 1:
- set {charges.%loop-player%} to "Free"
- teleport the loop-player to {free}
- make console execute command "/lp user %loop-player% parent add free'd"
- broadcast "&c%loop-player% has just payed their charges and has become free."
- command /dontmesswiththis:
- permission: *
- trigger:
- set {free} to player's location
- command /sb <text>:
- trigger:
- if arg-1 is "on":
- set {sb.%player%} to true
- send "&aScoreboard on"
- if arg-1 is "off":
- set {sb.%player%} to false
- send "&cScoreboard off"
- wipe player's sidebar
- every 1 tick:
- loop all players:
- if {sb.%loop-player%} is true:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&c&lWestmine"
- set score "&bThirst: %{thirst.%loop-player%}%" in sidebar of loop-player to 6
- set score "&7" in sidebar of loop-player to 5
- set score "&cStrength: %{strength.%loop-player%}%" in sidebar of loop-player to 4
- set score "&bSpeed: %{speed.%loop-player%}%" in sidebar of loop-player to 3
- set score "&aIntelligence: %{smart.%loop-player%}%" in sidebar of loop-player to 2
- set score "&8" in sidebar of loop-player to 1
- set score "&cDo /sb off to turn this off!" in sidebar of loop-player to 0
- on join:
- if {thirst.%player%} is not set:
- set {thirst.%player%} to 100
- set {sb.%player%} to true
- on join:
- if {strength.%player%} is not set:
- set {strength.%player%} to 0
- if {speed.%player%} is not set:
- set {speed.%player%} to 0
- if {smart.%player%} is not set:
- set {smart.%player%} to 0
- every 10 seconds:
- loop all players:
- if {thirston.%loop-player%} is not false:
- remove 1 from {thirst.%loop-player%}
- if {thirst.%loop-player%} is less than 30:
- send "&cYou are thirsty! You need to drink!" to loop-player
- every 1 tick:
- loop all players:
- if {thirston.%loop-player%} is not false:
- if {thirst.%loop-player%} is less than 1:
- set {thirst.%loop-player%} to 100
- kill the loop-player
- on consume:
- if held item is a water bottle:
- if "%offhand tool%" is "water bottle":
- send "&cYou cannot drink with your off hand."
- cancel event
- else:
- add 30 to {thirst.%player%}
- wait 1 tick
- remove 1 bottle from the player
- if held item is a melon slice:
- add 5 to {thirst.%player%}
- command /lockdown:
- permission: guard
- trigger:
- broadcast "&cThe prison is now on lockdown!"
- loop all players:
- if loop-player has permission "prisoner":
- make console execute command "/warp prison2 %loop-player%"
- make console execute command "/blockdoors close"
- make console execute command "/cafdoor close"
- make console execute command "/outsidedoors close"
- command /thirst <text>:
- permission: guard
- trigger:
- if arg-1 is "on":
- send "&aThirst enabled"
- set {thirston.%player%} to true
- if arg-1 is "off":
- send "&cThirst disabled"
- set {thirston.%player%} to false
- every 1 second:
- loop all players:
- if time in "world" is between 8:00 and 8:01:
- broadcast "&cThe bank is now open"
- make console execute command "/fill -622 65 3795 -619 66 3795 air"
- delete {bankrobbed}
- wait 1 second
- if time in "world" is between 22:00 and 22:01:
- broadcast "&cThe bank is now closed"
- make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
- wait 1 second
- on region enter:
- if "%region%" contains "bank":
- if {bankrobbed} is not set:
- make console execute command "/lp user %player% parent add robbing"
- broadcast "&cThe bank is being robbed!"
- set {goldbroken} to 0
- set {bankrobbed} to true
- on right click on sign:
- if line 1 is "Speed":
- if {clicks.%player%} is less than 5:
- add 1 to {clicks.%player%}
- send "&8[&7%{clicks.%player%}%/5&8]"
- if {clicks.%player%} is 5:
- add 1 to {speed.%player%}
- set {clicks.%player%} to 0
- if line 1 is "Strength":
- if {clicks.%player%} is less than 5:
- add 1 to {clicks.%player%}
- send "&8[&7%{clicks.%player%}%/5&8]"
- if {clicks.%player%} is 5:
- add 1 to {strength.%player%}
- set {clicks.%player%} to 0
- on right click on bookshelf:
- if {clicks.%player%} is less than 5:
- add 1 to {clicks.%player%}
- send "&8[&7%{clicks.%player%}%/5&8]"
- if {clicks.%player%} is 5:
- add 1 to {smart.%player%}
- set {clicks.%player%} to 0
- on join:
- if {clicks.%player%} is not set:
- set {clicks.%player%} to 0
- every 1 second:
- loop all players:
- if {speed.%loop-player%} >= 1000:
- if {speed.%loop-player%} is less than 1500:
- apply speed 1 to loop-player for 2 seconds
- if {speed.%loop-player%} >= 1500:
- if {speed.%loop-player%} is less than 2001:
- apply speed 2 to loop-player for 2 seconds
- if {strength.%loop-player%} >= 1000:
- if {strength.%loop-player%} is less than 1500:
- apply strength 1 to loop-player for 2 seconds
- if {strength.%loop-player%} >= 1500:
- if {strength.%loop-player%} is less than 2001:
- apply strength 2 to loop-player for 2 seconds
- every 1 tick:
- loop all players:
- if {speed.%loop-player%} is greater than 2000:
- remove 1 from {speed.%loop-player%}
- if {strength.%loop-player%} is greater than 2000:
- remove 1 from {strength.%loop-player%}
- if {smart.%loop-player%} is greater than 2000:
- remove 1 from {smart.%loop-player%}
- on block break:
- if event-block is a gold block:
- if "%region at player%" contains "bank":
- if {bankrobbed} is true:
- cancel event
- if {goldbroken} is less than 5:
- add 1 to {goldbroken}
- give player a gold nugget named "Gold Coin"
- else:
- send "&cI'm afraid the cash is all gone now."
- every 1 tick:
- if {goldbroken} is 5:
- set {goldbroken} to 0
- broadcast "&cThe bank robbery has stopped"
- loop all players:
- if "%region at loop-player%" contains "bank":
- make console execute command "/lp user %loop-player% parent remove robbing"
- teleport loop-player to {bankdone}
- make console execute command "/fill -622 65 3795 -619 66 3795 iron_block"
- command /dontmesswiththis2:
- permission: *
- trigger:
- set {bankdone} to player's location
- command /bankrobberylist:
- permission: *
- trigger:
- send "%{bankrobbed}%"
- on region enter:
- if "%region%" contains "escapeplace":
- broadcast "&4&lWARNING! &c%player% has escaped the prison!"
- make console execute command "/lp user %player% parent add fugitive"
- make console execute command "/teleport %player% -587 53 3648"
- command /warn <player> <text>:
- permission: guard
- trigger:
- broadcast "&c&l[!] &4Warn &c[!] &7%arg-1% was issued a warning"
- broadcast "&cIssued by: &7%player%"
- broadcast "&cReason: &7%arg-2%"
- add "&r%now% : &r%arg-1% &cwas warned by &r%player% &cfor &r%arg-2%" to {history.%arg-1%::*}
- command /history <offline player>:
- permission: guard
- trigger:
- if {history.%arg-1%::*} is set:
- if {history.%arg-1%::6} is set:
- set {_his} to {history.%arg-1%::6}
- set {_his2} to {history.%arg-1%::5}
- set {_his3} to {history.%arg-1%::4}
- set {_his4} to {history.%arg-1%::3}
- set {_his5} to {history.%arg-1%::2}
- delete {history.%arg-1%::*}
- add {_his5} to {history.%arg-1%::*}
- add {_his4} to {history.%arg-1%::*}
- add {_his3} to {history.%arg-1%::*}
- add {_his2} to {history.%arg-1%::*}
- add {_his} to {history.%arg-1%::*}
- send "%{history.%arg-1%::1}%"
- send "%{history.%arg-1%::2}%"
- send "%{history.%arg-1%::3}%"
- send "%{history.%arg-1%::4}%"
- send "%{history.%arg-1%::5}%"
- else:
- send "%{history.%arg-1%::1}%"
- send "%{history.%arg-1%::2}%"
- send "%{history.%arg-1%::3}%"
- send "%{history.%arg-1%::4}%"
- send "%{history.%arg-1%::5}%"
- send "&cShowing the 5 most recent punishments"
- if {history.%arg-1%::*} is not set:
- send "&cThis player does not have a punishment history"
- command /statdoors <text>:
- permission: guard
- trigger:
- if arg-1 is "open":
- broadcast "&cOpening all gym and library doors."
- make console execute command "/fill -609 54 3598 -609 53 3599 air"
- make console execute command "/fill -630 54 3599 -630 53 3598 air"
- make console execute command "/fill -652 54 3599 -652 53 3598 air"
- if arg-1 is "close":
- broadcast "&cClosing all gym and library doors."
- make console execute command "/fill -609 54 3598 -609 53 3599 iron_bars"
- make console execute command "/fill -630 54 3599 -630 53 3598 iron_bars"
- make console execute command "/fill -652 54 3599 -652 53 3598 iron_bars"
- on block break:
- if "%region at player%" contains "respawn":
- if event-block is dark oak log:
- cancel event
- drop 1 dark oak log
- set event-block to bedrock
- wait 5 minutes
- set event-block to dark oak log
- if event-block is oak log:
- cancel event
- drop 1 oak log
- set event-block to bedrock
- wait 5 minutes
- set event-block to oak log
- if event-block is coal ore:
- cancel event
- drop 1 coal
- set event-block to bedrock
- wait 5 minutes
- set event-block to coal ore
- if event-block is iron ore:
- cancel event
- drop 1 iron ore
- set event-block to bedrock
- wait 5 minutes
- set event-block to iron ore
- if event-block is redstone ore:
- cancel event
- drop 3 redstone dust
- set event-block to bedrock
- wait 5 minutes
- set event-block to redstone ore
- if event-block is lapis ore:
- cancel event
- drop 5 lapis lazuli
- set event-block to bedrock
- wait 5 minutes
- set event-block to lapis ore
- if event-block is diamond ore:
- cancel event
- drop 1 diamond
- set event-block to bedrock
- wait 5 minutes
- set event-block to diamond ore
- on right click on parrot:
- send "&cBushie is watching you..." to player
- on region enter:
- if "%region%" contains "truck":
- broadcast "&4&lWARNING &c%player% is stealing a truck and will escape in 1 minute"
- wait 1 minute
- if "%region at player%" contains "truck":
- broadcast "&4&lWARNING! &c%player% has escaped the prison!"
- make console execute command "/lp user %player% parent add fugitive"
- make console execute command "/teleport %player% -587 53 3648"
- every 10 minutes:
- loop all players:
- if loop-player has permission "guard":
- set {_guard} to a random integer between 1 and 4
- if {_guard} is 1:
- send "&7Hey! You've been picked to do a job!" to loop-player
- wait 1 second
- send "&7Take this paper, deliver it to the police station, you have 5 minutes" to loop-player
- wait 2 seconds
- send "&7Oh, and you also get $100 in payment " to loop-player
- give loop-player a paper named "&cSome filework"
- wait 5 minutes
- if loop-player's inventory contains a paper named "&cSome filework":
- send "&cTime has run out!" to loop-player
- send "&cYou lose $100" to loop-player
- remove 100 from loop-player's balance
- stop
- if loop-player's inventory does not contain a paper named "&cSome filework":
- send "&aCongrats! You finished the job!" to loop-player
- send "&aYou gain $100" to loop-player
- add 100 to loop-player's balance
- command /forcetask <player>:
- trigger:
- if arg-1 has permission "guard":
- set {_guard} to a random integer between 1 and 4
- if {_guard} is 1:
- send "&7Hey! You've been picked to do a job!" to arg-1
- wait 1 second
- send "&7Take this paper, deliver it to the police station, you have 5 minutes" to arg-1
- wait 2 seconds
- send "&7Oh, and you also get $100 in payment " to arg-1
- give arg-1 a paper named "&cSome filework"
- wait 5 minutes
- if arg-1's inventory contains a paper named "&cSome filework":
- send "&cTime has run out!" to arg-1
- send "&cYou lose $100" to arg-1
- remove 100 from arg-1's balance
- stop
- if arg-1's inventory does not contain a paper named "&cSome filework":
- send "&aCongrats! You finished the job!" to arg-1
- send "&aYou gain $100" to arg-1
- add 100 to arg-1's balance
- on right click on sign:
- if line 1 contains "Drive":
- if held item's name contains "Car key":
- make console execute command "/tp %player% -318 70 3550.8"
- command /minecraft:me:
- trigger:
- send "&cPlease do not try to bypass mutes."
- command /me:
- trigger:
- send "&cPlease do not try to bypass mutes."
- on respawn:
- if player does not have permission "guard":
- make console execute command "/jail %player% sc 3m"
- every 1 tick:
- loop all players:
- if loop-player's inventory contains a lever:
- if loop-player does not have permission "guard":
- if {smart.%loop-player%} is less than 1000:
- remove 1 lever from loop-player's inventory
- send "&cYour intelligence needs to be 1000 to pick up levers." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement