How to Install a QBCore Server on Windows VPS TxAdmin
This guide will walk you through the process of installing a QBCore Server on TXAdmin using XAMPP for the database, HeidiSQL for database management, and port forwarding on a Windows VPS.
✅ Prerequisites
✅ A Windows VPS (with RDP access).
✅ FiveM Artifacts downloaded.
✅ TXAdmin installed.
✅ XAMPP installed (for MySQL).
✅ HeidiSQL installed (for managing the database).
✅ Existing server files from TXAdmin.
🔹 Step 1: Install XAMPP and Configure MySQL
Download & Install XAMPP from Apache Friends.
During installation, next only and finish the following components:
Start XAMPP Control Panel and click Start on MySQL and Apache.
🔹 Step 2: Install HeidiSQL & Connect to Database
Download & Install HeidiSQL from HeidiSQL Official Site.
Open HeidiSQL and create a new session:
Network Type: MySQL (TCP/IP)
Hostname/IP:
127.0.0.1
Username:
root
Password: (leave empty by default)
Port:
3306
Click Open and select the
qbcore
database.Import your QBCore SQL file (
qbcore.sql
) into the database
🔹 Step 3: Configure Server Files
Download FiveM Artifacts from the official FiveM website.
Extract them into your server directory (e.g.,
C:\QBCoreServer
).Place your existing TXAdmin server files into the server directory.
Edit the
server.cfg
and put your license key.
🔹 Step 4: Set Up TXAdmin
Open the server directory and run
FXServer.exe
.TXAdmin will open in your browser (
http://127.0.0.1:40120
).Log in and create a new server profile.
Select "Existing Server Files" and point it to your QBCore Server directory.
Click Save & Start Server.
Step 5: Port Forwarding (If Hosting for Public Access)
Open Windows Defender Firewall → Advanced Settings.
Go to Inbound Rules → New Rule.
Select Port → TCP & UDP → Enter 30120 → Allow Connection → Finish.
Restart your server
Final Step: Connect to Your Server
Open FiveM and press
F8
.Type:
connect YOUR-VPS-IP:30120
If everything is set up correctly, you will successfully join your QBCore server! 🎉
❓ Troubleshooting
Database not connecting?
Ensure XAMPP MySQL is running and the connection string in
server.cfg
is correct.
Server not showing in FiveM?
Ensure port 30120 is open and forwarded correctly.
Artifacts not working?
Ensure you downloaded the correct version of FiveM artifacts.
Now your QBCore Server is set up and running on TXAdmin using XAMPP, HeidiSQL, and Port Forwarding on a Windows VPS! 🚀
Last updated