Guest User

Untitled

a guest
Sep 10th, 2016
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. command /punir [<player>]:
  2. permission: ban.use
  3. permission message: &cSem permissão!
  4. trigger:
  5. if arg 1 is set:
  6. send "&c >> Abrindo Menu De Bans"
  7. wait 3 seconds
  8. open chest with 2 row named "&f&lBan'S" to player
  9. format slot 0 of player with a Name Tag named "&e&l- Uso De Hack" with lore " " to close then run "ban %arg 1% hack"
  10. format slot 1 of player with a Name Tag named "&e&l- Ofensa Ao Jogador" with lore " " to close then run "ban %arg 1% Ofensa Ao Jogador"
  11. format slot 2 of player with a Name Tag named "&e&l- Divulgação" with lore " " to close then run "ban %arg 1% Divulgação"
  12. format slot 3 of player with a Name Tag named "&e&l- Flood" with lore " " to close then run "ban %arg 1% Flood"
  13. format slot 4 of player with a Name Tag named "&e&l- Grief" with lore " " to close then run "ban %arg 1% grief"
  14. format slot 5 of player with a Name Tag named "&e&l- Ofensa Ao Servidor" with lore " " to close then run "ban %arg 1% hack"
  15. format slot 6 of player with a Name Tag named "&e&l- Abuso De Bugs" with lore " " to close then run "ban %arg 1% Abuso de bugs"
  16. format slot 7 of player with a Name Tag named "&e&l- Roubo" with lore " " to close then run "ban %arg 1% Roubo"
  17. format slot 8 of player with a Name Tag named "&e&l- Palavras inadequadas" with lore " " to close then run "ban %arg 1% Palavras inadequadas"
  18. format slot 9 of player with a Name Tag named "&e&l- Anti Jogo" with lore " " to close then run "ban %arg 1% Anti Jogo"
  19. format slot 10 of player with a Name Tag named "&e&l- Chat Fake" with lore " " to close then run "ban %arg 1% Chat Fake"
  20. format slot 11 of player with a Name Tag named "&e&l- Ameaçando" with lore " " to close then run "ban %arg 1% Ameaçando"
  21. format slot 12 of player with a Name Tag named "&e&l- Outro" with lore " " to close then run "ban %arg 1% Outro"
  22. else:
  23. send "&3&l[BAN] Comando incorreto (/punir (player)"
  24.  
  25.  
  26. command /ban [<offlineplayers>] [<text>]:
  27. permission: ban.use
  28. trigger:
  29. if arg 1 is set:
  30. if arg 2 is set:
  31. ban arg 1
  32. set {Motivo.%arg 1%} to arg 2
  33. kick the arg 1 due to "&cVoce foi banido do Servidor, Motivo: %arg 2%"
  34. broadcast "&a-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  35. broadcast "&aPlayer Banido:&C %arg 1%"
  36. broadcast ""
  37. broadcast "&aMotivo: &c%arg 2%"
  38. broadcast ""
  39. broadcast "&a-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  40. else:
  41. send "[zPunir] &eUse /Ban (player) (motivo)"
  42. else:
  43. send "[zPunir] &eUse /Ban (player) (motivo)"
  44.  
  45. command /desbanir [<offlineplayers>]:
  46. permission: ban.use
  47. trigger:
  48. if arg 1 is set:
  49. if arg 1 is banned:
  50. clear {Motivo.%arg 1%}
  51. unban arg 1
  52. broadcast "&6%player% Desbaniu: %arg 1%"
  53. else:
  54. send "[zPunir] &aJogador &b%arg 1% &aNao esta banido!"
  55. else:
  56. send "[zPunir] &aDigite o &bnome &ado Jogador!"
  57.  
  58. on connect:
  59. if player is banned:
  60. kick the player due to "&aVoce esta banido do Servidor Motivo: &b%{Motivo.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment