How to Install Scripts on a FiveM Server (The Right Way)
Getting your first FiveM server running is exciting, but installing scripts and custom resources can quickly become confusing. Here is exactly how to do it without crashing your server.
Step 1: Downloading the Resource
Whether you bought a premium script from a store like XenoShop or downloaded an open-source tool off GitHub, you will receive a folder. If it is zipped, extract it completely using tools like WinRAR or 7-Zip.
Step 2: Placing it in your Resources Folder
Navigate to your FiveM server's main directory. You should see a folder literally called resources. Drag your newly extracted folder directly into this directory.
Important Rule:
Never have spaces or special characters in the folder name. The folder name must match exactly what you are going to put in your configuration file.
Step 3: Staring it in server.cfg
Find the server.cfg file in your main server folder and open it with a text editor (like Notepad++ or VSCode). Scroll down to where your other scripts are starting and type:
Note: "ensure" tells the server to start the script and immediately restart it if it was already running. This has completely replaced the old "start" command you might see in older tutorials.
Step 4: SQL Databases (If Applicable)
If the script includes a .sql file, you need to run it in your database using HeidiSQL or phpMyAdmin. This ensures the script has the tables it needs to save player data like money or items.
Need scripts that don't constantly break?
If you're tired of buggy resources that tank your server FPS, check out our catalog ofoptimized FiveM scripts here at XenoShop. Everything is built to run flawlessly on QBCore, ESX, and standalone servers.