Advertisement
fleft17

Untitled

Jul 20th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. on login:
  2. {Arena} is true:
  3. wait 2 seconds
  4. send "&3Use /kit pvp for a PvP kit then run through the PvP sign to enter the Arena"
  5.  
  6. command /arena:
  7. trigger:
  8. if {Arena} is true:
  9. clear the player's inventory
  10. set the player's gamemode to survival
  11. equip player with iron helmet of unbreaking 10
  12. equip player with iron chestplate of unbreaking 10
  13. equip player with iron leggings of unbreaking 10
  14. equip player with iron boots of unbreaking 10
  15. give player diamond sword of unbreaking 10
  16. give player bow of infinity 1 and unbreaking 10
  17. give player 2 golden apple
  18. give player 1 arrow
  19. execute console command "/warp %player% pvp%a random integer between 1 and 10%"
  20.  
  21. command /autopvp <text>:
  22. trigger:
  23. if arg is "on":
  24. set {autoPVP.%command sender%} to true
  25. message "&a&lAutoPVP enabled" to the command sender
  26.  
  27. if arg is "off":
  28. set {autoPVP.%command sender%} to false
  29. message "&a&lAutoPVP disabled" to the command sender
  30.  
  31.  
  32. on respawn:
  33. if {Arena} is true:
  34. {autoPVP.%player%} is true:
  35. make player execute command "/arena"
  36.  
  37. command /pvparena <text>:
  38. permission: skript.pvparena
  39. trigger:
  40. if arg is "on" or "true" or "enable":
  41. set {Arena} to true
  42. broadcast "&a&lPVP Arena enabled by &b&l%player%!"
  43. if arg is "off" or "false" or "disable":
  44. set {Arena} to false
  45. broadcast "&c&lPVP Arena disabled by&e&l%player%!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement