Knowledgebase

How to install FiveM Fx Server on your VPS

 
1. Download Visual C++ Redistributable for Visual Studio 2015 X64
 
 
Microsoft Download Center
The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications built using Visual Studio 2015.
 
 
3. Download Resources and place them in same folder you created earlier(edited)
 
 
 
6. Go to Advanced Firewall Settings then Select inbound add new Rule TCP , Port 32120 , Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection(edited)
 
 
 
7. Go to Advanced Firewall Settings then Select inbound add new Rule UDP , Port 32120 , Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection(edited)
 
 
 
8. Go to Advanced Firewall Settings then Select inbound add new Rule TCP , Port 30110, Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection. This will allow server to post on Masterlist.(edited)
 
 
 
9. Go to Advanced Firewall Settings then Select Outbound add new Rule TCP , Port 32120 , Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection(edited)
 
 
 
10. Go to Advanced Firewall Settings then Select Outbound add new Rule UDP, Port 32120 , Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection(edited)
 
 
 
11. Go to Advanced Firewall Settings then Select Outbound add new Rule TCP , Port 30110, Select whether to apply the rule SELECT ALL , Finally, select whether this rule is for explicitly ALLOW the Connection. This will allow server to post on Masterlist(edited)
 
 
 
12. Generate your default server.cfg and place it in folder you created in step 2(edited)
 
 
 
13. Insert into your server.cfg
# you probably don't want to change these!
# only change them if you're using a server with multiple network interfaces
endpoint_add_tcp "SERVERIPHERE:30120"
endpoint_add_udp "SERVERIPHERE:30120"

start mapmanager
start chat
start spawnmanager
start sessionmanager
restart sessionmanager
start fivem
start hardcap
start rconlog
start scoreboard
start playernames

sv_scriptHookAllowed 1

# change this
#rcon_password yay

sv_hostname "My new FXServer!"

# nested configs!
#exec server_internal.cfg

# loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

# convars for use from script
set temp_convar "hey world!"

# disable announcing? clear out the master by uncommenting this
#sv_master1 ""

# want to only allow players authenticated with a third-party provider like Steam?
#sv_authMaxVariance 1
#sv_authMinTrust 5

# add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.steam:110000112345678 group.admin # add the admin to the group

# remove the # to hide player endpoints in external log output
#sv_endpointprivacy true

# server slots limit (must be between 1 and 31)
sv_maxclients 30

# license key for server (https://keymaster.fivem.net)
sv_licenseKey YOURNEWVPSKEYHERE
14. Create new .bat file and place it on your desktop. Edit the batch file to the following
@echo off
cls

TIMEOUT /T 1
cd C:/users/administrator/desktop/server <<---- CHANGE this to the match the path of folder you did in step 2
TIMEOUT /T 1
run.cmd +exec server.cfg
pause >nul
15. Start your MYBATFILE.Bat and your FX server should start. Wait few minutes and check if server is posted on Masterlist.

12 Users Found This Useful

Was this answer helpful?

Powered by WHMCompleteSolution