Steam browser protocol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 24: Line 24:
* '''<code>steam://runsafe/<id></code>''' This resets CVARs of the application with the specified [[Steam Applaunch IDs|Steam Applaunch ID]] (i.e. 211 for SDK).
* '''<code>steam://runsafe/<id></code>''' This resets CVARs of the application with the specified [[Steam Applaunch IDs|Steam Applaunch ID]] (i.e. 211 for SDK).
* '''<code>steam://store/<id></code>''' This opens up the store for the specified product, if no product is specified then the default one is opened. Use a [[Steam Applaunch IDs|Steam Applaunch ID]] for the id.
* '''<code>steam://store/<id></code>''' This opens up the store for the specified product, if no product is specified then the default one is opened. Use a [[Steam Applaunch IDs|Steam Applaunch ID]] for the id.
* '''<code>steam://support/?Issues=*</code>''' Launches the Steam Support utility, running all tests. Enter valid strings to filter results.
* '''<code>steam://updatenews/<id></code>''' This opens the news about the latest updates for the specified product. Use a [[Steam Applaunch IDs|Steam Applaunch ID]] for the id.
* '''<code>steam://updatenews/<id></code>''' This opens the news about the latest updates for the specified product. Use a [[Steam Applaunch IDs|Steam Applaunch ID]] for the id.
* '''<code>steam://validate/<id></code>''' This Validates the files within gcf's of the Applaunch ID you choose.
* '''<code>steam://validate/<id></code>''' This Validates the files within gcf's of the Applaunch ID you choose.
* '''<code>steam://support/?Issues=connection*</code>''' Launches the Steam connection testing utility.


===Suggested===
===Suggested===

Revision as of 14:03, 12 May 2006

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Commands

There are several commands available that interact with Steam. All of them open up Steam if it is not open. They can either be typed into a command box (Start-> Run) or through your browser's address bar.

Suggested

Ability

What can be done with these commands from a websites point of view? Its a pretty open and powerful system. A website link can start up steam and not only change any ConVar of a user, but it can also execute ConCommands like making a player join a specific server running a specific mod. It can even get the player to start up a dedicated server with a single click.

Here some examples:

steam:"-applaunch 70 -game "<mod>" +map "<map>"" - This starts up Half-Life running the specified mod then loads a specified map.

steam://connect/<IP or DNS name>[:port]" - If a mod was running at the specified server, Steam would attempt to start up that mod and connect there. This applies to any kind of Goldsource/Source server.

To view this browser based command system in action look at this server browser website and click on one of the servers.

Note.pngNote:If you forget the closing quote on a steam:"<command>", you will get an assertion failed error from Steam.exe/BootStrapperApp.cpp.