This is a simple project for running your Fivem server as a Windows Service.
Well, running your server as a service would mean that it all running in the background, you would no longer have to be afraid of accidentally closing the Terminal window running your server.
It would also allow for the server to automatically be started upon startup, and automatically restarted if stopped, and so on.
-
Building/Downloading the files
Either download the prebuilt binaries via our releases page
or, download the source and build the files yourself viamake build
-
Configure
Look through theServer
section of theappsettings.json
file and make sure it looks good -
Install
Either manually install the service viasc
, or run theinstaller.bat
file and it'll install everything for you.