What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you need to register or log in to the forum. Becoming a member of the forum is completely free.

Admin

Legend
Member
If you're setting up a FiveM server on a Windows VPS, follow this detailed installation guide to ensure a smooth setup. (Step-by-Step Guide)



📌 Requirements (Download & Install)

Before you start, you need the following software:

1️⃣ XAMPP (For database management)
🔗 Download Here

2️⃣ HeidiSQL (To manage MySQL databases)
🔗 Download Here

3️⃣ Visual Studio Code (To edit server files)
🔗
Link hidden for visitors, to see Log in or register now.


4️⃣ FiveM Server Files (Downloaded from FiveM official site)
🔗 Official FiveM Server Download


📌 Step-by-Step Installation Guide

🔹 Step 1: Download & Extract FiveM Server Files

1️⃣ Go to the FiveM Server Artifacts Page
2️⃣ Download the latest Windows Server build.
3️⃣ Create a new folder on your VPS (e.g., C:\FiveMServer).
4️⃣ Extract the downloaded server files into this folder.


🔹 Step 2: Setup XAMPP & MySQL Database

1️⃣ Install and start XAMPP.
2️⃣ Open XAMPP Control Panel and start Apache & MySQL.
3️⃣ Open HeidiSQL, connect to localhost, and create a new database (fivemdb).
4️⃣ Import the SQL file from your server resources (.sql file inside the framework).


🔹 Step 3: Configure Server Settings

1️⃣ Open the FiveM Server Folder (C:\FiveMServer).
2️⃣ Locate the server.cfg file and open it in Visual Studio Code.
3️⃣ Edit the following details:
Code:
sv_hostname "Your Server Name"
rcon_password "YourSecurePassword"
sv_licenseKey "Your FiveM Key"
4️⃣ Get a FiveM Key from Cfx.re Keymaster and paste it inside server.cfg.


🔹 Step 4: Add Server Resources

1️⃣ Download your FiveM framework (ESX/QBCore/Standalone).
2️⃣ Place the resource folders into the resources directory inside C:\FiveMServer.
3️⃣ Add the following lines to server.cfg to ensure they load:
Code:
ensure es_extended
ensure qb-core
ensure my-custom-scripts
ensure my-maps

🔹 Step 5: Start Your FiveM Server

1️⃣ Open a Command Prompt (cmd) on your VPS.
2️⃣ Navigate to your FiveM server folder:
Code:
cd C:\FiveMServer
3️⃣ Run the server:
Code:
run.cmd +exec server.cfg
4️⃣ If everything is set up correctly, you should see Server Started Successfully!.


📌 Final Steps

✅ Firewall Settings: Make sure ports 30120 (UDP & TCP) are open.
✅ Test Your Server: Open FiveM Client, go to Direct Connect, and enter your VPS IP.
✅ Server Management: Use RCON tools or txAdmin for easier administration.


🎥 Video Guide

Watch the full FiveM Server Installation Tutorial here:
▶️
Link hidden for visitors, to see Log in or register now.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.


🚀 Final Thoughts

By following this guide, you can successfully set up a FiveM server on a Windows VPS. Whether you're running ESX, QBCore, or a custom framework, this setup will ensure your server runs smoothly.

🔹 Looking for more
Link hidden for visitors, to see Log in or register now.
scripts?
Check out the latest
Link hidden for visitors, to see Log in or register now.
and upgrade your RP server today! 🚀🔥
 
Last edited by a moderator:

Theme customization

"From this menu, you can customize certain areas of the forum theme to your preference."

Choose the color that reflects your taste.

Wide / Narrow view

You can check a structure that allows you to use your theme in a wide or narrow view.

Grid view forum list

You can control the layout of the forum list in grid or regular listing style.

Image grid mode

You can control the structure that allows you to show or hide images in the grid forum list.

Close the sidebar

By closing the sidebar, you can have a wider view of the forum.

Fixed sidebar

By fixing the sidebar, you can make it more useful and ease your access.

Köşe kıvrımlarını kapat

Blokların köşelerinde bulunan kıvrımları kapatıp/açarak zevkinize göre kullanabilirsiniz.

Back