Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /punir [<player>]:
- permission: ban.use
- permission message: &cSem permissão!
- trigger:
- if arg 1 is set:
- send "&c >> Abrindo Menu De Bans"
- wait 3 seconds
- open chest with 2 row named "&f&lBan'S" to player
- 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"
- 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"
- 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"
- format slot 3 of player with a Name Tag named "&e&l- Flood" with lore " " to close then run "ban %arg 1% Flood"
- format slot 4 of player with a Name Tag named "&e&l- Grief" with lore " " to close then run "ban %arg 1% grief"
- 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"
- 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"
- format slot 7 of player with a Name Tag named "&e&l- Roubo" with lore " " to close then run "ban %arg 1% Roubo"
- 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"
- 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"
- 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"
- 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"
- format slot 12 of player with a Name Tag named "&e&l- Outro" with lore " " to close then run "ban %arg 1% Outro"
- else:
- send "&3&l[BAN] Comando incorreto (/punir (player)"
- command /ban [<offlineplayers>] [<text>]:
- permission: ban.use
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- ban arg 1
- set {Motivo.%arg 1%} to arg 2
- kick the arg 1 due to "&cVoce foi banido do Servidor, Motivo: %arg 2%"
- broadcast "&a-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- broadcast "&aPlayer Banido:&C %arg 1%"
- broadcast ""
- broadcast "&aMotivo: &c%arg 2%"
- broadcast ""
- broadcast "&a-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- else:
- send "[zPunir] &eUse /Ban (player) (motivo)"
- else:
- send "[zPunir] &eUse /Ban (player) (motivo)"
- command /desbanir [<offlineplayers>]:
- permission: ban.use
- trigger:
- if arg 1 is set:
- if arg 1 is banned:
- clear {Motivo.%arg 1%}
- unban arg 1
- broadcast "&6%player% Desbaniu: %arg 1%"
- else:
- send "[zPunir] &aJogador &b%arg 1% &aNao esta banido!"
- else:
- send "[zPunir] &aDigite o &bnome &ado Jogador!"
- on connect:
- if player is banned:
- kick the player due to "&aVoce esta banido do Servidor Motivo: &b%{Motivo.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment