Jump to content

How to make a link clickable in server description?


Dryzler

Recommended Posts

28 minutes ago, Dryzler said:

Other servers have links to their discord, that are clickable. If i enter a link, its not clickable.

Depends on the ui gadget that displays the description. If other 7d2d server have clickable links, it seems to be possible. However that doesn't necessarily mean it auto-detects urls from the text and makes them clickable.

Have you tried HTML format for links in your text:

<a href="http:www.link-url.com">Link Text</a>

 

Link to comment
Share on other sites

It would be interesting if they are now clickable when they weren't previously. TFP/Unity appears to have added IPv6 support in 19.1, and it wasn't mentioned at all in the patch notes, so maybe there are other undocumented changes.

 

The way we do it in Empyrion (also Unity) is

[u][url=https://mastersofchaosgaming.com]https://mastersofchaosgaming.com[/url][u]

EDIT:

 

Also to be clear, this is what it looks like on one of my servers.
spacer.png

 

The red text is the server description field. The blue text is the "ServerWebsiteURL" field in the config. The blue text is a clickable link

 

Sample config values.

	<property name="ServerDescription" value="[42F465]Beginner Game Settings\n12K Map-Large Bag-3 Slot forge\nHome teleport[-]"/>	<!--  Whatever you want the server description to be, will be shown in the server browser. -->
	<property name="ServerWebsiteURL" value="[3333FF]https://MastersOfChaosGaming.com/ZedRising[-]"/>					<!-- Website URL for the server, will be shown in the serverbrowser as a clickable link -->

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...