diff -r 50275983a97a -r eb6eef27205c HWPlaySchemeSyntax.wiki --- a/HWPlaySchemeSyntax.wiki Sun Dec 13 21:27:30 2020 +0100 +++ b/HWPlaySchemeSyntax.wiki Mon Aug 16 22:41:20 2021 +0200 @@ -2,7 +2,7 @@ = Hedgewars server links = == Overview == -Hedgewars supports special links for Hedgewars servers and rooms. You can join a server (and optionally a room) by using a simple link. These links always start with “`hwplay://`” and look like this: +Hedgewars supports special links for Hedgewars servers. You can join a server by using a simple link. These links always start with “`hwplay://`” and look like this: `hwplay://hedgewars.example.org` @@ -32,23 +32,19 @@ == Syntax == `hwplay` is an unofficial URL scheme supported by Hedgewars. The syntax of the “hwplay” URL scheme is: -`hwplay://[:[?room=]]` +`hwplay://[:]` Parts in square brackets are optional. Parts enclosed in less-then and greater-than signs are parameters, where * `` is the IP address or host name of the server * `` stands for the TCP port number of the server - * `` is the name of a room in the server If the port number is omitted, Hedgewars assumes the default port 46631. -If the room name is given, the user will automatically join this room. Otherwise, the user will start in the lobby of the server. - == Examples == Here are some example `hwplay` URLs: * [hwplay://netserver.hedgewars.org]: Points to the lobby of the official server. This is the same as if you'd click on the “official server” button in the main menu * `hwplay://192.168.43.6:54321`: Points to the lobby on a LAN server with IP 192.168.42.6, port number 54321 - * `hwplay://example.org?room=MyRoom`: Points to the room called “MyRoom” on the server “example.org” * `hwplay://example.com:59000`: Points to the server “example.com”, port number 59000