Guest User

Here <o/ Part 2

a guest
Jul 20th, 2019
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. pre: &b&lElo&3&lPvP &8» &7
  3.  
  4. on death:
  5. if attacker is a player:
  6. if victim is a player:
  7. add 1 to {lk::%attacker's uuid%}
  8. broadcast "&b&lElo&3&lPvP &8» &b%attacker% &7stabbed &b%victim% &7for coins!"
  9. if {lk::%attacker's uuid%} >= 5:
  10. broadcast "&b&lElo&3&lPvP &8» &b%attacker% &7is on a &b%{lk::%attacker's uuid%}% &7kill streak!"
  11. add 100 to attacker's balance
  12. delete {lk::%victim's uuid%}
  13.  
  14. command /bcast [<text>]:
  15. trigger:
  16. if player has permission "staff.announce":
  17. if argument 1 is set:
  18. broadcast "&b&lElo&3&lPvP &8» &7%colored argument-1%"
  19. else:
  20. send "&cError: Incorrect usage!" to player
  21. send "&c/broadcast [Message]" to player
  22. else:
  23. send "&cError: Insufficient Permission!" to player
  24. send "&cLacking permission node ""staff.announce""" to player
  25.  
  26.  
  27. command /broadcast [<text>]:
  28. trigger:
  29. if player has permission "staff.announce":
  30. if argument 1 is set:
  31. broadcast "&b&lElo&3&lPvP &8» &7%colored argument-1%"
  32. else:
  33. send "&cError: Incorrect usage!" to player
  34. send "&c/broadcast [Message]" to player
  35. else:
  36. send "&cError: Insufficient Permission!" to player
  37. send "&cLacking permission node ""staff.announce""" to player
  38.  
  39. command /bc [<text>]:
  40. trigger:
  41. if player has permission "staff.announce":
  42. if argument 1 is set:
  43. broadcast "&b&lElo&3&lPvP &8» &7%colored argument-1%"
  44. else:
  45. send "&cError: Incorrect usage!" to player
  46. send "&c/broadcast [Message]" to player
  47. else:
  48. send "&cError: Insufficient Permission!" to player
  49. send "&cLacking permission node &f""staff.announce""" to player
  50.  
  51. command /kick [<player>] [<text>]:
  52. trigger:
  53. if player has permission "staff.kick":
  54. if argument-1 is set:
  55. if argument-1 is online:
  56. if argument-2 is set:
  57. broadcast "{@pre} &b%player% &7kicked &b%argument-1% &7for &b%argument-2%"
  58. kick argument-1 due to kick argument-1 due to "&bKicked &7- &f%argument-2%"
  59. else:
  60. broadcast "{@pre} &b%player% &7kicked &b%argument-1% &7for &bN/A"
  61. kick argument-1 due to "&bKicked &7- &fN/A"
  62. else:
  63. send "&cError: User is not online" to player
  64. send "&cThe user has to be online!" to player
  65. else:
  66. send "&cError: Incorrect usage" to player
  67. send "&c/kick [User] [Reason]" to player
  68. else:
  69. send "&cError: Insufficient Permission" to player
  70. send "&cYou are lacking permission node &f""staff.kick"""
  71.  
  72. command /prefix [<player>] [<text>] [<text>]:
  73. trigger:
  74. if player has permission "staff.prefix":
  75. if argument-1 is set:
  76. if argument-2 is "set":
  77. if argument-3 is set:
  78. set {prefix::%arg-1's uuid%} to "%colored argument-3%"
  79. send "&aPrefix set!" to player
  80. else if argument-2 is "reset":
  81. delete {prefix::%arg-1's uuid%}
  82.  
  83. on chat:
  84. if {prefix::%player's uuid%} is set:
  85. cancel event
  86. broadcast "%{prefix::%player's uuid%}% &e%player%&8: &f%message%"
RAW Paste Data