Sur votre PC, appuyez sur Windows+R, tapez mstsc, entrez l'IP de votre VPS et connectez-vous avec vos identifiants administrateur.
Dans le navigateur de votre VPS, allez sur artifacts.fivem.net. Téléchargez la dernière version recommandée pour Windows. Extrayez l'archive dans C:\FiveM\server.
Téléchargez Git sur git-scm.com et installez-le. Ouvrez PowerShell en administrateur :
mkdir C:\FiveM\server-data
cd C:\FiveM\server-data
git clone https://github.com/citizenfx/cfx-server-data.git .
Ouvrez le Bloc-notes et créez C:\FiveM\server-data\server.cfg :
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
start mapmanager
start chat
start spawnmanager
start sessionmanager
start basic-gamemode
start hardcap
sv_scriptHookAllowed 0
sv_hostname "Mon Serveur FiveM - VexCloud"
sv_maxclients 32
sv_licenseKey "VOTRE_CLE_LICENCE"
Dans PowerShell administrateur :
netsh advfirewall firewall add rule name="FiveM TCP" protocol=TCP dir=in localport=30120 action=allow
netsh advfirewall firewall add rule name="FiveM UDP" protocol=UDP dir=in localport=30120 action=allow
Dans PowerShell, depuis C:\FiveM\server :
.\FXServer.exe +exec ..\server-data\server.cfg
Pour que le serveur redémarre tout seul après un reboot :
Ouvrez le Planificateur de tâches Windows, créez une nouvelle tâche, choisissez "Au démarrage de l'ordinateur" comme déclencheur, et ajoutez l'action : programme FXServer.exe avec l'argument +exec server-data/server.cfg depuis C:\FiveM\server.
Dans FiveM sur votre PC, appuyez sur F8 et tapez :
connect VOTRE_IP:30120
Jusqu'à 32 joueurs : VPS Windows 4 Go RAM, 4 vCPU, NVMe. Pour 32 à 64 joueurs : 8 Go RAM, 6 vCPU. La protection anti-DDoS Gcore + XDP est incluse sur toutes les offres VexCloud.
Passer à l'action
Infrastructure EQUINIX PA6 Paris · Protection anti-DDoS incluse · Sans engagement
Voir les offres VPS →