szumielxd

QuestWulkan

Sep 7th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. on rightclick with enchanted golden apple:
  2. player's world is "wulkan":
  3. cancel event
  4. send "&6[&b&lBogWszechmogacy &6-> &cJa&6] &cMatka wie ze bierzesz twarde dopalacze?"
  5.  
  6.  
  7. on join:
  8. clear metadata value "wulkanPigmanKills" of player
  9. clear metadata value "wulkanSzkieletKills" of player
  10. clear metadata value "wulkanDmgSpeedrun" of player
  11.  
  12.  
  13.  
  14. on enter region "oslepienie":
  15. remove jump from player
  16. apply blindness 1 to player for 1 day
  17. apply speed 60 to player for 1 day
  18.  
  19. on exit region "oslepienie":
  20. remove blindness from player
  21. remove speed from player
  22.  
  23.  
  24.  
  25. on enter region "wulkan_speedrun":
  26. apply speed 20 to player for 1 day
  27.  
  28. on exit region "wulkan_speedrun":
  29. remove speed from player
  30.  
  31.  
  32. on damage of player:
  33. victim is in region "wulkan_speedrun":
  34. "%damage cause%" is "lava":
  35. cancel event
  36.  
  37. metadata value "wulkanDmgSpeedrun" of victim is true:
  38. stop
  39. set metadata value "wulkanDmgSpeedrun" of victim to true
  40. wait 5 ticks
  41. clear metadata value "wulkanDmgSpeedrun" of victim
  42. teleport victim to {wulkan.location}
  43. send "&6The floor is lava!" to victim
  44. set victim's health to 10
  45. extinguish victim
  46. "%damage cause%" is "fire":
  47. cancel event
  48. stop
  49. "%damage cause%" is "burning":
  50. cancel event
  51. stop
  52. victim is in region "oslepienie":
  53. "%damage cause%" is "lava":
  54. cancel event
  55. send "&c&lPalisz sie!" to victim
  56. teleport victim to {oslepienie.location}
  57. set victim's health to 10
  58. extinguish victim
  59.  
  60.  
  61.  
  62. on death of zombie pigman:
  63. if attacker is in region "wulkan_pvp":
  64. set {_m} to (metadata value "wulkanPigmanKills" of player)?0
  65. if {_m} is not smaller than 20:
  66. send "&2Zabiles wystarczajaco pigmanow" to attacker
  67. else:
  68. add 1 to {_m}
  69. set metadata value "wulkanPigmanKills" of player to {_m}
  70. send "&aZabito %{_m}%/20 pigmanow" to attacker
  71. if {_m} is 20:
  72. if metadata value "wulkanSzkieletKills" of player is 20:
  73. apply jump 4 to attacker for 30 seconds
  74. send "&2Za twoja odwage bogowie podarowali ci super skok na 30 sekund!" to attacker
  75. clear metadata value "wulkanPigmanKills" of player
  76. clear metadata value "wulkanSzkieletKills" of player
  77.  
  78. on death of skeleton:
  79. if attacker is in region "wulkan_pvp":
  80. set {_m} to (metadata value "wulkanSzkieletKills" of player)?0
  81. if {_m} is not smaller than 20:
  82. send "&2Zabiles wystarczajaco szkieletow" to attacker
  83. else:
  84. add 1 to {_m}
  85. set metadata value "wulkanSzkieletKills" of player to {_m}
  86. send "&aZabito %{_m}%/20 szkieletow" to attacker
  87. if {_m} is 20:
  88. if metadata value "wulkanPigmanKills" of player is 20:
  89. apply jump 4 to attacker for 30 seconds
  90. send "&2Za twoja odwage bogowie podarowali ci super skok na 30 sekund" to attacker
  91. clear metadata value "wulkanPigmanKills" of player
  92. clear metadata value "wulkanSzkieletKills" of player
  93.  
  94. command /wulkan [<text>]:
  95. permission: moderator
  96. trigger:
  97. arg 1 is "spawn1":
  98. set {wulkan.location} to location of player
  99. send "&eUstawiono lokalizacje spawnu questu i etapu I i II na&7 %{wulkan.location}%"
  100. stop
  101. arg 1 is "spawn2":
  102. set {oslepienie.location} to location of player
  103. send "&eUstawiono lokalizacje odrodzenia na etapie III na &7%{oslepienie.location}%"
  104. stop
  105. #arg 1 is "resettp":
  106. # set {wulkan.ktos_jest} to false
  107. # send "&eZresetowano status graczy na wyspie teleportacji"
  108. # stop
  109. arg 1 is "list":
  110. send "&c[wulkan] &6Etap I: &eSprint po jeziorze lawy z efektem speed XX"
  111. send "&c[wulkan] &6Etap II: &eZabicie 20 pigmanow, 20 szkieletow i wskoczenie na polke skalna"
  112. send "&c[wulkan] &6Etap III: &eSlalom pomiedzy zbiornikami lawy majac speed XXXX i slepote"
  113. send "&c[wulkan] &6Etap IV: &eLabirynt z niewidzialnej podlogi. przy spadnieciu do lawy zaczynasz od poczatku"
  114. send "&c[wulkan] &6Etap V: &eZlozenie w darze Bogom 4 Boskich przedmiotow (miecz, kilof, siekiera i lopata)"
  115. stop
  116. arg 1 is "pomoc" or "help":
  117. send "&4----------=======[&cQuestWulkan&4]=======----------"
  118. send "&c/wulkan spawn1 - &6Ustawia lokalizacje spawnu po nieudanym przejsciu I i II Etapu Questu"
  119. send "&c/wulkan spawn2 - &6Ustawia lokalizacje spawnu po nieudanym przejsciu III Etapu Questu"
  120. # send "&c/wulkan resettp - &6Resetuje status osob na wyspie teleportacji"
  121. send "&c/wulkan list - &6Wyswietla liste Etapow Questu"
  122. stop
  123. send "&cUzyj &6/wulkan pomoc &caby uzyskac wiecej informacji"
  124. stop
  125.  
  126.  
  127. #on walking on netherrack:
  128. # player is in region "oslepienie":
  129. # player is sneaking:
  130. # teleport player to {oslepienie.location}
  131. # send "&6Prawdziwy wojownik nie biega na shifcie!"
  132.  
  133.  
  134. on sneak toggle:
  135. player is in region "oslepienie":
  136. teleport player to {oslepienie.location}
  137. send "&6Prawdziwy wojownik nie biega na shifcie!"
Advertisement
Add Comment
Please, Sign In to add comment