[FX] Simple Server Starter

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2704
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

[FX] Simple Server Starter

Post by greenie »

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

@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 (Thanks to @zombieguy)

#!/bin/bash
echo "launching server..."
cd /home/server/fx-server
bash run.sh +exec server.cfg
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Development”