Skip to Content

Installation

Download a resource from the Cfx.re Portal, add it to your server and start it.

Before you start

You need:

  • A FiveM server (FXServer) whose files and server.cfg you can edit.
  • A server license key (sv_licenseKey) generated on the Cfx.re Portal with the same Cfx.re account that owns the resource.
  • Up-to-date server artifacts. Escrowed resources need a recent server build, and old artifacts are a common cause of loading errors.
  • Any dependencies listed for the resource on its store page or in its documentation.

Install a resource

Download it from the Cfx.re Portal

Sign in at portal.cfx.re with the Cfx.re account you used at checkout. Go to Assets → Granted Assets, find the resource and download it.

Add it to your resources folder

Extract the download and move the resource folder into your server's resources directory. You can group resources in a category folder such as resources/[wlvf]: folders in square brackets are only for grouping.

Check that fxmanifest.lua sits directly inside the resource folder, not one level deeper:

resources/
  [wlvf]/
    resource-name/
      fxmanifest.lua
      ...

Ensure it in server.cfg

Add the resource to your server.cfg, below any resources it depends on. The name is the resource's folder name:

server.cfg
ensure resource-name

Configure it

Most resources ship with a config file, usually config.lua. Escrowed resources keep their config files editable: change settings there, and leave the protected files alone.

Start it

Restart the server to load the resource. On a running server you can instead run refresh and then ensure resource-name in the server console.

Escrow requirements

Most paid resources are protected by the Cfx.re asset escrow system: their code is encrypted and only runs on servers that are allowed to use it. For an escrowed resource to start:

  • Same account. The server's license key must belong to the Cfx.re account that owns the resource, which is the account you logged in with at checkout.
  • Current artifacts. Keep your server artifacts up to date. Outdated builds can fail to load protected files.
  • Unmodified files. Don't edit the encrypted files or delete the .fxap file. If you upload over FTP, use binary transfer mode so files aren't changed in transit.
  • Original folder name. Don't rename the resource folder unless that resource's documentation says renaming is supported.

Running more than one server?

Every server that runs the resource, including development and test servers, needs a license key from the Cfx.re account that owns it.

Updating a resource

When an update is released, download the resource again from Granted Assets. Then:

  1. Back up your config files.
  2. Replace the old resource folder with the new one.
  3. Re-apply your settings. Compare with the new config file rather than pasting the old one over it, in case options were added or renamed.
  4. Restart the server.

If something breaks after an update, see Troubleshooting.

On this page