Aviso: Este skript é compatível com os seguintes plugis: LsFight, Gladiator, Minigladiador (Caso o cmd seja /minigladiador iniciar) e killer, ou seja, o skript irá iniciar os eventos apenas se os plugins estiverem instalados e funcionado no servidor!
Skript:
command /iniciarevento [<text>]:
permission: galaxy.eventos
permission message: &cSem permissao
trigger:
if arg 1 is "1":
send "&bIniciando evento em&4 3 &bsegundos!"
wait 3 seconds
execute console command "gladiador forcestart"
broadcast "&9[&bEventos&9] &bO STAFF &c%player% &biniciou o evento &4gladiador&b!"
else if arg 1 is "2":
send "&bIniciando evento em&4 3 &bsegundos!"
wait 3 seconds
execute console command "fight finiciar"
broadcast "&9[&bEventos&9] &bO STAFF &c%player% &biniciou o evento &4fight&b!"
else if arg 1 is "3":
send "&bIniciando evento em&4 3 &bsegundos!"
wait 3 seconds
execute console command "minigladiador iniciar"
broadcast "&9[&bEventos&9] &bO STAFF &c%player% &biniciou o evento &4minigladiador&b!"
else if arg 1 is "4":
send "&bIniciando evento em&4 3 &bsegundos!"
wait 3 seconds
execute console command "killer forcestart"
broadcast "&9[&bEventos&9] &bO STAFF &c%player% &biniciou o evento &4killer&b!"
command /eventoid:
permission: galaxy.eventos
permission message: &cSem permissao
trigger:
send "&bID 1: &cgladiador"
send "&bID 2: &cfight"
send "&bID 3: &cminigladiador"
send "&bID 4: &ckiller"
Comandos:
/eventoid (para ver o id dos eventos);
/iniciarevento <id> (Para iniciar o evento de acordo com o ID)
Permissões:
galaxy.eventos