Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. command /groups <text>:
  2. trigger:
  3. player is an op
  4. if arg 1 is "add":
  5. delete {lord.knight.peasent::*}
  6. add "Lord" to {lord.knight.peasent::*}
  7. add "Knight" to {lord.knight.peasent::*}
  8. add "Peasent" to {lord.knight.peasent::*}
  9. if arg 1 is "clear":
  10. delete {lord.knight.peasent::*}
  11. loop all players:
  12. set max health of loop-player to 10
  13. if arg 1 is "apply":
  14. loop all players:
  15. if {lord.knight.peasent::%loop-player%} is "Lord":
  16. give loop-player a golden hoe named "&6Staff Of The Lord"
  17. make player execute command "/effect %loop-player% health_boost 1000000 2"
  18. make player execute command "/effect %loop-player% 18 1000000"
  19. if {lord.knight.peasent::%loop-player%} is "Peasent":
  20. apply speed 1 to loop-player for 99 days
  21. set max health of loop-player to 8
  22.  
  23. command /lord <player>:
  24. trigger:
  25. player is an op
  26. set {lord.knight.peasent::%arg-1%} to "Lord"
  27. message "Set %arg-1% to &eLord"
  28. command /knight <player>:
  29. trigger:
  30. player is an op
  31. set {lord.knight.peasent::%arg-1%} to "Knight"
  32. message "Set %arg-1% to &eKnight"
  33. command /peasent <player>:
  34. trigger:
  35. player is an op
  36. set {lord.knight.peasent::%arg-1%} to "Peasent"
  37. message "Set %arg-1% to &ePeasent"
  38.  
  39. on rightclick with a golden hoe:
  40. name of player's tool is "&6Staff Of The Lord"
  41. shoot a snowball at speed 1
  42.  
  43.  
  44. on damage:
  45. damage was caused by a projectile
  46. shooter is a player
  47. victim is a player
  48. projectile is a snowball
  49. the tool of the shooter is a golden hoe named "&6Staff Of The Lord"
  50. if {lord.knight.peasent::%victim%} is "Knight":
  51. remove resistance from victim
  52. remove speed from victim
  53. apply resistance 1 to victim for 60 seconds
  54. apply speed 2 to victim for 60 seconds
  55.  
  56. command /removejake:
  57. trigger:
  58. set {lord.knight.peasent::%arg-1%} to "nicememe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement