> For the complete documentation index, see [llms.txt](https://cepwiki.xbuhari.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cepwiki.xbuhari.com.tr/english/about-the-plugin/sending-commands-to-the-game.md).

# Sending Commands to the Game

On this page you can get information about the command sending system to the game.

### System

You can allow the specified commands to the roles specified in the settings file and have those commands sent to the game.&#x20;

For example, if you give Y command permission to the X role, people in this role can send the Y command to the game with /command Y.&#x20;

You can also log to a channel.

## Configuration File

```yaml
cmd_usage_discord_to_game:
  status: true # Should the mode for sending commands to the game be active?
  cmdsLogs: '1258550213539397632' # Should logs for the sent commands be kept? If you don't want to log them, you can write null.
  roles_and_cmds: # Roles and the commands they can use are configured here.
    '1251962081830240396': # role id
      - 'say' # The commands they can use; only the main command should be written. Do not put a / at the beginning.
```
