HLSW URL
From HLSW Wiki
If you have installed HLSW on your PC, you can use the HLSW URL-Format in your browser.
On activating such a "hlsw://"-URL the HLSW client will open up with the specific serveradress and/or serverpassword. The serveradress will be added at the HLSW-mainframe, like on a manual entry. The URL-Format is like the "http://"-URL-Format, instead of "http" a "hlsw" will be set:
Contents |
HLSW URL for adding and connecting to game servers
Format
Argumented BNF of the HLSW-URL:
hlswurl_server = "hlsw://" [password "@"] (ip | domain) ":" port [":" connectport] ["/"] ["?" param] param = param_name ["=" value] ["&" param]
| param_name | Description |
|---|---|
| DontAdd | Don't add server to serverlist (default 0) |
| Connect | Directly connect to the server (default 0) |
| PublicPassword | If the passwords is public or not (default 1) |
| Game | Specifies the game of the game server. This is useful to let HLSW know the game of not detectable games and that HLSW does not need to query the game server with every known protocol until it finds the right one (since v1.1.4) |
| Rcon | Sets rcon password to the given value (since v1.0.0.34) |
| RconHide | The rcon password will be shown as * (since v1.0.0.34) |
| RconSave | The rcon password will be saved (since v1.0.0.34) |
No value given means "1" is set default.
Examples
- hlsw://SERVERIP:PORT : for Public server without password.
- hlsw://SERVERPASSWORD@SERVER:IP:PORT : for passwort protected servers. Instead of "SERVERPASSWORD" the servers password should be entered.
- hlsw://84.254.70.51:27015 opens hlsw with the server added
- hlsw:// opens hlsw
- hlsw://my_password@hlsw.hl.gsrv.de:27015 opens hlsw with the serverdomain and the password "my_password"
- hlsw://pw@84.254.70.51:27015?Connect directly connect to the server
- hlsw://84.254.70.51:27015?Rcon=hallo opens hlsw with the server added and sets rcon password to "hallo"
- hlsw://84.254.70.51:27015?Game=HL opens HLSW with the Half-Life server
This HLSW-URL could be opened at any Explorer or Internet Explorer window. This HLSW-URL could be used as a link on webpages, like for example for ClanServerIPs on Clanhomepages. By clicking such an URL in an Internet Explorer window, a HLSW-window with the serveradress will open up.
HLSW URL for adding buddies
The buddyadd HLSW URL is available since v1.2.0.2. It can be used to add one or more buddies to the contact list.
Format
hlswurl_addbuddy = "hlsw://buddyadd.hlsw?Buddies=" buddies buddies = buddy [";" buddies] buddy = email | hlsw_uin
- email is the eMail address of one hlsw user
- hlsw_uin is the HLSW user identification number
Examples
- hlsw://buddyadd.hlsw?Buddies=1234 adds the user with uin 1234 to HLSW.
- hlsw://buddyadd.hlsw?Buddies=1234;2345 adds the users with uin 1234 and 2345 to HLSW.
- [url=http://www.hlsw.org] [img]http://status.hlsw.org/468x60/counterstrike/532274.gif[/img] [/url] adds the user with email mail@example.com.
