Guest User

Untitled

a guest
Apr 11th, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. #Core
  2.  
  3.  
  4. options:
  5. chat: true
  6. maintaince: false
  7.  
  8.  
  9. command /clearchat:
  10. aliases: /cc
  11. permission: core.rank.mod
  12. permission message: &7[&4&lPERMISSIONS&7] &7This requires rank &aMOD
  13. trigger:
  14. loop 500 times
  15. broadcast " "
  16. broadcast "&aChat has been cleared by &9&l%player%&a!
  17.  
  18.  
  19. command /broadcast [<text>]:
  20. aliases: /bc
  21. permission: core.rank.srmod
  22. permission message: &7[&4&lPERMISSIONS&7] &7This requies rank &6SR.MOD
  23. trigger:
  24. if argument 1 is not set:
  25. send "&7Incorrect usage! '&a/broadcast (message)"
  26. if argument 1 is set:
  27. broadcast "&aServer> &7%arg-1%"
  28.  
  29.  
  30.  
  31.  
  32. command /chatdisable
  33. aliases: /cd /dchat /cdisable /tchat /tc
  34. permission: core.rank.helper
  35. permission message: &7This requires rank &eHELPER
  36. trigger:
  37. set {@chat} to false
  38.  
  39.  
  40. on chat:
  41. if {@chat} is false:
  42. cancel event
  43. send "&aServer> &7Chat is currently disabled and you may /msg an admin for it to be disabled if it may be false."
  44.  
  45.  
  46. on connect:
  47. if {@maintaince} is true:
  48. kick the player due to "&c&lOur server is currently in maintaince. Try again later."
  49.  
  50. command /lockdown:
  51. trigger:
  52. set {@maintaince} to true
Advertisement
Add Comment
Please, Sign In to add comment