Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SpaceScape
- command /craft:
- trigger:
- open chest inventory named "Crafting" to player
- on inventory click:
- name of event-inventory is "Crafting"
- send "test" to player
- on join:
- wait 1 second
- execute console command "speed walk %{speed::%uuid of player%}% %player%"
- execute console command "effect give %player% minecraft:strength 100000 %rounded down ({strength::%uuid of player%} / 10) - 1% true"
- on respawn:
- wait 1 second
- execute console command "skript:spawn2 %player%"
- execute console command "speed walk %{speed::%uuid of player%}% %player%"
- execute console command "effect give %player% minecraft:strength 100000 %rounded down ({strength::%uuid of player%} / 10) - 1% true"
- on break of iron bar:
- player doesn't have permission "ironbar.sk"
- wait 10 seconds
- execute console command "execute in minecraft:the_end run setblock %rounded down block's x coordinate% %rounded down block's y coordinate% %rounded down block's z coordinate% iron_bars[north=true,south=true]"
- on rightclick:
- target block's x coordinate is 849.5
- target block's y coordinate is 77.5
- target block's z coordinate is -3285.5
- execute console command "execute in minecraft:the_end run fill 845 77 -3283 845 76 -3283 air"
- wait 15 seconds
- execute console command "execute in minecraft:the_end run fill 845 77 -3283 845 76 -3283 cyan_terracotta"
- command /resettime:
- permission: resettime.sk
- permission message: &cSorry, Prisoner!
- trigger:
- set {mhour} to 6
- set {hour} to 6
- set {ap} to "AM"
- set {minute} to 0
- clear {activity}
- command /clearc:
- permission: clearc.sk
- permission message: &cSorry, Prisoner!
- trigger:
- clear {c::*}
- clear {ct}
- loop all players:
- loop-player's z coordinate > -3305:
- {c::%uuid of loop-player%} is not set
- loop-player's y coordinate > 49
- loop-player's x coordinate > 871
- loop-player's x coordinate < 875
- loop-player's y coordinate < 53
- loop-player's z coordinate < -3299
- execute console command "execute in minecraft:the_end run tp %loop-player% 873 50 -3307 90 0"
- every 10 minutes:
- execute console command "a Buy the new Prisoner+ rank now with /buy!"
- on drop:
- player does not have permission "bypassIllegalDrop.sk"
- item's lore contains "Illegal":
- cancel event
- send "&cIllegal items may not be dropped!" to the player
- item is a dye:
- cancel event
- send "&cDyes and Punching Gloves may not be dropped!" to the player
- item is a banner:
- cancel event
- send "&cYou may not drop that!" to the player
- on mine:
- player's gamemode is adventure:
- event-block is stone brick wall:
- cancel event
- damage player's tool by 1
- set block to water
- wait 10 seconds
- execute console command "execute in minecraft:the_end run setblock 13 142 -33 minecraft:stone_brick_wall[waterlogged=true,west=true,east=true]"
- event-block is granite:
- cancel event
- damage player's tool by 1
- set block to air
- wait 10 seconds
- set block to granite
- on craft:
- player doesn't have permission "craft.sk"
- cancel event
- send "&cNormal crafting is not allowed!"
- every 0.5 seconds:
- loop all players:
- if {minute} < 10:
- if {activity} is set:
- show an actionbar from "&6%{hour}%:0%{minute}% %{ap}% &8/ &6%{mhour}%:0%{minute}%: &8%{activity}%" to loop-player
- else:
- show an actionbar from "&6%{hour}%:0%{minute}% %{ap}% &8/ &6%{mhour}%:0%{minute}%" to loop-player
- else:
- if {activity} is set:
- show an actionbar from "&6%{hour}%:%{minute}% %{ap}% &8/ &6%{mhour}%:%{minute}%: &8%{activity}%" to loop-player
- else:
- show an actionbar from "&6%{hour}%:%{minute}% %{ap}% &8/ &6%{mhour}%:%{minute}%" to loop-player
- every 1 second:
- {mhour} < 16:
- loop all players:
- loop-player does not have permission "bypassGym.sk"
- loop-player's x coordinate > 61
- loop-player's y coordinate < 160
- loop-player's z coordinate > -23
- loop-player's x coordinate < 77
- loop-player's y coordinate > 155
- loop-player's z coordinate < -3
- execute console command "execute in minecraft:the_end run tp %loop-player% 63 152 -5"
- {mhour} >= 18:
- loop all players:
- loop-player does not have permission "bypassGym.sk"
- loop-player's x coordinate > 61
- loop-player's y coordinate < 160
- loop-player's z coordinate > -23
- loop-player's x coordinate < 77
- loop-player's y coordinate > 155
- loop-player's z coordinate < -3
- execute console command "execute in minecraft:the_end run tp %loop-player% 63 152 -5"
- loop all players:
- loop-player's z coordinate > -3305:
- {c::%uuid of loop-player%} is not set
- loop-player's y coordinate > 49
- loop-player's x coordinate > 871
- loop-player's x coordinate < 875
- loop-player's y coordinate < 53
- loop-player's z coordinate < -3299
- set {c::%uuid of loop-player%} to true
- add 1 to {ct}
- {ct} > 1:
- execute console command "clearc"
- exit
- else:
- {c::%uuid of loop-player%} is true:
- clear {c::%uuid of loop-player%}
- {ct} > 0
- remove 1 from {ct}
- loop all players:
- loop all items in the inventory of loop-player:
- loop-player does not have permission "arrow.sk"
- loop-value-2 is Arrow
- remove loop-value-2 from loop-player's inventory
- {b::%uuid of loop-player%} != loop-player's balance:
- execute console command "updatesidebar %loop-player% yes"
- set {b::%uuid of loop-player%} to loop-player's balance
- if loop-player's world is "earth":
- if loop-player's gamemode is adventure:
- if {escaped::%loop-player%} is not set:
- if {rcells::%loop-player%} is set:
- execute console command "as unrent %{rcells::%loop-player%}%"
- clear {rcells::%loop-player%}
- set {escaped::%loop-player%} to true
- execute console command "a %loop-player% has just escaped!"
- execute console command "scoreboard players add %loop-player% Escapes 1"
- clear loop-player's inventory
- add 1 to {escapes::%uuid of loop-player%}
- execute console command "updatesidebar %loop-player% no"
- {escapes::%uuid of loop-player%} >= 15:
- wait 5 seconds
- execute console command "minecraft:give %loop-player% minecraft:light_blue_banner{display:{Name:""{\""text\"":\""Light Blue Keycard\"",\""italic\"":false,\""color\"":\""aqua\""}""}}"
- loop-player's group contains "Helper":
- execute console command "pex user %loop-player% add essentials.kits.escapee"
- loop-player's group contains "Moderator":
- execute console command "pex user %loop-player% add essentials.kits.escapee"
- loop-player's group contains "Prisoner+":
- execute console command "pex user %loop-player% add essentials.kits.escapee"
- loop-player's group does not contain "Escapee"
- loop-player's group does not contain "Prisoner+"
- loop-player's group does not contain "Helper"
- loop-player's group does not contain "Moderator"
- execute console command "pex user %loop-player% group add Escapee"
- else:
- clear {escaped::%loop-player%}
- if {restartvotes} = 8:
- set {restartvotes} to 0
- broadcast "&1&lServer restarting in..."
- broadcast "&1&l3"
- wait 1 second
- broadcast "&1&l2"
- wait 1 second
- broadcast "&1&l1"
- execute console command "stop"
- every 2 seconds:
- if {mhour} < 6:
- add 5 to {minute}
- else if {mhour} > 22:
- add 5 to {minute}
- else:
- add 1 to {minute}
- if {minute} >= 60:
- set {minute} to 0
- add 1 to {hour}
- add 1 to {mhour}
- if {mhour} = 13:
- set {hour} to 1
- if {mhour} = 12:
- set {ap} to "PM"
- if {mhour} = 24:
- set {mhour} to 0
- set {ap} to "AM"
- if {mhour} = 1:
- set {hour} to 1
- if {hour} = 4:
- if {ap} is "PM":
- if {minute} = 0:
- set {activity} to "Gym"
- execute console command "title @a subtitle {""text"": ""It's 4 PM, time to go to the Gym!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Gym"",""color"":""blue""}"
- execute console command "execute in minecraft:the_end run fill 65 154 -6 65 155 -4 air"
- if {hour} = 9:
- if {ap} is "PM":
- if {minute} = 0:
- set {activity} to "Head to cells"
- execute console command "a WARNING: If you are found outside a cell between 10 PM and 6 AM, you WILL be killed!"
- execute console command "title @a subtitle {""text"": ""It's 9 PM, start heading to your cells!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cells"",""color"":""blue""}"
- if {hour} = 6:
- if {ap} is "PM":
- if {minute} = 0:
- execute console command "execute in minecraft:the_end run fill 65 154 -6 65 155 -4 nether_brick_fence[north=true,south=true]"
- set {activity} to "Showers"
- execute console command "title @a subtitle {""text"": ""6 PM, It's shower time!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Showers"",""color"":""blue""}"
- wait 2 minutes
- clear {activity}
- if {hour} = 11:
- if {ap} is "PM":
- if {minute} = 0:
- execute console command "pex group default remove essentials.spawn"
- execute console command "pex group default remove spawn.sk"
- loop all players:
- loop-player does not have permission "cellSpawnBypass.sk"
- execute console command "pex user %loop-player% remove spawn.sk"
- if {hour} = 10:
- if {ap} is "PM":
- if {minute} = 0:
- set {activity} to "Sleep Time"
- execute console command "execute in minecraft:the_end run setblock 76 148 -33 air"
- execute console command "title @a subtitle {""text"": ""10 PM, the cells are closing."",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cells"",""color"":""blue""}"
- if {hour} = 10:
- if {ap} is "AM":
- if {minute} = 0:
- loop all players:
- loop-player's group contains "Prisoner+":
- give loop-player 5 gold ingots
- send "&6The prison has gifted you 5 gold bars! Spend them wisely!" to loop-player
- else:
- give loop-player 2 gold ingots
- send "&6The prison has gifted you 2 gold bars! Spend them wisely!" to loop-player
- if {hour} = 6:
- if {ap} is "AM":
- if {minute} = 0:
- clear {activity}
- execute console command "execute in minecraft:the_end run setblock 76 148 -33 redstone_block"
- execute console command "title @a subtitle {""text"": ""6 AM, Cells Opening."",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cells"",""color"":""blue""}"
- execute console command "pex group default add spawn.sk"
- wait 1 second
- loop all players:
- loop-player does not have permission "cellSpawnBypass.sk"
- execute console command "pex user %loop-player% remove -spawn.sk"
- execute console command "pex user %loop-player% add spawn.sk"
- if {hour} = 12:
- if {ap} is "PM":
- if {minute} = 0:
- set {activity} to "Lunch"
- execute console command "title @a subtitle {""text"": ""12 PM, It's time for lunch!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cafetaria"",""color"":""blue""}"
- wait 5 seconds
- execute console command "minecraft:give @a minecraft:baked_potato 4"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 air"
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 minecraft:redstone_block"
- wait 2 minutes
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 air"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 minecraft:white_stained_glass_pane[south=true,north=true]"
- clear {activity}
- if {hour} = 8:
- if {ap} is "AM":
- if {minute} = 0:
- set {activity} to "Breakfast"
- execute console command "title @a subtitle {""text"": ""8 AM, time for breakfast!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cafetaria"",""color"":""blue""}"
- wait 5 seconds
- execute console command "minecraft:give @a minecraft:bread 5"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 air"
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 minecraft:redstone_block"
- wait 2 minutes
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 air"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 minecraft:white_stained_glass_pane[south=true,north=true]"
- clear {activity}
- if {hour} = 7:
- if {ap} is "PM":
- if {minute} = 0:
- set {activity} to "Dinner"
- execute console command "title @a subtitle {""text"": ""7 PM, dinner time!"",""color"":""aqua""}"
- execute console command "title @a title {""text"": ""Cafetaria"",""color"":""blue""}"
- wait 5 seconds
- execute console command "minecraft:give @a minecraft:cooked_beef 4"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 air"
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 minecraft:redstone_block"
- wait 2 minutes
- execute console command "execute in minecraft:the_end run fill -62 156 -44 -62 156 -32 air"
- execute console command "execute in minecraft:the_end run fill -61 152 -33 -61 152 -43 minecraft:white_stained_glass_pane[south=true,north=true]"
- clear {activity}
- on mine:
- {iron::%uuid of player%} is not set:
- set {iron::%uuid of player%} to 0
- player's gamemode is adventure
- if event-block is coal ore:
- cancel event
- add 2 to player's balance
- damage player's tool by 1
- if event-block is iron ore:
- cancel event
- add 7 to player's balance
- damage player's tool by 1
- add 1 to {iron::%uuid of player%}
- if {iron::%uuid of player%} is 100:
- set {iron::%uuid of player%} to 0
- give 1 iron ingot to player
- if event-block is gold ore:
- cancel event
- add 14 to player's balance
- damage player's tool by 1
- if event-block is diamond ore:
- cancel event
- add 20 to player's balance
- damage player's tool by 1
- on first join:
- set {_p} to player
- set {_r} to "Curse of Vanishing"
- set {_i} to a leather helmet
- enchant {_i} with ({_r} parsed as enchantment)
- set {_p}'s helmet to {_i}
- set {_d} to a leather leggings
- enchant {_d} with ({_r} parsed as enchantment)
- set {_p}'s leggings to {_d}
- set {_x} to a leather chestplate
- enchant {_x} with ({_r} parsed as enchantment)
- set {_p}'s chestplate to {_x}
- set {_k} to a leather boots
- enchant {_k} with ({_r} parsed as enchantment)
- set {_p}'s boots to {_k}
- dye {_p}'s helmet orange
- dye {_p}'s leggings orange
- dye {_p}'s chestplate orange
- dye {_p}'s boots orange
- player's world is "earth":
- player does not have permission "spawnBypass.sk":
- wait 0.5 seconds
- execute console command "sudo %player% spawn"
- execute console command "scoreboard players remove %player% Escapes 1"
- on death:
- make victim unglow
- command /a [<text>]:
- permission: announce.sk
- permission message: &cSorry, Prisoner!
- trigger:
- if arg is set:
- set {_a} to arg
- broadcast "&1&lSpaceScape &8» &b%{_a}%"
- else:
- send "&bUsage » /a (message)"
- command /poll [<text>]:
- permission: poll.sk
- permission message: &4Sorry, prisoner!
- trigger:
- if arg-1 is set:
- if {current::poll} is true:
- if {voted::%player%} is false:
- if arg is "no":
- add 1 to {no::poll}
- set {voted::%player%} to true
- else if arg is "yes":
- add 1 to {yes::poll}
- set {voted::%player%} to true
- else:
- send "&cInvalid Answer!"
- else:
- send "&cYou've already voted!"
- else:
- send "&cThere is no current poll!"
- else:
- if {current::poll} is true:
- send "&bCurrent Poll: &1%{poll}% &bYes Votes: &1%{yes::poll}% /poll yes. &bNo Votes: &1%{no::poll}% /poll no."
- else:
- send "&cThere is no poll currently!"
- command /pollstart <text>:
- permission: pollstart.sk
- permission message: &cNo permissions!
- trigger:
- if {current::poll} is true:
- send "&cThere is already a current poll!"
- else:
- loop all players:
- set {voted::%loop-player%} to false
- set {current::poll} to true
- set {yes::poll} to 0
- set {no::poll} to 0
- set {poll} to arg
- broadcast "&1&lSpaceScape &8» &b%player% has created a poll! %arg%. 5 minutes left!"
- wait 5 minutes
- set {current::poll} to false
- if {yes::poll} > {no::poll}:
- broadcast "&1&lSpaceScape &8» &bMost People Voted For Yes! The Poll Has Ended!"
- if {no::poll} > {yes::poll}:
- broadcast "&1&lSpaceScape &8» &bMost People Voted For No! The Poll Has Ended"
- if {no::poll} = {yes::poll}:
- broadcast "&1&lSpaceScape &8» &bThe vote is a tie! This still means the poll won't be added!"
- command /gangs:
- trigger:
- send "&4&lPotterz copied it from me without asking so I am deleting it -DeltaRays (bad Potterz don't do again)%nl%You won't lose your already made clans you will just not be able to modify them"
- command /pollstop:
- permission: pollstop.sk
- permission message: &4No permissions!
- trigger:
- if {current::poll} is false:
- send "&cThere is no poll currently!"
- else:
- set {current::poll} to false
- if {yes::poll} > {no::poll}:
- broadcast "&1&lSpaceScape &8» &bMost People Voted For Yes! The Poll Has Ended!"
- if {no::poll} > {yes::poll}:
- broadcast "&1&lSpaceScape &8» &bMost People Voted For No! The Poll Has Ended"
- if {no::poll} = {yes::poll}:
- broadcast "&1&lSpaceScape &8» &bThe vote is a tie! This still means the poll won't be added!"
- command /target [<player>]:
- permission: guard.sk
- permission message: &cYou do not have permission!
- trigger:
- make arg glow
- broadcast "&1&lSpaceScape &8» &bGuards! %arg% has been targeted! Go get them!"
- command /chatmute:
- permission: chatmute.sk
- permission message: &cInsufficient Permissions!
- trigger:
- if {chatmute} is true:
- set {chatmute} to false
- broadcast "&1&lSpaceScape &8» &bChat has been unmuted!"
- else:
- set {chatmute} to true
- broadcast "&1&lSpaceScape &8» &bChat has been muted!"
- on chat:
- if {chatmute} is true:
- if player has permission "chatmutebypass.sk":
- cancel event
- broadcast "%player's display name%&f: %message%"
- else:
- cancel event
- send "&7You may not speak while chat is muted!"
- command /inter [<text>]:
- aliases: /in
- permission: intercom.sk
- permission message: &cInsufficient Permissions!
- trigger:
- if arg is set:
- broadcast "&1&lIntercom &8» &b%arg%"
- else:
- send "&bUsage » /inter (or /in) (message)"
- command /wanted [<player>] [<number>]:
- aliases: /bounty
- trigger:
- if arg-1 is set:
- if player has permission "wanted.sk":
- if arg-2 is set:
- if arg-1 is "%player%":
- send "&cYou may not bounty yourself!"
- if {wanted::players::*} contains "%arg-1%":
- send "&cThat Player Is Already Wanted!"
- else:
- if arg-2 < 151:
- if arg-2 > 0:
- broadcast "&1&lSpaceScape &8» &b%arg-1% is now a wanted player! Kill them for $%arg-2%!"
- set {wanted::%uuid of arg-1%} to true
- set {wanted::money::%uuid of arg-1%} to arg-2
- add arg-1 to {wanted::players::*}
- else:
- send "&cThe money must be more than 0!"
- else:
- send "&cThe Money Must Not Be Over 150!"
- else:
- send "&bUsage » /wanted (player) (amount of money)"
- else:
- send "&cWanted Players: %{wanted::players::*}%"
- on death of player:
- if attacker is a player:
- if {wanted::%uuid of victim%} is true:
- execute console command "eco give %attacker% %{wanted::money::%uuid of victim%}%"
- set {wanted::money::%uuid of victim%} to 0
- set {wanted::%uuid of victim%} to false
- remove player from {wanted::players::*}
- command /wantedclear:
- permission: wantedclear.sk
- trigger:
- delete {wanted::players::*}
- loop all players:
- if {wanted::%uuid of loop-player%} is true:
- set {wanted::%uuid of loop-player%} to false
- set {wanted::money::%uuid of loop-player%} to 0
- command /s:
- trigger:
- if {cooldown::%uuid of player%} <= 0:
- broadcast "&1&lSpaceScape &8» &b%player% surrenders! Do not attack!"
- set {cooldown::%uuid of player%} to 120
- while {cooldown::%uuid of player%} > 0:
- wait 1 second
- remove 1 from {cooldown::%uuid of player%}
- else if {cooldown::%uuid of player%} is not set:
- broadcast "&1&lSpaceScape &8» &b%player% surrenders! Do not attack!"
- set {cooldown::%uuid of player%} to 120
- while {cooldown::%uuid of player%} > 0:
- wait 1 second
- remove 1 from {cooldown::%uuid of player%}
- else:
- send "&cCooldown! (%{cooldown::%uuid of player%}% seconds)"
- command /switch [<player>]:
- permission: switch.sk
- permission message: &cSorry, prisoner!
- trigger:
- if arg-1 is not set:
- if {guard::%uuid of player%} is not set:
- set {guard::%uuid of player%} to true
- execute console command "pex user %player% group add Guard"
- execute console command "pex user %player% remove switch.sk"
- else:
- clear {guard::%uuid of player%}
- execute console command "pex user %player% group remove Guard"
- execute console command "spawn %player%"
- execute console command "pex user %player% add switch.sk"
- clear player's inventory
- else:
- if {guard::%uuid of arg%} is not set:
- set {guard::%uuid of arg%} to true
- execute console command "pex user %arg% group add Guard"
- execute console command "pex user %arg% remove switch.sk"
- else:
- clear {guard::%uuid of arg%}
- execute console command "pex user %arg% group remove Guard"
- execute console command "spawn %arg%"
- execute console command "pex user %arg% add switch.sk"
- clear arg-1's inventory
- on death:
- attacker is a player
- victim is a player
- victim does not have permission "lose.sk"
- attacker has permission "lose.sk"
- loop victim's inventory:
- if loop-value's lore contains "Illegal":
- add loop-value to {_illegal::*}
- give {_illegal::*} to attacker
- remove {_illegal::*} from victim's inventory
- on damage:
- attacker's tool is a wooden pickaxe:
- cancel event
- send "&cPvP with a pickaxe is not allowed!" to the attacker
- attacker's tool is a stone pickaxe:
- cancel event
- send "&cPvP with a pickaxe is not allowed!" to the attacker
- attacker's tool is an iron pickaxe:
- cancel event
- send "&cPvP with a pickaxe is not allowed!" to the attacker
- attacker's tool is a diamond pickaxe:
- cancel event
- send "&cPvP with a pickaxe is not allowed!" to the attacker
- on left click with stick:
- if player's tool's name contains "Potterz's Wand":
- loop {autodoor::*}:
- set block at loop-value to air
- on right click with stick:
- if player's tool's name contains "Potterz's Wand":
- loop {autodoor::*}:
- set block at loop-value to chiseled quartz block
- on left click with golden axe:
- cancel event
- add location of clicked block to {autodoor::*}
- command /clearad:
- trigger:
- delete {autodoor::*}
- command /adlist:
- trigger:
- send "%{autodoor::*}%"
- command /addrcell:
- permission: ar.sk
- permission message: &cSorry, Prisoner!
- trigger:
- if targeted block is sign:
- line 2 of targeted block contains "cell0":
- set {rcells::%line 3 of targeted block%} to line 2 of targeted block
- send {rcells::*}
- command /listrcells:
- trigger:
- send {rcells::%player%}
- command /voterestart:
- trigger:
- if {vote::%uuid of player%} is true:
- send "&cYou have already voted!"
- else:
- set {vote::%uuid of player%} to true
- add 1 to {restartvotes}
- broadcast "&1%player% voted to restart! (%{restartvotes}%/8)"
- every 5 minutes:
- if {restartvotes} is not 0:
- loop all players:
- set {vote::%uuid of loop-player%} to false
- set {restartvotes} to 0
- broadcast "&cRestart Canceled."
- loop all players:
- {speed::%uuid of loop-player%} > 1:
- remove 0.1 from {speed::%uuid of loop-player%}
- {speed::%uuid of loop-player%} < 1:
- set {speed::%uuid of loop-player%} to 1
- execute console command "speed walk %{speed::%uuid of loop-player%}% %loop-player%"
- {strength::%uuid of loop-player%} > 1:
- remove 5 from {strength::%uuid of loop-player%}
- {strength::%uuid of loop-player%} < 1:
- set {strength::%uuid of loop-player%} to 1
- execute console command "effect clear %loop-player%"
- execute console command "effect give %loop-player% minecraft:strength 100000 %rounded down ({strength::%uuid of loop-player%} / 10) - 1% true"
- execute console command "updatesidebar %loop-player%"
- command /addrcell2 <region> <player>:
- permission: ar2.sk
- permission message: &cSorry, prisoner!
- trigger:
- set {rcells::%arg-2%} to arg-1
- send {rcells::%arg-2%} to arg-2
- command /untarget <player>:
- permission: untarget.sk
- permission message: Sorry, Prisoner!
- trigger:
- make arg-1 unglow
- command /prefixcolor <text>:
- permission: prefixcolor+.sk
- permission message: &cYou need Prisoner+ for this command.
- trigger:
- if arg-1 = "white":
- set {_color} to "&f"
- else if arg-1 = "black":
- set {_color} to "&0"
- else if arg-1 = "dark_blue":
- set {_color} to "&1"
- else if arg-1 = "dark_green":
- set {_color} to "&2"
- else if arg-1 = "dark_aqua":
- set {_color} to "&3"
- else if arg-1 = "dark_red":
- set {_color} to "&4"
- else if arg-1 = "dark_purple":
- set {_color} to "&5"
- else if arg-1 = "gold":
- set {_color} to "&6"
- else if arg-1 = "gray":
- set {_color} to "&7"
- else if arg-1 = "grey":
- set {_color} to "&7"
- else if arg-1 = "dark_gray":
- set {_color} to "&8"
- else if arg-1 = "dark_grey":
- set {_color} to "&8"
- else if arg-1 = "blue":
- set {_color} to "&9"
- else if arg-1 = "green":
- set {_color} to "&a"
- else if arg-1 = "aqua":
- set {_color} to "&b"
- else if arg-1 = "red":
- set {_color} to "&c"
- else if arg-1 = "light_purple":
- set {_color} to "&d"
- else if arg-1 = "yellow":
- set {_color} to "&e"
- else:
- send "&cUnknown color!"
- if {_color} is set:
- execute console command "pex user %player% prefix ""&6&lPrisoner%{_color}%&l+ &f&l> &r"""
- on step on dark gray carpet:
- rounded down player's x coordinate is 73:
- rounded down player's y coordinate is 157:
- rounded down player's z coordinate is -19:
- execute console command "execute in minecraft:the_end run tp %player% 72 157.6250 -19"
- execute console command "addspeed %player%"
- rounded down player's x coordinate is 65:
- rounded down player's y coordinate is 157:
- rounded down player's z coordinate is -19:
- execute console command "execute in minecraft:the_end run tp %player% 66 157.6250 -19"
- execute console command "addspeed %player%"
- rounded down player's x coordinate is 71:
- rounded down player's y coordinate is 175:
- rounded down player's z coordinate is -13:
- execute console command "execute in minecraft:the_end run tp %player% 70 157.6250 -13"
- execute console command "addspeed %player%"
- command /resetspeed [<player>]:
- permission: resetspeed.sk
- permission message: &cSorry, Prisoner!
- trigger:
- arg-1 is not set:
- execute console command "speed walk 1 %player%"
- set {speed::%uuid of player%} to 1
- send "&aYour speed has been reset"
- execute console command "updatesidebar %player%"
- else:
- execute console command "speed walk 1 %arg-1%"
- set {speed::%uuid of arg-1%} to 1
- send "&a%arg-1%'s speed has been reset"
- execute console command "updatesidebar %arg-1%"
- command /addspeed [<player>]:
- permission: setspeed.sk
- permission message: &cSorry, Prisoner!
- trigger:
- arg-1 is not set:
- {speed::%uuid of player%} is not set:
- set {speed::%uuid of player%} to 1
- if {speed::%uuid of player%} < 4:
- add 0.005 to {speed::%uuid of player%}
- execute console command "speed walk %{speed::%uuid of player%}% %player%"
- send "&aSpeed set to %{speed::%uuid of player%} * 100 - 99%"
- else:
- send "&cYou've reached maximum speed!"
- execute console command "updatesidebar %player% yes"
- else:
- {speed::%uuid of arg-1%} is not set:
- set {speed::%uuid of arg-1%} to 1
- if {speed::%uuid of arg-1%} < 4:
- add 0.005 to {speed::%uuid of arg-1%}
- execute console command "speed walk %{speed::%uuid of arg-1%}% %arg-1%"
- send "&aSpeed of %arg-1% set to %{speed::%uuid of arg-1%} * 100 - 99%"
- else:
- send "&c%arg-1% has reached maximum speed!"
- send "&cYou've reached maximum speed!" to arg-1
- execute console command "updatesidebar %arg-1% yes"
- command /myspeed [<offline player>]:
- trigger:
- arg-1 is not set:
- {speed::%uuid of player%} is not set:
- set {speed::%uuid of player%} to 1
- send "&aYour speed is %{speed::%uuid of player%} * 100 - 99%"
- else:
- {speed::%uuid of arg-1%} is not set:
- set {speed::%uuid of arg-1%} to 1
- send "&a%arg-1%'s speed is %{speed::%uuid of arg-1%} * 100 - 99%"
- on join:
- {speed::%uuid of player%} is not set:
- set {speed::%uuid of player%} to 1
- {escapes::%uuid of player%} is not set:
- set {escapes::%uuid of player%} to 0
- {strength::%uuid of player%} is not set:
- set {strength::%uuid of player%} to 1
- set {players} to 0
- loop all players:
- add 1 to {players}
- loop all players:
- execute console command "updatesidebar %loop-player%"
- on quit:
- wait 0.5 seconds
- set {players} to 0
- loop all players:
- add 1 to {players}
- loop all players:
- execute console command "updatesidebar %loop-player%"
- command /updatesidebar <player> [<boolean>]:
- permission: updatesidebar.sk
- permission message: &cSorry, Prisoner!
- trigger:
- arg-2 is not set:
- wait 1 second
- else if arg-2 is false:
- wait 1 second
- else if arg-2 is no:
- wait 1 second
- wipe arg-1's sidebar
- set name of sidebar of arg-1 to "&1&lWelcome to SpaceScape!"
- set score "&8-----------------------" in sidebar of arg-1 to 13
- set score "&b%arg-1%" in sidebar of arg-1 to 12
- set score "&bPlayers: &a%{players}%" in sidebar of arg-1 to 11
- set score " " in sidebar of arg-1 to 10
- set score "&bYour Speed: &a%{speed::%uuid of arg-1%} * 100 - 99%" in sidebar of arg-1 to 9
- set score "&bYour Strength: &a%{strength::%uuid of arg-1%}%" in sidebar of arg-1 to 8
- set score "" in sidebar of arg-1 to 7
- set score "&bJoin our Discord:" in sidebar of arg-1 to 6
- set score "&ahttps://discord.gg/KsujHzG" in sidebar of arg-1 to 5
- set score " " in sidebar of arg-1 to 4
- set score "&bYour Escapes: &a%{escapes::%uuid of arg-1%}%" in sidebar of arg-1 to 3
- set score "&bYour Balance: &a%balance of arg-1%" in sidebar of arg-1 to 2
- set score "&r&8-----------------------" in sidebar of arg-1 to 1
- on mine of red wool:
- cancel event
- {strength::%uuid of player%} < 50:
- add 0.2 to {strength::%uuid of player%}
- execute console command "effect clear %player%"
- execute console command "effect give %player% minecraft:strength 100000 %rounded down ({strength::%uuid of player%} / 10) - 1% true"
- execute console command "updatesidebar %player% yes"
- else:
- send "&cYou've reached maximum strength!"
- command /resetescapes [<offline player>]:
- permission: resetescapes.sk
- permission message: Sorry, Prisoner!
- trigger:
- arg-1 is set:
- arg-1 is "*":
- loop {escapes::*}:
- set {escapes::%loop-index%} to 0
- execute console command "scoreboard players reset * Escapes"
- loop all players:
- execute console command "updatesidebar %loop-player% yes"
- send "&aEveryone's escapes have been reset!"
- else:
- set {escapes::%uuid of arg-1%} to 0
- execute console command "scoreboard players reset %arg-1% Escapes"
- execute console command "updatesidebar %arg-1% yes"
- send "&a%arg-1%'s escapes have been reset!"
- else:
- set {escapes::%uuid of player%} to 0
- execute console command "scoreboard players reset %player% Escapes"
- execute console command "updatesidebar %player% yes"
- send "&aYour escapes have been reset!"
- command /letdrop [<player>]:
- permission: letdrop.sk
- permission message: &cSorry, Prisoner!
- trigger:
- arg-1 is set:
- execute console command "pex user %arg-1% add bypassIllegalDrop.sk"
- send "&a%arg-1% can now drop illegal items for 10 seconds"
- wait 10 seconds
- execute console command "pex user %arg-1% remove bypassIllegalDrop.sk"
- send "&a%arg-1% can no longer drop illegal items"
- else:
- send "&cUsage: /letdrop (player)"
- on death:
- execute console command "eco take %victim% %victim's balance / 10%"
- victim's balance < 0:
- set victim's balance to 0
- execute console command "updatesidebar %victim% yes"
- command /clearwait:
- permission: clearwait.sk
- permission message: Sorry, Prisoner!
- trigger:
- loop {wait::*}:
- clear {wait::%loop-index%}
- on chat:
- replace all "@" in message with " "
- command /minecraft:me [<text>]:
- aliases: /me
- trigger:
- send "nerd"
- command /me [<text>]:
- aliases: /me
- trigger:
- send "nerd"
- command /eval <text>:
- Trigger:
- "%sender%" = "console" or "DeltaRays"
- evaluate arg
- send "evaluating..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement