# Configuration

## Banned Commands list

```yaml
# List of banned commands
bannedCommands:
  - icanhasbukkit
  - about
  - "?"
  - ver
  - bukkit:ver
  - bukkit:about
  - bukkit:pl
  - bukkit:plugins
  - bukkit:help
  - bukkit:?
```

This is the list of banned commands, you can add or remove commands to this list, it is not necessary to use quotation marks

## Tab

```yaml
tab:
  # Blocks all commands that contain ":"
  block-all-additional-commands: true
  noTabCompleteCommands:
    - icanhasbukkit
    - about
    - "?"
    - ver
  add-tab-complete-commands:
    - r
```

* block-all-additional-commands: Blocks all commands with the ":" character, e.g. bukkit:/pl
* noTabCompleteCommands: Block / in all the commands in the list
* add-tab-complete-commands: Add commands to the autocomplete

## Actions

### Message

```yaml
blockedMessage:
  - "&8--------- { &#c03afeT&#a72cf8C&#8e1ff1h&#7411eba&#5b03e4t &8} ---------"
  - "   &cYou can't use this command!"
  - "&8---------------------------"
```

Sends a multi-line message

### Title

```yaml
# Title displayed to players when they type a blocked word
title:
  # Enable/disable the title
  enabled: true
  # Title
  title: "✶ &#fe0000Y&#f50101o&#ec0202u &#e20202c&#d90303a&#d00404n&#c70505'&#bd0606t &#b40707w&#ab0707r&#a20808i&#980909t&#8f0a0ae &#860b0bt&#7d0b0bh&#730c0ca&#6a0d0dt &f✶"
  # Subtitle
  subtitle: "&#A5A5A5Execute another command."
```

* Enabled: Enable/disable the title and subtitle
* Title: The text of the title
* Subtitle: The text of the subtitle

### Actionbar

```yaml
# Action bar displayed to players when they type a blocked word
actionbar:
  # Enable/disable the title
  enabled: true
  # Action bar text
  bar: "&7[&#c03afeT&#a72cf8C&#8e1ff1h&#7411eba&#5b03e4t&7] &#fe0000Y&#f50101o&#ec0202u &#e20202c&#d90303a&#d00404n&#c70505'&#bd0606t &#b40707w&#ab0707r&#a20808i&#980909t&#8f0a0ae &#860b0bt&#7d0b0bh&#730c0ca&#6a0d0dt"
```

* Enabled: Enable/disable the actionbar
* Bar: The action bar text

### Sound

```yaml
# Sound executed to players when they type a blocked word
sound:
  # Enable/disable the sound
  enabled: true
  # Sound
  # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  sound: "ENTITY_VILLAGER_NO"
```

* Enabled: Enable/disable the sound
* Sound: The sound name, full list [here](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html)

### Particles

```yaml
particles:
  # Enable/disable particles
  enabled: false
  # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
  particle: ANGRY_VILLAGER
  # Number of particles
  particles: 4
```

* Enabled: Enable/disable the particles
* Particle: The particle name, full list [here](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html)
* Particles: The number of particles

### Bypass Permissions

```yaml
bypass:
  command:
    permission: "tchat.bypass.command_blocker.command"
  tab:
    permission: "tchat.bypass.command_blocker.tab"
```

Here you can modify the permissions to bypass the blocked commands both in command and in \<tab>
