Outcome
Theelement_sdk resource and one product resource start cleanly on your server, with no warnings
for either.
Prerequisites
- A server that meets the server requirements, including any framework the product needs.
- The
element_sdkarchive and the product archive, downloaded from the CFX portal. - Write access to
resourcesandserver.cfg.
Steps
Extract the SDK
Extract the product beside it
The
[element] folder is a convention that groups Element Labs resources together. Any
location under resources works; the brackets tell FiveM to look inside for resources rather
than to treat the folder as one.Add both to server.cfg
The SDK goes first, and both go after the framework, inventory and database resources the
product uses:
Restart the server
A full restart, not a
refresh. The product reads its configuration and matches your other
resources at start.Verification
The console reports a clean start for both resources, with no
[ERROR] or [WARN ] line naming
either of them.- A
[Dependencies]error. The SDK is missing, stopped, or a version the product does not accept. See SDK version requirements. - A line reporting that no supported adapter was detected. A resource the product needs is not running. See Supported server resources.
Next steps
- Some products need one further step to reach your other resources. See Product integrations. The product’s own installation page says whether yours does.
- Change the product’s behaviour through the files in its
configsdirectory, described on that product’s configuration pages. The rules that apply to all of them are in Configuration files. - Keep a copy of everything you edit before you update. See Update a product or the SDK.