Creation of a local GTAV server

Avatar utilizator
Tudy
Administrator
Administrator
Mesaje: 1828
Membru din: 21 Iul 2020, 09:56
Membru din: 21 Iul 2020, 09:56
1
Localitate: Galati
Status: Te-am ajutat
Discord: Tudy#5861
Mulţumiri acordate: 12
Mulţumiri primite: 91
Gen:
Vârsta: 25
Contact:
Romania

Creation of a local GTAV server

Tudy

Hello good night,
Today you will learn the basics of creating a GTAV server under FiveM in Local.
equired level : Beginner
Estimated time: Between 15 and 30 minutes

Prerequisites:
There is no need for any pre-requisites for a Local creation, just seriousness and concentration!
I. Installing your server
A. Base FX
o start creating your server, you need to go to Trebuie să fii autentificat sau înregistrat pentru a vedea acest link. and download the most recent version.
If you have followed the tutorial correctly, your FX base is ready.



Once done, you must extract the archive in a folder named "FXServer" that you will have created in the root of your hard drive like this : "C: \ FXServer \".
B. Resources
Now, you will go to Trebuie să fii autentificat sau înregistrat pentru a vedea acest link. in order to download your "Resources" folder .

Once downloaded, you will put the resources folder in your FXServer folder, like this : "C: \ FXServer \ resources \" .
II. Your .cfg
A. Creation of the .cfg
Go to your FXServer folder and create a text document, then rename the "server.cfg"
Then you add the code below inside :
Ascunde conținutul
This board requires you to be registered and logged-in to view hidden content.
B. Configuration of the .cfg

Your server.cfg is now created, now you need a unique key for your server. Go to Trebuie să fii autentificat sau înregistrat pentru a vedea acest link. to create your key.
The IP used for your local server will be your IP, so go to Trebuie să fii autentificat sau înregistrat pentru a vedea acest link. to find it.

Once your key is active, add it to the end of your server.cfg by replacing "changeme" here :

Cod: [Trebuie să fii autentificat sau înregistrat pentru a vedea acest link.]

# License key for your server (https://keymaster.fivem.net) 
sv_licenseKey changeme
You can also change your server name in the middle of server.cfg here :

# Set your server's hostname
sv_hostname "My new FXServer!"
The name will be the one displayed on FiveM when someone wants to connect to it.

To finish your server.cfg, add the following lines at the very bottom of it :

# Avoid the "couldn't load resource manager"
restart sessionmanager bug
This fixes a bug known for a very long time on GTAV servers.
III. Starting the server

A. Orders

Now that your server is ready to use, you can start it for the first time.

For that you have to open your cmd (windows + R then you type cmd then Enter) .



Then use the following commands :

Cod: [Trebuie să fii autentificat sau înregistrat pentru a vedea acest link.]

cd C: \ FXServer \ 
run.cmd + exec server.cfg
Your server is now on.

B. Gift by Vanithys

In order to please you and to save time during each server start-up, here is a little gift.

Create a text document then rename it to "runserver.bat" , then add the code below inside.

Cod: [Trebuie să fii autentificat sau înregistrat pentru a vedea acest link.]

@echo OFF 
RMDIR / s / q "c: \ FXServer \ cache \ files" 
XCOPY c: \ FXserver c: \ FXserver-backup \ / m / e / y 
echo ------------- --------------------- 
echo - 
echo To restart your server, do CTRL + C then "runserver" 
echo - 
echo ---------- ------------------------ 
echo - 
echo Press any KEY to start your server 
echo - 
pause> null 
CLS 
cd c: \ FXServer 
cmd / k run .cmd + exec server.cfg
This allows you to make a backup, clean your cache and start your server when you go to open it.
To finish:

You can now connect to your server using FiveM.
To do this, open FiveM, go to "Setting" then check the "localhost" box and you can connect.

Next time you will learn how to add SQL tables
FiveM :
Trebuie să fii autentificat sau înregistrat pentru a vedea acest link.
Contact:

Discord: Tudy#5861
E-mail: Contact@Games4All.Ro

Vă rugăm să scanaţi întotdeauna fişierele pe care le descărcaţi cu Trebuie să fii autentificat sau înregistrat pentru a vedea acest link..
  • Subiecte similare
    Răspunsuri
    Vizualizări
    Ultimul mesaj

Înapoi la “Tutoriale”

  • Informaţie
  • Cine este conectat

    Utilizatori răsfoind acest forum: Niciun utilizator înregistrat și 0 vizitatori