ArtzifyHD

Player Vault

Aug 14th, 2017
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | None | 0 0
  1. on command "/pv":
  2. loop blocks in radius 2 around the player:
  3. loop-block is lily pad or carpet or ladder
  4. cancel event
  5. execute console command "spawn %player%"
  6. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  7. execute console command "kick %player%"
  8.  
  9. on command "/chest":
  10. loop blocks in radius 2 around the player:
  11. loop-block is lily pad or carpet or ladder
  12. cancel event
  13. execute console command "spawn %player%"
  14. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  15. execute console command "kick %player%"
  16.  
  17. on command "/echest":
  18. loop blocks in radius 2 around the player:
  19. loop-block is lily pad or carpet or ladder
  20. cancel event
  21. execute console command "spawn %player%"
  22. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  23. execute console command "kick %player%"
  24.  
  25. on command "/playervaults:pv":
  26. loop blocks in radius 2 around the player:
  27. loop-block is lily pad or carpet or ladder
  28. cancel event
  29. execute console command "spawn %player%"
  30. broadcast "&c<!> &4%player% Tried to Duplicate with Player Vaults"
  31. execute console command "kick %player%"
  32.  
  33. on command "/playervaults:chest":
  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 "/playervaults:vault":
  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. command /re-start:
  50. permission: server.restart
  51. permission message: &cYou are not allowed to do that!
  52. trigger:
  53. execute console command "save-all"
  54. broadcast "&9The server is restarting in &a60 &9Seconds!"
  55. wait 30 seconds
  56. broadcast "&9The server is restarting in &a30 &9Seconds!"
  57. wait 15 seconds
  58. broadcast "&9The server is restarting in &615 &9Seconds!"
  59. wait 5 seconds
  60. broadcast "&9The server is restarting in &c10 &9Seconds!"
  61. wait 5 seconds
  62. broadcast "&9The server is restarting in &45 &9Seconds!"
  63. wait 1 seconds
  64. broadcast "&9The server is restarting in &44 &9Seconds!"
  65. wait 1 seconds
  66. broadcast "&9The server is restarting in &43 &9Seconds!"
  67. wait 1 seconds
  68. broadcast "&9The server is restarting in &42 &9Seconds!"
  69. wait 1 seconds
  70. broadcast "&9The server is restarting in &41 &9Seconds!"
  71. wait 1 seconds
  72. broadcast "&9Server is shutting down: &a-&7--- | &a25 Percent"
  73. wait 2 seconds
  74. broadcast "&9Server is shutting down: &a---&7- | &a75 Percent"
  75. wait 1 second
  76. broadcast "&9Server is shutting down: &a---- | &a100 Percent"
  77. wait 1 second
  78. execute console command "kickall Server shutted down! See you soon!"
  79. execute console command "stop"
  80.  
  81. command /save:
  82. permission: server.save
  83. permission message: &cYou are not allowed to do that!
  84. trigger:
  85. execute console command "save-all"
  86.  
  87. on damage:
  88. if victim is a player:
  89. stop
  90. if attacker is a player:
  91. projectile doesn't exist
  92. chance of 2%:
  93. spawn 1 blaze 2 metres behind attacker
  94. set the name of the spawned blaze to "&bAntiMobAura %attacker%"
  95. wait 12 ticks
  96. kill the spawned blaze
  97.  
  98. on damage of blaze:
  99. if name of the damaged blaze is "&bAntiMobAura %attacker%":
  100. increase damage by 100
  101. broadcast "&6%attacker% &cWas Detected Of Mob Aura And Has Been Removed From The Server"
  102. make console execute command "/kick %attacker% &c[AMA] Mob Aura Detected!"
  103. stop
  104. else:
  105. if name of the damaged blaze contains "&4&lAntiMobAura":
  106. increase damage by 100
Advertisement
Add Comment
Please, Sign In to add comment