MinecrafNinja

Paranoia

Jan 4th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. #Paranoia
  2.  
  3. options:
  4. PA: &c&lParanoia
  5. P: &5[&6Arcanum&5]
  6. N: &7
  7. C: &a&l
  8. A: &8ยป
  9. Spec: {spec::%arg-1%}
  10. DASH: -
  11.  
  12. command /para <text>:
  13. usage: /para <on:off>
  14. permission: skript.op
  15. trigger:
  16. if arg 1 is "on":
  17. set {paranoia} to true
  18. broadcast "{@P}{@A}{@N} Paranoia {@A} {@C}Enabled {@A} {@C}%command sender%{@N}!"
  19. if arg 1 is "off":
  20. delete {paranoia}
  21. broadcast "{@P}{@A}{@N} Paranoia {@A} {@C}Disabled {@A} {@C}%command sender%{@N}!"
  22.  
  23.  
  24.  
  25.  
  26. on mine of gold ore:
  27. {paranoia} is true
  28. {paranoia.gold::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%} is not set
  29. set {_size} to 0
  30. loop blocks in radius 2 around event-block:
  31. loop-block is equal to gold ore
  32. add 1 to {_size}
  33. set {paranoia.gold::%x-coordinate of loop-block%x%y-coordinate of loop-block%x%z-coordinate of loop-block%} to true
  34. loop all players:
  35. if {{@Spec}::%loop-player%} is not set:
  36. 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
  37. delete {paranoia.gold::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%}
  38.  
  39. on mine of diamond ore:
  40. {paranoia} is true
  41. {paranoia.dia::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%} is not set
  42. set {_Size} to 0
  43. loop blocks in radius 2 around event-block:
  44. loop-block is equal to diamond ore
  45. add 1 to {_Size}
  46. set {paranoia.dia::%x-coordinate of loop-block%x%y-coordinate of loop-block%x%z-coordinate of loop-block%} to true
  47. loop all players:
  48. if {{@Spec}::%loop-player%} is not set:
  49. 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
  50. delete {paranoia.dia::%x-coordinate of event-block%x%y-coordinate of event-block%x%z-coordinate of event-block%}
  51.  
  52.  
  53. on craft of anvil:
  54. {paranoia} is true:
  55. broadcast "{@PA} {@A}{@C} %player% {@A}&7 Anvil {@A}{@C} %location of player%!"
  56.  
  57. on craft of enchantment table:
  58. {paranoia} is true:
  59. broadcast "{@PA} {@A}{@C} %player% {@A}&4 Enchants {@A}{@C} %location of player%!"
  60.  
  61.  
  62. on consume of golden apple:
  63. {paranoia} is true:
  64. broadcast "{@PA} {@A}{@C} %player% {@A}&E Gapple (Eat) {@A}{@C} %location of player%!"
  65.  
  66.  
  67.  
  68. on craft of golden apple:
  69. {paranoia} is true:
  70. broadcast "{@PA} {@A}{@C} %player% {@A}&E Gapple (craft) {@A}{@C} %location of player%!"
  71.  
  72.  
  73. on death of player:
  74. {paranoia} is true:
  75. broadcast "{@PA} {@A}{@C} %player% {@A}&0 Death {@A}{@C} %location of player%!"
Advertisement
Add Comment
Please, Sign In to add comment