[Solved] Connect to server on FiveM startup!


Hi everyone,

I was wondering if it would be possible to go right to my server IP after launching FiveM.exe

Has anyone got a clue on how to do this?

Many thanks in advance!


If you click on direct connect, it has the IP of the last server you joined.


I am aware of that, but i want to have it like this:

  1. Start fivem.exe
  2. automatically join to the server


Not trying to be rude or anything but I don’t think they are going to add the for one persons needs. Just because you cannot be bothered to click on the direct connect button. It’s just laziness really :stuck_out_tongue:


it’s just a question. I’ve been in a clan who had this, and I was wondering how they managed to do that.


When you say “They had this” Did they modify the fivem launcher and give you their version?


I don’t know, is it even possible to edit the launcher exe?


Start the FiveM.exe with this additional command:

Replace IP with your server IP and PORT with the port of your server.

+connect IP:PORT


After starting fiveM just wait and don’t interrupt the join process by joining yourself, it takes some time


much love for you! thanks man!