How To Install Resources on Your FiveM Server

Learn how to add scripts, mods, and custom resources to your FiveM dedicated server.

FiveM uses a resource system for adding scripts, game modes, vehicles, maps, and other custom content to your server. Here is how to install them.

Download the Resource

Download the resource you want to install. Popular sources for FiveM resources include:

Resources typically come as a .zip file containing a folder with scripts and configuration.

Stop Your Server

Log in to the XGamingServer Panel and Stop your FiveM server.

Upload the Resource

In the sidebar, click Files. Navigate to the resources/ directory (or a subfolder like resources/[custom]/). Upload and extract the resource folder.

Add the Resource to server.cfg

Open server.cfg and add an ensure line for the new resource:

ensure my-new-resource

The name should match the resource's folder name.

Configure the Resource (If Needed)

Many resources include a config.lua or config.json file. Open it and adjust the settings according to the resource's documentation.

Start Your Server

Start the server and check the console for any errors related to the new resource.

Organizing Resources

It is good practice to organize your resources into folders:

resources/
  [core]/
    mapmanager/
    chat/
    sessionmanager/
  [vehicles]/
    custom-cars/
  [scripts]/
    esx_core/
    esx_ambulancejob/
  [maps]/
    custom-interior/

In your server.cfg, you can ensure entire folders:

ensure [core]
ensure [vehicles]
ensure [scripts]

⚠️ Warning: Only install resources from trusted sources. Malicious scripts can compromise your server or your players' experience.

📝 Note: Some resources depend on other resources (like ESX or QBCore frameworks). Make sure all dependencies are installed and loaded first in your server.cfg.

💡 Tip: If a resource is not working, check the server console for error messages. Common issues include missing dependencies, incorrect folder names, or syntax errors in configuration files.

How is this guide?

40% Off — Limited TimeGet your Fivem server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page