guruflex

sk dropparty

Mar 29th, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. on login:
  2. add 1 to {login.dropparty}
  3. if {login.dropparty} is 30:
  4. execute console command "/dropparty"
  5. on quit:
  6. remove 1 from {login.dropparty}
  7.  
  8.  
  9. command /dropset:
  10. description: Mods only, rain d blocks bitch
  11. permission: sk.blockparty
  12. trigger:
  13. set {sk.dropparty} to location of player
  14. broadcast "<lime>Drop party point set!"
  15. stop
  16.  
  17.  
  18.  
  19.  
  20. command /dropparty:
  21. description: rain blocks at random spot
  22. permission: sk.blockparty
  23. trigger:
  24. wait 10 second
  25. broadcast "&aDrop party Will start in 2 min"
  26. wait 60 second
  27. broadcast "&aDrop party Will start in 1 min"
  28. wait 30 second
  29. broadcast "&aDrop party Will start in 15 sec"
  30. wait 15 second
  31. broadcast "&aDrop party Will start in 15 sec"
  32. wait 13 second
  33. broadcast "&aDrop party Will start in 3"
  34. wait 1 second
  35. broadcast "&aDrop party Will start in 2"
  36. wait 1 second
  37. broadcast "&aDrop party Will start in 1"
  38. wait 1 second
  39. broadcast "&aDrop party Has Started !!!!"
  40. execute console command "/blockparty"
  41. wait 15 second
  42. execute console command "/blockparty"
  43. wait 15 second
  44. execute console command "/blockparty"
  45. wait 15 second
  46. execute console command "/blockparty"
  47. wait 15 second
  48. execute console command "/blockparty"
  49. wait 15 second
  50. execute console command "/blockparty"
  51. broadcast "&9Drop party Has Ended &e:(..."
  52. set {drop.lastused} to now
  53. stop
  54.  
  55.  
  56. command /blockparty:
  57. description: Mods only, rain d blocks bitch
  58. permission: sk.blockparty
  59. trigger:
  60. set {_radius} to 25
  61. set {_chance} to 2
  62. set {_py} to y-coordinate of {sk.dropparty}
  63. loop blocks in radius {_radius} around {sk.dropparty}:
  64. loop-block is air:
  65. chance of {_chance}%:
  66. set {_location} to location of loop-block
  67. set {_testy} to y-coordinate of {_location}
  68. set {_diff} to {_testy}
  69. subtract {_py} from {_diff}
  70. {_diff} is less than 5:
  71. {_diff} is more than -5:
  72. chance of 2%:
  73. drop 1 diamond block at {_location}
  74. chance of 5%:
  75. drop 2 diamond at {_location}
  76. chance of 5%:
  77. drop 6 Gold Ingot at {_location}
  78. chance of 5%:
  79. drop 1 Emerald at {_location}
  80. chance of 5%:
  81. drop 1 Ender Pearl at {_location}
  82. chance of 5%:
  83. drop 2 Ghast Tear at {_location}
  84. chance of 15%:
  85. drop 6 Iron Ingot at {_location}
  86. chance of 5%:
  87. drop 1 Golden Apple at {_location}
  88. chance of 5%:
  89. drop 1 Enchantment Table at {_location}
  90. chance of 15%:
  91. drop 3 Glowstone at {_location}
  92. chance of 15%:
  93. drop 6 Obsidian at {_location}
Advertisement
Add Comment
Please, Sign In to add comment