# How To Install Resources on Your RedM Server (/docs/redm/install-resources)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Resources are the building blocks of a RedM server. They include scripts, maps, game modes, UI elements, and other functionality that extend and customize the player experience.

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer Panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com).
  </div>

  <div className="fd-step">
    Stop Your Server [#2-stop-your-server]

    Make sure your server is **stopped** before installing resources.
  </div>

  <div className="fd-step">
    Download the Resource [#3-download-the-resource]

    Download the resource you want to install. Common sources for RedM resources include:

    * [GitHub](https://github.com/) - Many open-source RedM resources
    * Community forums and Discord servers
    * Resource marketplaces

    Make sure the resource is compatible with RedM (not just FiveM).
  </div>

  <div className="fd-step">
    Open Files [#4-open-files]

    In the sidebar, click **Files**.
  </div>

  <div className="fd-step">
    Navigate to the Resources Folder [#5-navigate-to-the-resources-folder]

    Navigate to the `resources` directory. If your server uses category folders, navigate to the appropriate subfolder (e.g., `resources/[scripts]/`).
  </div>

  <div className="fd-step">
    Upload the Resource [#6-upload-the-resource]

    Click **Upload** and upload the resource folder. If the resource is in a ZIP file, upload the ZIP and then extract it using the **Unarchive** button.

    Make sure the resource folder structure is correct. The resource folder should contain a `fxmanifest.lua` or `__resource.lua` file at its root level.
  </div>

  <div className="fd-step">
    Add the Resource to server.cfg [#7-add-the-resource-to-servercfg]

    Open your `server.cfg` file and add an `ensure` line for the resource:

    ```
    ensure my-resource-name
    ```

    The resource name should match the folder name in the `resources` directory.
  </div>

  <div className="fd-step">
    Start Your Server [#8-start-your-server]

    Click **Start** to launch your server with the new resource loaded.
  </div>

  <div className="fd-step">
    Verify the Resource [#9-verify-the-resource]

    Check the **Console** in the panel to make sure the resource started without errors. Look for any error messages related to the resource name.

    > ⚠️ **Warning:** Only install resources from trusted sources. Malicious resources can compromise your server or steal player data.

    > 💡 **Tip:** If a resource requires dependencies (other resources it needs to function), make sure you install those first and list them before the dependent resource in your `server.cfg`. For more details on server configuration, see [Configure Your Server](/docs/redm/configure-your-server).
  </div>
</div>
