> ## Documentation Index
> Fetch the complete documentation index at: https://docs.duckybot.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# In-Game Commands

> Learn how to configure in-game commands properly, allowing you to easily manage your shift, log punishments, create BOLOs, message a group of people, and more.

<Warning>
  You must be the owner of the ERLC private server in order to access the private server settings necessary for this configuration.
</Warning>

<Steps>
  <Step title="Link your ERLC Private Server">
    If you'd like for Ducky to be able to reply to your in-game commands via in-game Private Messages, you should [link your ERLC Private Server](/tutorials/linkerlc).
  </Step>

  <Step title="ERLC Command Logs">
    1. Create a channel where all commands used in-game will be logged.
    2. Edit the channel, and select the **Integrations** tab.
    3. Create a new webhook, and copy the URL. You do not have to change the webhook's name or avatar.
    4. Head back to your ERLC private server's settings.
    5. Search for **Command Logs Webhook**.
    6. Press **Edit**, and paste the webhook URL you copied.

    <Tip>
      You can confirm that you pasted the webhook URL correctly by running any private server command! If it doesn't show up, then there is an error with the URL entered.
    </Tip>

    <Warning>
      Command logs are managed by ERLC, not Ducky. If they randomly stop working, it's likely due to one of the following reasons:

      * A security bot, such as Wick, has deleted the webhook due to embed spam. Be sure to whitelist the channel or webhook you created using the appropriate command for the security service you use.
      * The PRC API is experiencing issues. Nobody but PRC can resolve the issue, so simply be patient and wait for the issue to be resolved.
    </Warning>
  </Step>

  <Step title="Configuring with Ducky">
    1. Run the **`/setup`** command and navigate to the **ERLC Integration** page.
    2. Select **Edit Command Logs Channel**, and select the channel you created.
  </Step>

  <Step title="Link your Roblox Account">
    1. Run the **`/link`** command, and press **Link**.
    2. As shown on the page you are redirected to, authorize Ducky to access your Roblox and Discord usernames and IDs in order to link your accounts together.
  </Step>

  <Step title="Completed">
    You are now able to use Ducky's in-game commands. To view a full list of all available in-game commands, run the **`/help`** command and navigate to **Commands** -> **In-Game Commands**.

    <Tip>
      You can run a quick test to ensure everything is working correctly by running the **`:log ping`** command in-game.
    </Tip>
  </Step>
</Steps>
