# &#x20;Creating and Managing

In this plugin there are **a lot of commands for in-game chat managing**. Here's the list with **commands** description and **all permissions**.<br>

For every command the main command "/chat" **has the alias "/c".**

<table data-header-hidden data-full-width="true"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><mark style="color:blue;">Commands</mark></td><td><mark style="color:blue;">Description</mark></td><td><mark style="color:blue;">Permission</mark></td></tr><tr><td>/chat create &#x3C;ID> &#x3C;ChatPrefix> &#x3C;Color></td><td>Create one custom chat with a UNIQUE id and a prefix and color that could be colored also with HEX colors.<br>Use <code>"_"</code>for adding spaces in prefix.</td><td>chatplus.commands.create</td></tr><tr><td>/chat delete &#x3C;ID></td><td>Delete one existing chat.</td><td>chatplus.commands.delete</td></tr><tr><td>/chat setchatprefix &#x3C;ID> &#x3C;newPrefix></td><td>Set a new chat prefix with colors and "_" for adding spaces </td><td>chatplus.commands.setchatprefix</td></tr><tr><td>/chat setchatcolor &#x3C;ID> &#x3C;color></td><td>Change the chat color. HEX colors support.</td><td>chatplus.commands.setchatcolor</td></tr><tr><td>/chat add &#x3C;ID> &#x3C;Player></td><td>Add a Online/Offline Player to a chat. It will be able to use that chat even if it hasn't the chat permission.</td><td>chatplus.commands.add</td></tr><tr><td>/chat remove &#x3C;ID> &#x3C;Player></td><td>Remove a Online/Offline Player to a chat. It will not be able to use that chat unless you have permission for the chat.</td><td>chatplus.commands.remove</td></tr><tr><td>/chat name &#x3C;ID> &#x3C;Player> &#x3C;newName> </td><td>Change the in-chat player's name.</td><td>chatplus.commands.setname</td></tr><tr><td>/chat prefix &#x3C;ID> &#x3C;Player> &#x3C;newPrefix></td><td>Change the player's in-chat user Prefix.</td><td>chatplus.commands.setprefix</td></tr><tr><td>/chat groupprefix &#x3C;ID> &#x3C;Group> &#x3C;newPrefix></td><td>Change the player group prefix. (Based on Vault Groups)</td><td>chatplus.commands.setgroupprefix</td></tr><tr><td>/chat addcode &#x3C;ID> &#x3C;code></td><td>Set the Crack Code of a chat.</td><td>chatplus.commands.addcode</td></tr><tr><td>/chat removecode &#x3C;ID></td><td>Remove the Crack Code of a chat.</td><td>chatplus.commands.removecode</td></tr></tbody></table>

### <mark style="color:blue;">Clarifications on the commands</mark>

* You can use "\_" character to adding spaces in ChatPrefix, UserPrefix and GroupPrefix.
* You can use HEX colors in ChatPrefix, UserPrefix, GroupPrefix and ChatColor.
* You can set a player or a group prefix to "\_\_clear" to remove their prefix.
* To change the custom player's name in a chat it should be added to tha chat.
* About Group Prefixes it will take the first group of a player bases on Vault and a permision plugin.

The **permission**: *chatplus.commands.\** gives **all commands' permissions** to a player.\
The **permission**: *chatplus.chat.\** gives **all chats' permissions** to a player.\
The **permission**: **chatplus.\*** gives **all the permissions of the plugin.**
