ArtzifyHD

Item Effects

Aug 15th, 2017
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. command /h <player>:
  2. usage: /h <player> - See health of a player
  3. aliases: /health
  4. trigger:
  5. message "%arg 1%&e's health: &c%health of arg 1%❤&e."
  6. on right click holding a Sugar:
  7. make console execute command "/effect %player% speed 20 1"
  8. remove 1 sugar from the player's tool
  9. message "&aYou feel as if you are able to move more swiftly after eating that sugar!"
  10. stop
  11. on right click holding a Blaze_Powder:
  12. make console execute command "/effect %player% fire_resistance 20 1"
  13. remove 1 Blaze_Powder from the player's tool
  14. message "&cYou feel as if you are able to jump in lava and not burn to death!"
  15. stop
  16. on right click holding a Feather:
  17. make console execute command "/effect %player% jump_boost 15 2"
  18. remove 1 Feather from the player's tool
  19. message "&bYou feel as if you are able to jump higher after consuming a feather!"
  20. stop
  21. on right click holding a Golden_Carrot:
  22. make console execute command "/effect %player% night_vision 20 1"
  23. remove 1 Golden_Carrot from the player's tool
  24. message "&9You feel as if you are able to see in the dark after eating those carrots!"
  25. stop
  26. mine of diamond ore:
  27. {diamonds::%player%::%location of event-block%} is not set
  28. loop blocks in radius 5 around block:
  29. loop-block is diamond ore:
  30. add 1 to {_diamondore}
  31. set {diamonds::%player%::%location of loop-block%} to true
  32. broadcast "&8[&b&lFX&8] &b%player%&7 has found &b%{_diamondore}% &7diamonds!"
  33. on command "/pv":
  34. loop blocks in radius 2 around the player:
  35. loop-block is lily pad or carpet or ladder
  36. cancel event
  37. execute console command "spawn %player%"
  38. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  39. execute console command "kick %player%"
  40.  
  41. on command "/chest":
  42. loop blocks in radius 2 around the player:
  43. loop-block is lily pad or carpet or ladder
  44. cancel event
  45. execute console command "spawn %player%"
  46. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  47. execute console command "kick %player%"
  48.  
  49. on command "/echest":
  50. loop blocks in radius 2 around the player:
  51. loop-block is lily pad or carpet or ladder
  52. cancel event
  53. execute console command "spawn %player%"
  54. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  55. execute console command "kick %player%"
  56.  
  57. on command "/playervaults:pv":
  58. loop blocks in radius 2 around the player:
  59. loop-block is lily pad or carpet or ladder
  60. cancel event
  61. execute console command "spawn %player%"
  62. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  63. execute console command "kick %player%"
  64.  
  65. on command "/playervaults:chest":
  66. loop blocks in radius 2 around the player:
  67. loop-block is lily pad or carpet or ladder
  68. cancel event
  69. execute console command "spawn %player%"
  70. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  71. execute console command "kick %player%"
  72.  
  73. on command "/playervaults:vault":
  74. loop blocks in radius 2 around the player:
  75. loop-block is lily pad or carpet or ladder
  76. cancel event
  77. execute console command "spawn %player%"
  78. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  79. execute console command "kick %player%"
  80.  
  81. command /re-start:
  82. permission: server.restart
  83. permission message: &cYou are not allowed to do that!
  84. trigger:
  85. execute console command "save-all"
  86. broadcast "&9The server is restarting in &a60 &9Seconds!"
  87. wait 30 seconds
  88. broadcast "&9The server is restarting in &a30 &9Seconds!"
  89. wait 15 seconds
  90. broadcast "&9The server is restarting in &615 &9Seconds!"
  91. wait 5 seconds
  92. broadcast "&9The server is restarting in &c10 &9Seconds!"
  93. wait 5 seconds
  94. broadcast "&9The server is restarting in &45 &9Seconds!"
  95. wait 1 seconds
  96. broadcast "&9The server is restarting in &44 &9Seconds!"
  97. wait 1 seconds
  98. broadcast "&9The server is restarting in &43 &9Seconds!"
  99. wait 1 seconds
  100. broadcast "&9The server is restarting in &42 &9Seconds!"
  101. wait 1 seconds
  102. broadcast "&9The server is restarting in &41 &9Seconds!"
  103. wait 1 seconds
  104. broadcast "&9Server is shutting down: &a-&7--- | &a25 Percent"
  105. wait 2 seconds
  106. broadcast "&9Server is shutting down: &a---&7- | &a75 Percent"
  107. wait 1 second
  108. broadcast "&9Server is shutting down: &a---- | &a100 Percent"
  109. wait 1 second
  110. execute console command "kickall Server shutted down! See you soon!"
  111. execute console command "stop"
  112.  
  113. command /save:
  114. permission: server.save
  115. permission message: &cYou are not allowed to do that!
  116. trigger:
  117. execute console command "save-all"
  118.  
  119. on damage:
  120. if victim is a player:
  121. stop
  122. if attacker is a player:
  123. projectile doesn't exist
  124. chance of 2%:
  125. spawn 1 blaze 2 metres behind attacker
  126. set the name of the spawned blaze to "&bAntiMobAura %attacker%"
  127. wait 12 ticks
  128. kill the spawned blaze
  129.  
  130. on damage of blaze:
  131. if name of the damaged blaze is "&bAntiMobAura %attacker%":
  132. increase damage by 100
  133. broadcast "&6%attacker% &cWas Detected Of Mob Aura And Has Been Removed From The Server"
  134. make console execute command "/kick %attacker% &c[AMA] Mob Aura Detected!"
  135. stop
  136. else:
  137. if name of the damaged blaze contains "&4&lAntiMobAura":
  138. increase damage by 100
  139.  
  140. on damage of creeper:
  141. if block at the damaged creeper is not air or water or chest or trapped chest or string or fence gate or lava or slab:
  142. if block at the damaged creeper's head is not air or water or chest or trapped chest or string or fence gate or lava or slab:
  143. kill the damaged creeper
Advertisement
Add Comment
Please, Sign In to add comment