Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Paranoia
- options:
- PA: &c&lParanoia
- P: &5[&6Arcanum&5]
- N: &7
- C: &a&l
- A: &8ยป
- Spec: {spec::%arg-1%}
- DASH: -
- command /para <text>:
- usage: /para <on:off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {paranoia} to true
- broadcast "{@P}{@A}{@N} Paranoia {@A} {@C}Enabled {@A} {@C}%command sender%{@N}!"
- if arg 1 is "off":
- delete {paranoia}
- broadcast "{@P}{@A}{@N} Paranoia {@A} {@C}Disabled {@A} {@C}%command sender%{@N}!"
- on mine of gold ore:
- {paranoia} is true
- {paranoia.gold::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%} is not set
- set {_size} to 0
- loop blocks in radius 2 around event-block:
- loop-block is equal to gold ore
- add 1 to {_size}
- set {paranoia.gold::%x-coordinate of loop-block%x%y-coordinate of loop-block%x%z-coordinate of loop-block%} to true
- loop all players:
- if {{@Spec}::%loop-player%} is not set:
- send "{@PA} {@A} {@C}%player% {@A} &E&L%{_size}% &E&LGold {@A} X:{@C}%x-coordinate of player% {@DASH}Y:{@C}%y-coordinate of player%{@DASH} Z:{@C}%z-coordinate of player%" to loop-player
- delete {paranoia.gold::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%}
- on mine of diamond ore:
- {paranoia} is true
- {paranoia.dia::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%} is not set
- set {_Size} to 0
- loop blocks in radius 2 around event-block:
- loop-block is equal to diamond ore
- add 1 to {_Size}
- set {paranoia.dia::%x-coordinate of loop-block%x%y-coordinate of loop-block%x%z-coordinate of loop-block%} to true
- loop all players:
- if {{@Spec}::%loop-player%} is not set:
- send "{@PA} {@A} {@C}%player% {@A} &B&L%{_Size}% &B&LDiamonds {@A} X:{@C}%x-coordinate of player% {@DASH}Y:{@C}%y-coordinate of player%{@DASH} Z:{@C}%z-coordinate of player%" to loop-player
- delete {paranoia.dia::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%}
- on craft of anvil:
- {paranoia} is true:
- broadcast "{@PA} {@A}{@C} %player% {@A}&7 Anvil {@A}{@C} %location of player%!"
- on craft of enchantment table:
- {paranoia} is true:
- broadcast "{@PA} {@A}{@C} %player% {@A}&4 Enchants {@A}{@C} %location of player%!"
- on consume of golden apple:
- {paranoia} is true:
- broadcast "{@PA} {@A}{@C} %player% {@A}&E Gapple (Eat) {@A}{@C} %location of player%!"
- on craft of golden apple:
- {paranoia} is true:
- broadcast "{@PA} {@A}{@C} %player% {@A}&E Gapple (craft) {@A}{@C} %location of player%!"
- on death of player:
- {paranoia} is true:
- broadcast "{@PA} {@A}{@C} %player% {@A}&0 Death {@A}{@C} %location of player%!"
Advertisement
Add Comment
Please, Sign In to add comment