Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # Coloque aqui o prefixo das mensagens
- Prefixo: &4[WinagBans]
- # Coloque aqui os comandos que seram executados no /ban00
- Comando1: mmoedit %arg 1% all 0
- Comando2: money set %arg 1% 0
- Comando3: resetkdr %arg 1%
- Comando4: clearchest %arg 1%
- Comando5: thor %arg 1%
- Comando6: kill %arg 1%
- Comando7: ban %arg 1% %arg 2% %player%
- # Mensagens do plugin
- MensagemBan: &f%player%&c baniu &f%arg 1%
- MensagemUnban: &f%player%&c desbaniu &f%arg 1%
- command /ban00 [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "ban.ban00":
- execute console command "{@Comando1}"
- execute console command "{@Comando2}"
- execute console command "{@Comando3}"
- execute console command "{@Comando4}"
- execute console command "{@Comando5}"
- execute console command "{@Comando6}"
- execute console command "{@Comando7}"
- stop
- else:
- send "{@Prefixo}&c Use /ban <player> <motivo>"
- else:
- send "{@Prefixo}&c Você não tem permissão para isso."
- command /ban [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "ban.ban":
- broadcast "{@Prefixo}{@MensagemBan}"
- ban arg 1 due to "%arg 2%"
- stop
- command /desbanir [<offlineplayer>]:
- trigger:
- if arg 1 is set:
- unban arg 1
- broadcast "{@Prefixo} {@MensagemUnban}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment