Installation & Setup
-
Download the SDK: Obtain the latest release of the Fivemanage SDK from the release page . Ensure you download the
fmsdk.zipfile. It’s recommended to download this release instead of cloning the repository unless you intend to build the project yourself. -
Extract to Resources: Unzip and place the
fmsdkfolder into your FiveM server’sresourcesfolder. -
Setup Dependencies: If not already present, download and set up
screenshot-basicby following its installation instructions . This resource is essential for capturing client screen images. -
Configure Server CFG:
- Make sure
screenshot-basicis started beforefmsdkin yourserver.cfg. Add the following lines:ensure screenshot-basic # Only add this line if `screenshot-basic` is not already ensured in your configuration. ensure fmsdk # The SDK must be started after the `screenshot-basic` resource. - Add the following ConVars to your
server.cfgfor API authentication:Learn more about ConVars in the FiveM documentation .set FIVEMANAGE_MEDIA_API_KEY your_api_key set FIVEMANAGE_LOGS_API_KEY your_api_key
- Make sure
-
Resource Config: Review and adjust the settings in
config.jsonto match your preferences and requirements. This file contains important configuration options that affect how the SDK operates on your server.