Resources allow you to expand your RedM game server with additional features. This is especially exciting if you plan larger projects such as a roleplay server or similar. Such projects are not possible without these extra resources.
RedM and its community offer a huge selection of resources. An overview of the most popular resources can be found in the Cfx.re forum: https://forum.cfx.re/c/redm-development/54
Resource installation is done via FTP. So you need an FTP client to upload files to your server. If you are not familiar with FTP yet, we recommend checking out the FTP Access guide.
Downloaded resources are usually provided in compressed form. This means you need to extract the packed files using an extraction program like 7Zip, WinRAR, or WinZip. The extracted resource folder should contain at least the following files: __resource.lua or fxmanifest.lua as well as the associated script files.
If these files are not immediately visible, they might be inside a subfolder within the resource.
Now you need to upload the previously extracted files as a single folder (if not done already). Your folder must be uploaded into the resources directory of your server. The directory structure typically looks like this: /gXXXXXX/redm-txadmin/YOUR_FRAMEWORK/resources
Some resources work with a database and often already include SQL files that need to be imported into the database. If this applies to you, check out our SQL File Import guide to learn how to do this.
To have the installed resource loaded when the server starts, you must first activate it in your server's server.cfg file. Activation is done with the command start [example resource].
For example, if you uploaded the resource folder named eup-ui, the start command in the config should look like this:
start eup-ui
You can access your server.cfg file via the CFG Editor in the txAdmin interface.
Make sure the folder name you created exactly matches the one in the start command — including case sensitivity.
