Olá, Venho apresentar meu script de /anuncio !
Para usar o anuncio o player deverá ter no minimo 16 diamantes no inventario.
C0D1G0-F0NT3
options:
# - PERMISSAO GERAL
Permissao: anuncio.usar
# - PREFIX DOS ANUNCIOS
Anuncio: &2[Anuncio]&b
# - MENSAGEM DE QUANDO O ANUNCIO FOI USADO
AnuncioUsado: &2[A]Você usou o anuncio com sucesso
# - PREFIXO
P: &2[A] &b
command /anuncio [<text>]:
permission: {@Permissao}
permission message: &cSem permissao
trigger:
if arg 1 is set:
if player has 16 diamond in inventory:
broadcast "{@Anuncio} %coloured arg 1%"
remove 16 diamond from player's inventory
send "{@AnuncioUsado}"
else:
send "{@P}Voce nao tem 16 Diamantes no seu inventario!"
else:
send "{@P}Use /anuncio <msg>"
CREDITOS
Atôm