Xonotic Forums
[SUGGESTION] Instant Invite links to servers - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20)
+--- Thread: [SUGGESTION] Instant Invite links to servers (/showthread.php?tid=8035)



Instant Invite links to servers - lmcdo - 04-20-2019

It'd be nice to have instant invite links for Xonotic in a similar manner to joining a Discord server or other chat server. They could link to servers or even specific teams on the server.
To do this, you'd (we'd?) need to handle a protocol (xonotic:// or something of that nature).
This feature would greatly improve the pick-up-and-play nature of the game, one of its strengths, for casual players.
A beta implementation would probably just use IP addresses (toggle between public and private IP address in the Xonotic  UI to generate the link), while a release version would need to hide this (I think, though I'm happy to be corrected).


RE: Instant Invite links to servers - Lyberta - 04-21-2019

Seems to require some OS specific logic.


RE: Instant Invite links to servers - BuddyFriendGuy - 04-22-2019

Good suggestion. We can write a gateway (shell?) to parse the server address and call Xonotic launcher.

Yes, we'll have to do all OSes: LinuxOSX, and Windows. Very doable actually.


RE: Instant Invite links to servers - Freddy - 04-23-2019

Afair unvanquished(daemon) already has that functionality, so one more reason to switch engines to daemon.


RE: Instant Invite links to servers - lmcdo - 04-24-2019

Out of the gate, links could auto expire at 24 hours, then more granularity could be added if the functionality seems promising and/or widely used.
Default non-expiring links doesn't seem good though. A checkbox for expiring vs non-expiring links would also work.
I don't know etiquette for opening a feature request in gitlab -- I can try my hand at it though.


RE: Instant Invite links to servers - Lyberta - 04-24-2019

(04-24-2019, 03:41 AM)lmcdo Wrote: Out of the gate, links could auto expire at 24 hours, then more granularity could be added if the functionality seems promising and/or widely used.
Default non-expiring links doesn't seem good though. A checkbox for expiring vs non-expiring links would also work.
I don't know etiquette for opening a feature request in gitlab -- I can try my hand at it though.

I've never seen expiration logic in protocols like this. Why would you want it?

The usual thing would be that xonotic://connect:1.2.3.4 just call the xonotic binary with say "-connect 1.2.3.4" command line parameter or something. I dunno Xonotic parameters for direct connect.


RE: Instant Invite links to servers - BuddyFriendGuy - 04-24-2019

(04-24-2019, 12:08 PM)Lyberta Wrote: The usual thing would be that xonotic://connect:1.2.3.4 just call the xonotic binary with say "-connect 1.2.3.4" command line parameter or something. I dunno Xonotic parameters for direct connect.

What do you mean by direct connect? Isn't it the same as connect?


RE: Instant Invite links to servers - Lyberta - 04-25-2019

Some thing like on Windows "Xonotic.exe -connect 1.2.3.4". This launches the game and immediately connects to 1.2.3.4.