HWPlaySchemeSyntax.wiki
changeset 1494 272505d2f8c9
parent 1493 151399fffe42
child 1495 88ae278e5484
equal deleted inserted replaced
1493:151399fffe42 1494:272505d2f8c9
     1 #summary The Hedgewars URL scheme handler
     1 #summary The Hedgewars URL scheme handler
     2 
     2 
     3 = URL scheme handler =
     3 = URL scheme handler =
     4 
     4 
     5 == Overview ==
     5 == Overview ==
     6 Hedgewars supports an URL scheme for Hedgewars servers and rooms. These are basically links which allow you to join a server (and optionally a room) by using a simple link. These are called “`hwplay` URLs” and can look like this:
     6 Hedgewars supports an URL scheme for Hedgewars servers and rooms. These are basically links which allow you to join a server (and optionally a room) by using a simple link. You can join a Hedgewars server with a single click. These links are called “`hwplay` URLs” and look like this:
     7 
     7 
     8 `hwplay://hedgewars.example.org`
     8 `hwplay://hedgewars.example.org`
     9 
     9 
    10 If your system is set-up to handle `hwplay` URLs, they will open Hedgewars and make it join the given server and room.
    10 If your system is set-up to handle `hwplay` URLs, they will open Hedgewars and make it join the given server and room.
    11 
    11 
    12 Here's an example link, try it to see if `hwplay` URLs work for you:
    12 The following link goes to the official Hedgewars server. Try it to test if `hwplay` links work on your system:
    13 
    13 
    14 [hwplay://netserver.hedgewars.org]
    14 [hwplay://netserver.hedgewars.org]
    15 
    15 
    16 == Usage ==
    16 == Usage ==
    17 You can share a `hwplay` URL with other players so they join your server more easily.
    17 You can share a `hwplay` URL with other players so they join your server more easily.