---
title: "Plugin configuration"
description: "Every setting of the DiscordMute plugin in Among Us."
canonical_url: "https://docs.mute.yonn2222.com/configuration/plugin-config"
---
# Plugin configuration

> Every setting of the DiscordMute plugin in Among Us.

The plugin creates its `config.json` the first time you start Among Us. You find it in `BepInEx/DiscordMute` inside your Among Us folder.

<warning>

In a folder path, write every backslash twice (`C:\\Path`) or use forward slashes (`C:/Path`). A single backslash breaks the file and the plugin falls back to its defaults.

</warning>

## Settings

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Meaning
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        mode
      </code>
    </td>
    
    <td>
      not set
    </td>
    
    <td>
      Set to <code>
        hosted
      </code>
      
       to use the <a href="https://docs.mute.yonn2222.com/getting-started/hosted-setup">
        hosted bot
      </a>
      
      . Leave it out when you run the bot yourself. In hosted mode <code>
        ip
      </code>
      
      , <code>
        botPort
      </code>
      
       and <code>
        exe
      </code>
      
       are ignored.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        ip
      </code>
    </td>
    
    <td>
      <code>
        localhost
      </code>
    </td>
    
    <td>
      The address of the PC that runs the bot.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        botPort
      </code>
    </td>
    
    <td>
      <code>
        7264
      </code>
    </td>
    
    <td>
      The port of the bot. It must match the bot.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        secret
      </code>
    </td>
    
    <td>
      <code>
        change-me
      </code>
    </td>
    
    <td>
      The shared password. It must be identical to the bot <code>
        secret
      </code>
      
      . In hosted mode, use the secret from <code>
        /setup
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        exe
      </code>
    </td>
    
    <td>
      empty
    </td>
    
    <td>
      The full path to <code>
        start.bat
      </code>
      
       in the <code>
        DiscordBot
      </code>
      
       folder. The plugin starts the bot from there.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        bridgeLogsToBotConsole
      </code>
    </td>
    
    <td>
      <code>
        false
      </code>
    </td>
    
    <td>
      Show all plugin and BepInEx messages in the bot window. Warnings and errors from the plugin always show. Ignored in hosted mode, where no plugin logs are sent.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        disableUpdateCheck
      </code>
    </td>
    
    <td>
      <code>
        false
      </code>
    </td>
    
    <td>
      Set to <code>
        true
      </code>
      
       to turn off the <a href="https://docs.mute.yonn2222.com/privacy/update-check">
        update check
      </a>
      
      . The line is only in the file if you add it.
    </td>
  </tr>
</tbody>
</table>

## Example

```json
{
  "ip": "localhost",
  "botPort": 7264,
  "secret": "replace-this-with-your-own-secret",
  "exe": "C:\\Path\\To\\DiscordBot\\start.bat",
  "bridgeLogsToBotConsole": false
}
```


## Sitemap

See the full [sitemap](https://docs.mute.yonn2222.com/sitemap.md) for all pages.
