> For the complete documentation index, see [llms.txt](https://tcb.tect.host/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tcb.tect.host/pro/configuration.md).

# Configuration

Configuration file: config.yml

## Messages file

This is the file that will be used to access all the plugin messages, it must be located inside the "lang" directory.

{% hint style="info" %}
By default the plugin comes with **messages\_en.yml** (English) and **messages\_es.yml** (Spanish) files, but you can add as many files as you want, as long as they are inside the **lang** folder.
{% endhint %}

## Blocked commands

```yaml
# Banned Commands list (in chat)
chat:
  # If you want to use the global command blocker (the list of blocked commands in this file) enable this option
  use-global-list: true
  # Use this list only if the above option is set to true, otherwise use the groups.yml lists
  blocked-commands:
    - "pl|pl"
    - "bukkit:pl|pl"
    - "plugins|pl"
    - "bukkit:plugins|pl"
    - "help|help"
    - "bukkit:help|help"
    - "icanhasbukkit|icanhasbukkit"
    - "bukkit:icanhasbukkit|icanhasbukkit"
    - "ver|version"
    - "bukkit:ver|version"
    - "version|version"
    - "bukkit:version|version"
    - "about|about"
    - "bukkit:about|about"
    - "?|help"
```

* **use-global-list:** If enabled, the list of blocked commands of the corresponding group will be used and not this global list
* **blocked-commands:** The global list of blocked comndos
  * **Format:** (command blocked)|(action group (actions.yml))
    * **Example:** `pl|plugins`\
      The blocked command will be: `pl`\
      The action group will be: `plugins`

## Blocked \<TAB> commands

```yaml
tab:
  # Blocks all commands that contain “:”
  block-extra-commands: true

  # If you want to use the global tab blocker (the list of tab blocked commands in this file) enable this option
  use-global-list: true
  # Modes:
  # 1 -> Blacklist
  # 2 -> Whitelist
  mode: 1
  # Use this list only if the "use-global-list" option is set to true, otherwise use the groups.yml lists
  blocked-commands:
    - "ver"
    - "about"
    - "version"
    - "help"
    - "?"

  # Register commands in tab autocomplete
  register:
    use-global-list: true
    list:
      - "r"
```

* **block-extra-commands:** This option blocks all commands containing ":", e.g.: bukkit:pl
* **use-global-list:** This option determines whether to use the global list of this file or the list of the corresponding group
* **mode:** Determines whether the list is a Blacklist (1) or a Whitelist (2)
* **blocked-commands:** The global list of blocked/added commands (depending on the mode) in the /\<TAB>
* **Register:**
  * **use-global-list:** This option determines whether to use the global list of this file or the list of the corresponding group.
