Skip to content

Support telnet:// links #689

@vadi2

Description

@vadi2

Idea: MUDs should be able to provide an easy to use link with their connection info to spawn Mudlet and get it to connect to their game. Similar to apt://, steam:// and so forth links.

I think Mudlet should support those types of links - it'd be a lot more convenient for players to try out new MUDs if they only have to click on a link, instead of copying the server and port, going to Mudlet, making a new profile and so on.

As for the naming of the link, we could either go with a custom one: mudlet:// or - use an already standard one (telnet://), which would be much better as some websites use it already (http://dmud.thebbs.org/lotflink.htm) and it would be compatible with other MUDs clients.

I believe the latter option is better.

Telnet links seem to work in the format of: telnet://[:<optional port #>], see https://tools.ietf.org/html/rfc4248 for the actual spec.

The logic for this could be the following:

When Mudlet is spawned via the telnet link, check to see if any profile(s) server matches server field of the link. If multiple profiles do, auto-load the latest profile used. If one matches, load that profile. If not profiles match...

Create a new profile with the given server and port data, and the profiles name will be the servers name as well. Auto-load this newly created profile.

I think these cases sound plausible. There'll an issue with peoples already made profile using the server name vs IP address directly as webmasters might, but that's not something that could be easily avoided.

Launchpad Details: #LP1187243 Vadim Peretokin - 2013-06-04 04:47:05 +0000

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions