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

# Installation Guide

> Follow these steps to install Eagle Anti-Cheat on your FiveM server.

<Steps>
  <Step title="Purchase a License Key">
    Purchase a license key from our **[Store](https://eagleanti.com/en/products)**.
  </Step>

  <Step title="Download the Resource">
    After purchasing, open your **[Dashboard](https://eagleanti.com/en/dashboard)** and click **Download** to get the latest version.
  </Step>

  <Step title="Install the Resource">
    Extract the downloaded ZIP and place the folders into your server’s `resources` directory under **`[EC]`**.

    ### Required folder structure

    ```text theme={null}
    server/
      resources/
        [EC]/
          EC_AC/
          EC-PANEL/
    ```

    <Note>
      Do **not** rename `EC_AC`, `EC-PANEL`, or the `[EC]` bracket folder format. Renaming can break internal references and updates.
    </Note>
  </Step>

  <Step title="Add to server.cfg">
    Open your **[`server.cfg`](https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/#servercfg)** and ensure **\[EC]** starts **first**.

    <CodeGroup>
      ```cfg server.cfg (minimum) theme={null}
      ensure [EC]
      ```

      ```cfg server.cfg (recommended order) theme={null}
      ensure [EC]

      sv_hostname "change-me built with FiveM Basic Server!"
      sets sv_projectName "[FiveM Basic Server] change-me"
      sets sv_projectDesc "Recipe for the base resources required to run a minimal FiveM server."
      sets tags "default, deployer"
      sets locale "root-AQ"

      ## You CAN edit the following:
      sv_enforceGameBuild 3258 #mp2024_01 - Bottom Dollar Bounties
      sv_licenseKey "xxxxx"
      sv_maxclients 48
      endpoint_add_tcp "0.0.0.0:30120"
      endpoint_add_udp "0.0.0.0:30120"
      set steam_webApiKey "none"
      set resources_useSystemChat true

      set mumble_allowExternalConnections true
      set mumble_adminPass "YourMumbleServerPassword"
      setr mumble_adminPass "YourMumbleServerPassword"

      ## These resources will start by default.
      ensure mapmanager
      ensure chat
      ensure spawnmanager
      ensure sessionmanager
      ensure basic-gamemode
      ensure hardcap
      ```
    </CodeGroup>

    <Check>
      If `ensure [EC]` is at the top, you avoid most problems.
    </Check>
  </Step>

  <Step title="Restart the Server">
    Restart your server to apply the changes.

    After restart, verify:

    * Console shows an Eagle startup message after all resources are loaded
    * Dashboard shows the server as **Online**
  </Step>

  <Step title="Installation Guide Video">
    For a full walkthrough, watch the **[Installation Guide Video](https://youtu.be/cAjfL6IA6Zc)**.
  </Step>
</Steps>
