Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. on walk on end portal frame:
  2. if world is "Moda":
  3. push the player upwards at speed 3
  4. push the player forwards at speed 7
  5. show ender signal at the player
  6.  
  7. on damage of player:
  8. attacker is a player:
  9. world is "Moda":
  10. set {stacking:%attacker%} to true
  11. make victim ride attacker
  12. message "&cYou are currently stacked by %attacker%" to the victim
  13. message "&cYou stacked %victim%" to the attacker
  14.  
  15. on rightclick on player:
  16. player is sneaking:
  17. world is "Moda":
  18. dismount any passengers from player
  19. push the clicked player upwards at speed 3
  20. push the clicked player forwards at speed 2
  21.  
  22.  
  23. on damage of player:
  24. if world is "Moda":
  25. cancel the event
  26.  
  27. on break:
  28. if world is "Moda":
  29. if player does not have the permission "op.build":
  30. cancel the event
  31.  
  32. on build:
  33. if world is "Moda":
  34. if player does not have the permission "op.build":
  35. cancel the event
  36.  
  37. on hunger meter change:
  38. cancel the event
  39.  
  40. on damage of player:
  41. damage cause is void:
  42. world is "Moda":
  43. command "/warp Moda %victim%"
  44. message "&9Void&c>> &9You shouldn't take tumbles, silly." to the victim
  45.  
  46. on walk on emerald block:
  47. distance between the player and the location (55, 132, -54) is less than 1:
  48. world is "Moda":
  49. broadcast "&9KOTL&c>>&9 %player% is the true King of the Ladder!"
  50.  
  51. on shoot:
  52. world is "Moda":
  53. cancel the event
  54.  
  55. command /spleef <text>:
  56. trigger:
  57. if arg is "start":
  58. set {spleef.start} to true
  59. clear {spleef.broken.blocks::*}
  60. clear {spleef.broken.type::*}
  61. loop all players:
  62. loop-player is in world "Moda"
  63. loop-player is in region "Spleef":
  64. give loop-player 1 diamond shovel named "&9Spleef"
  65. message "&9Spleef&c>> &9Game has started." to the loop-player
  66. if arg is "end":
  67. set {spleef.start} to false
  68. loop {spleef.broken.blocks::*}:
  69. set block at loop-value to {spleef.broken.type::%loop-index%}
  70. clear {spleef.broken.blocks::*}
  71. loop all players:
  72. if loop-player is in world "Moda":
  73. message "&9Spleef&c>> &9Game is over and arena reset." to the loop-player
  74.  
  75. on break of snow block:
  76. if {spleef.start} is true:
  77. add location of block to {spleef.broken.blocks::*}
  78. add type of block to {spleef.broken.type::*}
  79.  
  80. on walk on soul sand:
  81. push the player upwards at speed 0.5
  82. push the player backwards at speed 3
  83. push the player downwards at speed 5
  84.  
  85. on walk on water:
  86. push the player upwards at speed 2
  87. push the player backwards at speed 4
  88. wait 0.2 seconds
  89. push the player downwards at speed 5
  90.  
  91. on region enter:
  92. if "%region at player%" contains "spleef":
  93. give player 1 diamond shovel named "&9Spleef"
  94.  
  95. on region exit:
  96. if "%region at player%" contains "spleef":
  97. remove 1 diamond shovel named "&9Spleef" from the player's inventory
  98.  
  99. on drop:
  100. world is "Moda":
  101. cancel the event
  102. message "&9Hub&c>> &9Unable to perform that action."
  103.  
  104. on pickup:
  105. world is "Moda":
  106. cancel the event
  107. message "&9Hub&c>> &9Unable to perform that action."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement