Server greeting message/window, clickable urls

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
adras
Engineer
Engineer
Posts: 7
Joined: 27 Jul 2023 22:29

Server greeting message/window, clickable urls

Post by adras »

Hey there,
I set up a server including a discord server.
Right now the server sends a message when players join with some rules and the discord link. However people have to manually type the link into discord which is quite cumbersome. LINK

Is it possible to have a clickable link in opennttd?
Last edited by Chrill on 16 Aug 2023 15:33, edited 1 time in total.
Reason: Removed link to avoid ads
User avatar
jfs
Tycoon
Tycoon
Posts: 1764
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Server greeting message/window, clickable urls

Post by jfs »

I have an (old) open pull request that adds some support for it, but it isn't in the game yet. That PR also doesn't add it for messages of the day.
adras
Engineer
Engineer
Posts: 7
Joined: 27 Jul 2023 22:29

Re: Server greeting message/window, clickable urls

Post by adras »

It would already be enough if normal text messages support links I guess. Too bad I can't simply review your PR. Is there any way to promote the change?
GGa
Engineer
Engineer
Posts: 18
Joined: 24 Sep 2011 15:42

Re: Server greeting message/window, clickable urls

Post by GGa »

If I'm not too wrong, also the descriptions of newgraphs often contain some addresses that will be useful to click (or, at least, copy to clipboard) instead of manually rewrite them.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 26 guests