HWPlaySchemeSyntax.wiki
changeset 731 42ff4b1eef88
parent 730 917fd6b57b16
child 732 4a40a2b9ec52
equal deleted inserted replaced
730:917fd6b57b16 731:42ff4b1eef88
    31  * `<HOST>` is the IP address or host name of the server
    31  * `<HOST>` is the IP address or host name of the server
    32  * `<PORT NUMBER>` stands for the TCP port number of the server
    32  * `<PORT NUMBER>` stands for the TCP port number of the server
    33  * `<ROOM NAME>` is the name of a room in the server
    33  * `<ROOM NAME>` is the name of a room in the server
    34 
    34 
    35 If the port number is omitted, Hedgewars assumes the default port 46631.
    35 If the port number is omitted, Hedgewars assumes the default port 46631.
       
    36 
    36 If the room name is given, the user will automatically join this room. If it is not given, the user will start in the lobby of the server.
    37 If the room name is given, the user will automatically join this room. If it is not given, the user will start in the lobby of the server.
    37 
    38 
    38 == Examples ==
    39 == Examples ==
    39 Here are some example `hwplay` URLs:
    40 Here are some example `hwplay` URLs:
    40 
    41 
    41  * `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
    42  * `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
    42  * `hwplay://192.168.43.6:54321`: Points to the lobby on a LAN server with IP 192.168.42.6, port number 54321
    43  * `hwplay://192.168.43.6:54321`: Points to the lobby on a LAN server with IP 192.168.42.6, port number 54321
    43  * `hwplay://example.org?room=MyRoom`: Points to “MyRoom” on the server “example.org”
    44  * `hwplay://example.org?room=MyRoom`: Points to the room called “MyRoom” on the server “example.org”
    44  * `hwplay://example.com:59000`: Points to the server “example.com”, port number 59000
    45  * `hwplay://example.com:59000`: Points to the server “example.com”, port number 59000