# Chat

## Con questo plugin saprai quando verrà scritto il tuo nome in chat e verrà sottolineato, in modo che tu possa riconoscere il messaggio in mezzo a quello di tutti gli altri.

{% hint style="info" %}
**Se trovi bug o vuoi aiutarmi con un implementazione al plugin puoi farlo su** [**GitHub**](https://github.com/ax3lt/Chat/)**.**
{% endhint %}

### Info

Per impostare i permessi avrai bisogno di un plugin di come [LuckPerms](https://luckperms.net/).\
Nella config puoi modificare il plugin che manda messaggi alla riga 2.

Puoi customizzare come verrà rimpiazzato il tuo nome e il suono che verrà riprodotto.\
Lo stesso per i messaggi privati e il tpa e tpahere.

Se sei un admin ora potrai anche richiamare l'attenzione di tutti i player in chat scrivendo @everyone, anche questo customizzabile.

### **Comandi:**

|    Comando   |   Permesso  |       Descrizione      |
| :----------: | :---------: | :--------------------: |
| /chat reload | chat.reload | Ricarica la config.yml |

#### **Permessi aggiuntivi:**

`chat.use`Permesso dato di default a tutti i player.

`chat.everyone`Permesso di scrivere @everyone. Lo hanno i player op di default.

#### **File di configurazione:**

{% tabs %}
{% tab title="YAML" %}
{% code title="config.yml" %}

```yaml
#PLugin used for the chat
plugin: "essentials"

# When a player do /msg or aliases
message:
  sound: "minecraft:ui.cartography_table.take_result"
  volume: 2
  pitch: 1.5


chat:
  #How should the string be replaced if it finds the player?
  replaced: "&a@"
  sound: "minecraft:block.note_block.pling"
  volume: 2
  pitch: 2

tpa: # e tpahere
  sound: "minecraft:block.note_block.bit"
  volume: 2
  pitch: 2

everyone:
  replaced: "&c@"
  sound: "minecraft:block.note_block.pling"
  volume: 2
  pitch: 2


reload-message: "&l&2Config.yml reloaded!"

missing-message-error: "&cError: Missing message"

plugin-start: "&2Chat has been enabled!"
plugin-stop: "&4Chat has been disabled!"
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.ax3lt.com/plugins/chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
