Joining a server from a website link

Hi, I’d like to suggest some functionality. Basically a link that you can put on your website or whatever that when people click it, it launches FiveM and joins that server. For example, fivem://(server IP here).

Other GTA mods like MTA:SA have this functionality and I thought it’d be a nice touch.

2 Likes

Bump.

If this has been added I can’t find anything about it, it’d be a great feature for communities with connect buttons on their websites.

2 Likes

Newer member here however I would also love to see this added. So… Bump!

5 Likes

I believe it’s in the works. When you visit https://servers.fivem.net and click on a server you are greeted with the following message:

2 Likes

You can use the link fivem://connect/(ip):(port)

So on at website it would be like this:
<a href="fivem://connect/11.11.11.11:30120">Connect</a>

or as FiveM uses on their server list:
<iframe src="fivem://connect/11.11.11.11:30120" style="display: none;"></iframe>.

I know this is an old post, but if anyone is still wondering how this works you can use this. :slight_smile:

8 Likes

Hey, thanks for the help but It won’t work with me.

I created a button on my website to launch and connect to my fivem server as you said like :
fivem://connect/11.11.11.11:30120
but nop, not working for me, I get this page :
image

Can you help? Thanks ! :wink:

1 Like

Can you send the source code you have written? Just so i can tell if anything is wrong.
If i use the link fivem://connect/11.11.11.11:30120 in Google Chrome, there is a popup with “Open FiveM”.

1 Like

I’m using Webflow, if you know what is ^^

image

Here is the link on the button.

Now this would be sick.

It should be working from the code, i havent used Webflow before as i am coding all from scratch. What browser are you using? And if you just type in the link, do you get a popup. When i tested this i was using Google Chrome, don’t know if it works on other browsers.

I’m using Chrome, i’ll test that in a link.

1 Like

I successfully opened, I use this <iframe src="fivem://connect/11.11.11.11:30120" style="display: none;"></iframe>

2 Likes

This Isn’t really a reply but i want to join a server but i dont know how

@Don308
So basically, you can go on the FiveM server list website or in FiveM and search for keywords that you like, or you can post in a topic that you are looking for servers to join, or you can look for servers that posted topics about their server on here.

For example, we poster our server in a topic so people can read thru, see if they want to join, and if they do, everything they need is right there.

You can also use a href tag in html

for example: <a href:“fivem://connect/11.11.11.11:30120”>Connect<./a>

Use the (A) tag at the end without the “.” for it to work. For some reason fivem removed the ending tag.

11.11.11.11 - Your server IP
30120 - Your server port

That SHOULD work when trying to connect to a server as used on our website.

For further assistance, please contact me on discord via https://www.impulse-rp.co.uk/discord.html

Thanks,
Kieran

1 Like

i know its an old discussion but i get this error when i try to click the link
this is the link https://fivem://connect/195.133.33.45:30120
image

1 Like

https://fivem

._.

2 Likes

I think that is a great idea

1 Like

Which is why it was implemented 4 years ago.

Why are you all bumping this old a topic?