Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Guide [FX] Simple Server Starter

Ducray

Silver Elite
Joined
Feb 22, 2022
Messages
19
Reaction score
287
Points
236
Location
Germany

Introduction

Hello, so with FXServer, you need to run it in cmd, so I made this little batch file which will start your server, it’s just simple batch but thought it would help people out.

How to use

The only thing you need to change with this is the directory of the file, that’s about it. Since my FXServer folder is located on my desktop, I do this:

C:/users/administrator/desktop/server
The script will do the rest

Download

Windows Version

Code:
@echo off
cls

TIMEOUT /T 1
cd C:/users/administrator/desktop/server
TIMEOUT /T 1
run.cmd +exec server.cfg
pause >nul

(Just create a text file, put this in it, and when you save, do “Save As”, and call it run.bat)

Linux Version
Code:
#!/bin/bash
echo "launching server..."
cd /home/server/fx-server
bash run.sh +exec server.cfg
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds