Ir para conteúdo

Plugin de tell of e on


Clonadoo

Posts Recomendados

Vf1CRbA.png

 

 

Função: Plugin de /tell on e off se tivar desativado o player não consegue enviar msg para o cara que ta com tell desativado
 
Versão do servidor:
 
[  ] 1.5.2
[  ] 1.7.x

[x] 1.8.x

[  ] 1.9.x
[  ] Outro:
 
Uso de MySQL:
 
[  ] Sim
[x] Não
 
Deverá gerar log:
 
[  ] Sim
[x] Não
 
Comandos:
 
[  ] Nenhum
[  ] Outro:
 
Versão do Java:
 
[  ] Java 7
[x] Java 8
[  ] Outro:
 
Dependencia/Compatibilidade:
 
[  ] WorldGuard
[  ] LegenChat
[  ] Vault
[x] Nenhum
[  ] Outro:

Link para o comentário
Compartilhar em outros sites

Adicione ao servidor o seguintes Plugin:

 

LegendChat-Ext

 

 

Comandos:

 

 

/chat tell - ativa o chat tell.

/chat tell - desativa o chat tell.

 

 

 

Casso deseje alterar o comando "/chat tell" para "/tell on" é "/tell off" adicione o Plugin:

 

Mycommand:

 

 

Adicione ao documento examples.yml o seguinte código:

 

 

'Tell on':
  command: /tell on
  type: ALIAS
  alias: /chat tell
  permission-required: false
  permission-node: mycommand.tell.on
'Tell off':
  command: /tell off
  type: ALIAS
  alias: /chat tell
10  permission-required: false
  permission-node: mycommand.tell.off

 

 

 

Outra opção:

 

Adicione ao servidor o seguinte Plugin:

 

Skript:

 

https://dev.bukkit.org/projects/skript/files/779542/download

 

Adicione o seguinte código a pasta scripts:

 

Script:

 

 

command /optell [<text>]:
    trigger:
        if arg 1 is "on":
            set {tell.%player%.off} to "true"
        if arg 1 is "off":
            set {tell.%player%.off} to "false"
            
on command
"tell":
    if {tell.%player%.off} is "true":
        send "&c Esse(a) jogador(a) está com o tell desativado."
        cancel event
        stop
    
else:
        stop 

 

 

 

Download do código pronto:

 

 

 

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...