Installing a resource on a FiveM server in 2026

A FiveM resource is a folder grouping client scripts, server scripts and sometimes content files. The server can start, stop or restart it on the fly, without touching the rest of the game. Installing a FiveM resource therefore comes down to three steps: place the folder in the right spot, check its manifest, then declare it in the server configuration.

The method described here applies to current FXServer builds, those whose manifest declares fx_version 'cerulean'. It was cross-checked on August 4, 2026 against the Cfx.re documentation. Allow about ten minutes for a standalone script, more if the resource depends on a framework. Expected result: the resource starts with no warning in the console and restarts by itself every time the server is relaunched.

What you need: an FXServer server already installed and started at least once, access to the server files (file manager, FTP or SSH), the ability to edit server.cfg, and access to the server console to type commands. If the server doesn’t exist yet, start with the FiveM server installation tutorial.

Where FXServer looks for resources

On the server, resources are loaded from a resources/ folder located in the server’s data directory, the one that also contains server.cfg. Any folder placed in resources/ is scanned as a resource, with one exception: folders whose name is surrounded by square brackets, like [cars], are categories. A category contains no code; it’s used to group several resources.

server
└── resources
    ├── [category]
    │   ├── resource-1
    │   │   └── fxmanifest.lua
    │   └── resource-2
    │       └── fxmanifest.lua
    └── my-resource
        └── fxmanifest.lua

This layout has a practical benefit: a whole category starts with a single line, start [category]. Each resource folder, however, must contain an fxmanifest.lua file at its root. This manifest tells the server which files belong to the resource and which scripts to run on the client or the server. Without it, the folder isn’t recognized as a resource. The available keys are detailed in the resource manifest reference.

Back up server.cfg and the resources folder

Adding a resource erases nothing in itself, but uploading can overwrite data. If the uploaded folder has the same name as an existing folder, most FTP clients and file managers replace the existing files without asking for confirmation. An already-configured resource can lose its settings this way, and a rewritten server.cfg wipes out all previous lines.

Before any operation, get a copy of server.cfg and the resources/ folder, or trigger a backup from your hosting panel. This copy is your restore point: it’s what will let you return to the original state if the new resource prevents the server from starting.

Get the resource from an official source

The Cfx.re documentation points to two places to find resources: the Cfx Marketplace and the Releases section of the official forum. The forum offers filters, including a standalone tag grouping resources that depend on no other.

Two points deserve attention before downloading. First, dependencies: many scripts rely on a framework or a third-party library and won’t start if it’s missing or loaded too late. Second, responsibility: the official documentation reminds you that resources are community-made, used at your own risk, and not covered by FiveM support. For a paid resource, it recommends going through the Cfx Marketplace or Tebex to avoid scams. The author’s terms of use apply in every case.

Put the folder in the right place

Unzip the archive on your computer, not directly on the server. Open the resulting folder and check that it does contain fxmanifest.lua at its root. The most common mistake comes from a nested folder: the archive produces my-resource/my-resource/fxmanifest.lua, and it’s the inner folder you need to upload.

Then rename the folder in lowercase, without spaces or accents. On Linux, case matters: a resource whose folder is called MyResource won’t respond to ensure my-resource. On Windows, case is ignored, which hides the problem until a possible migration. Finally, upload the folder into resources/, or into one of your existing categories.

Declare the resource in server.cfg

The server only starts resources listed in server.cfg. Open this file and add the corresponding line. The Cfx.re documentation describes four resource management commands:

  • start starts the resource if it was stopped;
  • stop stops it if it was running;
  • ensure restarts it if it was running, and starts it otherwise;
  • restart restarts it if it was running.

It’s ensure you should prefer in server.cfg: the result is the same whatever the resource’s state when the file is read. Line order also matters, since dependencies must be started before the resources that use them.

# the dependency first
ensure my-library

# then the resource that uses it
ensure my-resource

Lines starting with # are comments: they document the file without being executed. They also let you temporarily disable a resource without deleting its line.

Load the resource and watch the console

Two commands are enough, typed in the server console:

refresh
ensure my-resource

refresh rereads the resources/ folder and loads the manifests found there, which makes new folders available for starting. ensure then launches the one you want. This way you avoid interrupting the ongoing game. If you’d rather start from a clean slate, a full server restart rereads server.cfg and gives the same result.

Watch the console during loading. A warning like my-resource does not have a resource manifest (fxmanifest.lua) means the uploaded folder doesn’t contain a manifest at its root, which typically corresponds to the nested folder case. Once the resource has started without errors, join the server and test the feature concerned: chat command, menu, vehicle or map area depending on the installed script.

When the resource refuses to start

  • No manifest detected: one folder level too many, or a file named something other than fxmanifest.lua.
  • Manifest reported as deprecated: the resource uses the old __resource.lua. The documentation says it can be renamed to fxmanifest.lua, provided its content is adapted.
  • Resource not found: name misspelled in server.cfg, or case different from the folder’s on Linux.
  • Dependency error: the required library is missing, or declared after the resource in server.cfg.
  • Nothing changes after uploading: refresh wasn’t run, or the edited file isn’t the one the server actually reads at startup.

Roll back

1. In the server console: stop my-resource.

2. Remove or comment out the ensure my-resource line in server.cfg.

3. Delete the resources/my-resource folder.

4. If an existing folder was overwritten during the upload, restore it from the copy made before installation, then restart the server.

This procedure requires direct access to the server files and console. Koinswift’s GTA V / FiveM plans start at 3,99 € per month for 6 GB of RAM and give access to the Koinswift Panel’s file manager, backups and version selection, on a secure, filtered network infrastructure. Support remains reachable 7 days a week if loading a resource causes trouble.

Further reading