Entities

Untitled

Oct 11th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. #▀█████████▄ ▄████████ ███▄▄▄▄ ▄████████
  2. # ███ ███ ███ ███ ███▀▀▀██▄ ███ ███
  3. # ███ ███ ███ ███ ███ ███ ███ █▀
  4. # ▄███▄▄▄██▀ ███ ███ ███ ███ ███
  5. #▀▀███▀▀▀██▄ ▀███████████ ███ ███ ▀███████████
  6. # ███ ██▄ ███ ███ ███ ███ ███
  7. # ███ ███ ███ ███ ███ ███ ▄█ ███
  8. #▄█████████▀ ███ █▀ ▀█ █▀ ▄████████▀
  9. # (BANS)
  10. on load:
  11. loop all players:
  12. if loop-player is op:
  13. send "&8&m----------------------------------------"
  14. send "&3Public Punishment System &bv1.0"
  15. send "&3Made By&8: &bLickSuckEatIt"
  16. send " "
  17. send "&3Commands&b/&3Pemrs&8:"
  18. send " "
  19. send "&3/&bban (Player) (Reason) all.ban"
  20. send "&3/&bwarn (Player) (Reason) all.warn"
  21. send "&3/&bipban (Player) (Reason) all.ipban"
  22. send "&3/&bunban (Player) (Reason) all.unban"
  23. send "&3/&bkick (Player) (Reason) all.kick"
  24. send "&3/&bop (Player) all.op"
  25. send "&3/&bdeop (Player) all.deop"
  26. send "&8&m----------------------------------------"
  27.  
  28. command ban <offline player> <text>:
  29. permission: all.ban
  30. permission message: &cInsufficent permissions.
  31. trigger:
  32. if argument 1 is set:
  33. if argument 2 is set:
  34. ban argument 1 due to argument 2
  35. broadcast "&7&m*-------------------------*"
  36. broadcast "&a%argument 1% has been suspended from the server!"
  37. broadcast "&2Reason &r%argument 1%"
  38. broadcast "&2Banned by &r%player%"
  39. broadcast "&2Period &rPermanent"
  40. broadcast "&7&m*-------------------------*"
  41. else:
  42. send "&c/ban <player> <reason>"
  43. else:
  44. send "&c/ban <player> <reason>"
  45.  
  46. command unban <offline player> <text>:
  47. permission: all.unban
  48. permission message: &cInsufficent permissions.
  49. trigger:
  50. if argument 1 is set:
  51. if argument 2 is set:
  52. if argument 1 isn't banned:
  53. unban argument 1 due to argument 2
  54. broadcast "&7&m*-------------------------*"
  55. broadcast "&a%argument 1% suspension has been lifted!"
  56. broadcast "&2Reason &r%argument 1%"
  57. broadcast "&2Un-Banned by &r%player%"
  58. broadcast "&2Period &rPermanent"
  59. broadcast "&7&m*-------------------------*"
  60. else:
  61. send "&c%argument 1% isn't banned!"
  62. else:
  63. send "&c/unban <player> <reason>"
  64. else:
  65. send "&c/unban <player> <reason>"
  66.  
  67. command warn <player> <text>:
  68. permission: all.warn
  69. permission message: &cInsufficent permissions.
  70. trigger:
  71. if argument 1 is set:
  72. if argument 2 is set:
  73. broadcast "&7&m*-------------------------*"
  74. broadcast "&a%argument 1% has been warned!"
  75. broadcast "&2Reason &r%argument 1%"
  76. broadcast "&2Warned by &r%player%"
  77. broadcast "&7&m*-------------------------*"
  78. else:
  79. send "&c/warn <player> <reason>"
  80. else:
  81. send "&c/warn <player> <reason>"
  82.  
  83. command kick <player> <text>:
  84. permission: all.kick
  85. permission message: &cInsufficent permissions.
  86. trigger:
  87. if argument 1 is set:
  88. if argument 2 is set:
  89. kick argument 1 due to argument 2
  90. broadcast "&7&m*-------------------------*"
  91. broadcast "&a%argument 1% has been kicked!"
  92. broadcast "&2Reason &r%argument 1%"
  93. broadcast "&2Kicked by &r%player%"
  94. broadcast "&7&m*-------------------------*"
  95. else:
  96. send "&c/kick <player> <reason>"
  97. else:
  98. send "&c/kick <player> <reason>"
Add Comment
Please, Sign In to add comment