Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Scenarios all into 1 pastebin.
- command /skyhigh-enable:
- description: Enabled the skyhigh scenario.
- usage: /skyhigh-enable
- permission: skript.skyhigh.enable
- trigger:
- set {SkyHigh} to "true"
- broadcast "&9[SkyHigh] &bHope you like heights..."
- command /skyhigh-disable:
- description: Disabled the skyhigh scenario.
- usage: /skyhigh-disable
- permission: skript.skyhigh.disable
- trigger:
- set {SkyHigh} to "false"
- broadcast "&9[SkyHigh] &bThe ground is safe, for now..."
- command /skyhigh:
- description: Gives an explanation of the scenario.
- usage: /skyhigh
- trigger:
- message "&b-----------------------------------------------------" to command sender
- message " " to command sender
- message "&9[Skyhigh] &b- After 45 minutes, any player below Y-101 will begin to take half a heart of damage every 30 seconds." to command sender
- message " " to command sender
- message "&bYou must use this 45 minutes wisely to make preparations for surviving the remainder of the game in the sky." to command sender
- message " " to command sender
- message "&bHint: Cobblestone and snow generators are going to be very important." to command sender
- message " " to command sender
- message "&bBe sure your tower is near enough to 0,0 to reach the sky meetup in reasonable time and have encounters with other teams." to command sender
- message " " to command sender
- message "&bYou will be forced to head to meetup by means of ground travel if necessary, another reason why having a way to generate blocks and build bridges is important." to command sender
- message " " to command sender
- message "&b-----------------------------------------------------" to command sender
- every 30 seconds:
- loop all players:
- {SkyHigh} is "true"
- loop-player is in "world":
- loop-player's y-coordinate is between 0 and 100
- damage the loop-player by 0.5 hearts
- Options:
- prefix: &7[&9Rewarding Longshots&7]&r
- N: &3&l%command sender%
- command /longshots <text>:
- permission: skript.op
- trigger:
- if arg 1 is equal to "enable":
- if {longshot} is true:
- message "{@prefix} Already Enabled!"
- else:
- set {longshot} to true
- broadcast "{@prefix} Enabled by {@N}"
- else if arg 1 is equal to "disable":
- if {longshot} is false:
- broadcast "{@prefix} Already Disabled!"
- else:
- set {longshot} to false
- broadcast "{@prefix} Disabled by {@N}
- else if arg 1 is equal to "toggle":
- if {longshot} is false:
- set {longshot} to true
- broadcast "{@prefix} Enabled by {@N}
- else:
- set {longshot} to false
- broadcast "{@prefix} Disabled by {@N}
- on damage of player:
- {longshot} is true
- projectile exists
- projectile is an arrow
- set {_dist} to the distance between the victim and the attacker
- if {_dist} is between 30 and 49:
- Broadcast "{@prefix} %attacker% just got a longshot of %{_dist}% metres!"
- execute console command "/give %attacker% iron_ingot 1"
- else if {_dist} is between 50 and 99:
- Broadcast "{@prefix} %attacker% just got a longshot of %{_dist}% metres!"
- execute console command "/give %attacker% iron_ingot 1"
- execute console command "/give %attacker% gold_ingot 1"
- else if {_dist} is between 100 and 199:
- Broadcast "{@prefix} %attacker% just got a longshot of %{_dist}% metres!"
- execute console command "/give %attacker% iron_ingot 1"
- execute console command "/give %attacker% gold_ingot 1"
- execute console command "/give %attacker% diamond 1"
- else if {_dist} is greater than 200:
- Broadcast "{@prefix} %attacker% just got a longshot of %{_dist}% metres!"
- execute console command "/give %attacker% iron_ingot 2"
- execute console command "/give %attacker% gold_ingot 3"
- execute console command "/give %attacker% diamond 5"
- command /diamondless:
- permission: skript.op
- usage: /diamondless
- trigger:
- if {Diamondless} is not set:
- set {Diamondless} to true
- message "Diamondless Enabled!"
- else if {Diamondless} is true:
- delete {Diamondless}
- message "Diamondless Disabled!"
- command /Goldless:
- permission: skript.op
- usage: /Goldless
- trigger:
- {Goldless} is true:
- delete {Goldless}
- message "Goldless Disabled!"
- else if {Goldless} is not set:
- set {Goldless} to true
- message "Goldless enabled!"
- on mine of diamond ore:
- {Diamondless} is true:
- cancel the event
- set the block to air
- message "It's Diamondless, silly! Have a potato!"
- give 1 poisonous potato to player
- on mine of gold ore:
- {Goldless} is true:
- cancel the event
- set the block to air
- message "It's Goldless, silly! Have a potato!"
- give 1 poisonous potato to player
- on craft of enchantment table:
- {Diamondless} is true:
- cancel the event
- on mine of enchantment table:
- {Diamondless} is true:
- cancel the event
- on death of player:
- {Goldless} is true:
- add 4 gold ingots to drops
- on death of player:
- {Diamondless} is true:
- chance of 50%:
- add 1 diamond to drops
Advertisement
Add Comment
Please, Sign In to add comment