Advertisement
Guest User

Ban skript

a guest
Jan 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. command /ban [<offline player>] [<text>]:
  2. permission: perm.staff
  3. permission message: &char ikke adgang til dette!
  4. trigger:
  5. if arg 1 is not set:
  6. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  7. send ""
  8. send "&7Brug &8/&cBan &8&l(&7Spiller&8&l) &8&l(&7Grund&8&l)"
  9. send ""
  10. send "&c&lGrunde&8&l/&c&lGenveje&8&l:"
  11. send "&8/&cHack &8&l(&7Spiller&8&l)"
  12. send "&8/&cAbuse &8&l(&7Spiller&8&l)"
  13. send "&8/&cGrief &8&l(&7Spiller&8&l)"
  14. send "&8/&cPerm &8&l(&7Spiller&8&l)"
  15. send "&8/&cBug &8&l(&7Spiller&8&l)"
  16. send ""
  17. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  18. stop
  19. if arg 2 is not set:
  20. execute player command "/ban"
  21. stop
  22. if arg 2 is not "Hack" or "Abuse" or "Grief" or "Perm" or "Bug":
  23. execute player command "/ban"
  24. stop
  25. if arg 1 is set:
  26. if arg 2 is "Hack":
  27. execute console command "/etempban %arg 1% 7d &cDu er blevet bannet for &4&lBrug af hack client."
  28. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  29. broadcast ""
  30. broadcast "&7Spiller&8&l: &c&l%arg 1%"
  31. broadcast "&7Bannet af&8&l: &c&l%player%"
  32. broadcast ""
  33. broadcast "&7Grund&8&l: &4&lBrug af hack client."
  34. broadcast "&7Periode&8&l: &4&l7 dage&7."
  35. broadcast ""
  36. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  37. if arg 2 is "Abuse":
  38. execute console command "/etempban %arg 1% 3d &cDu er blevet bannet for &4&lAbuseing af permission."
  39. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  40. broadcast ""
  41. broadcast "&7Spiller&8&l: &c&l%arg 1%"
  42. broadcast "&7Bannet af&8&l: &c&l%player%"
  43. broadcast ""
  44. broadcast "&7Grund&8&l: &4&lAbuseing af permission."
  45. broadcast "&7Periode&8&l: &4&l3 dage&7."
  46. broadcast ""
  47. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  48. if arg 2 is "Grief":
  49. execute console command "/eban %arg 1% &cDu er blevet bannet for &4&lGriefing af serveren."
  50. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  51. broadcast ""
  52. broadcast "&7Spiller&8&l: &c&l%arg 1%"
  53. broadcast "&7Bannet af&8&l: &c&l%player%"
  54. broadcast ""
  55. broadcast "&7Grund&8&l: &4&lGriefing af serveren&7."
  56. broadcast "&7Periode&8&l: &4&lPermanent&7."
  57. broadcast ""
  58. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  59. if arg 2 is "Perm":
  60. execute console command "/eban %arg 1% &cDu er blevet bannet for &4&lPermanent."
  61. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  62. broadcast ""
  63. broadcast "&7Spiller&8&l: &c&l%arg 1%"
  64. broadcast "&7Bannet af&8&l: &c&l%player%"
  65. broadcast ""
  66. broadcast "&7Grund&8&l: &4&lPermanent&7."
  67. broadcast "&7Periode&8&l: &4&lPermanent&7."
  68. broadcast ""
  69. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  70. if arg 2 is "Bug":
  71. execute console command "/etempban %arg 1% 1d &cDu er blevet bannet for &4&lUdnyttelse af bug."
  72. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  73. broadcast ""
  74. broadcast "&7Spiller&8&l: &c&l%arg 1%"
  75. broadcast "&7Bannet af&8&l: &c&l%player%"
  76. broadcast ""
  77. broadcast "&7Grund&8&l: &4&lUdnyttelse af bug&7."
  78. broadcast "&7Periode&8&l: &4&l1 dag&7."
  79. broadcast ""
  80. broadcast "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  81.  
  82. command /hack [<offline player>]:
  83. permission: perm.staff
  84. permission message: &char ikke adgang til dette!
  85. trigger:
  86. execute player command "/ban %arg 1% Hack"
  87.  
  88. command /Abuse [<offline player>]:
  89. permission: perm.staff
  90. permission message: &char ikke adgang til dette!
  91. trigger:
  92. execute player command "/ban %arg 1% Abuse"
  93.  
  94. command /Grief [<offline player>]:
  95. permission: perm.staff
  96. permission message: &char ikke adgang til dette!
  97. trigger:
  98. execute player command "/ban %arg 1% Grief"
  99.  
  100. command /Perm [<offline player>]:
  101. permission: perm.staff
  102. permission message: &char ikke adgang til dette!
  103. trigger:
  104. execute player command "/ban %arg 1% Perm"
  105.  
  106. command /Bug [<offline player>]:
  107. permission: perm.staff
  108. permission message: &char ikke adgang til dette!
  109. trigger:
  110. execute player command "/ban %arg 1% Bug"
  111.  
  112. command /unban [<offline player>]:
  113. Permission: perm.staff
  114. permission message: &cDu har ikke adgang til dette!
  115. trigger:
  116. if arg 1 is not set:
  117. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  118. send ""
  119. send "&7Brug &8/&cUnban &8&l(&7Spiller&8&l)"
  120. send ""
  121. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  122. if arg 1 is set:
  123. execute console command "/eunban %arg-1%"
  124. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
  125. send ""
  126. send "&7Spiller&8&l: &c&l%arg 1%"
  127. send "&7Af&8&l: &c&l%player%"
  128. send ""
  129. send "&8&l&m(*+----------&f &4&lPUNISH &8&l&m----------+*)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement