[subsection=SteamGameServer_Init]SteamGameServer_Init[/subsection] [code=cpp]inline bool SteamGameServer_Init( uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]unIP[/b][/td][td]uint32[/td][td]The IP address you are going to bind to. (This should be in host order, i.e 127.0.0.1 == 0x7f000001). You can use INADDR_ANY to bind to all local IPv4 addresses.[/td][/tr] [tr][td][b]usSteamPort[/b][/td][td]uint16[/td][td]The local port used to communicate with the steam servers.…
. [*]You are celebrating a milestone as a developer, and you'd like to give away one of your earlier titles in order to introduce players to your work. [/list] If you have a multiplayer game with low player counts, and you're seeking a way to get additional players into your game, a Free to Keep is generally not a good solution. …
The following permissions are required for a specific account in order to set or adjust pricing for a product: [list][*]The Steamworks partner that you are a member of must be the partner getting paid for sales of the product. …
If your game's revenue relies on advertising on other platforms, you will need to find a new monetization model in order to release on Steam. Some options you could consider: Switch your game be a single purchase or make it free to play with microtransactions or additional content as DLC. …
If you don’t find anything that way there may be a more general memory corruption issue. If these always occur on shutdown then it’s likely a shutdown ordering issue with the game not cleaning up as it shuts down. If after debugging the app is still crashing in the overlay, please notify us in the [url=steamcommunity.com/groups/steamworks/discussion]Steamworks Development Group[/url]. …
These controls will let creators specify the set of games to draw from, as well as the sort order for those games, and set one or more of the included games to force to the front of the list. This functionality will help players find other games from your developer or publisher or franchise without being intrusive or getting in the way of learning or playing the game they are looking at. …
The IP can be a mapped IPv4 address void SetIPv4( uint32 nIP, uint16 nPort ); // Sets to IPv4 mapped address. IP and port are in host byte order. bool IsIPv4() const; // Return true if IP is mapped IPv4 uint32 GetIPv4() const; // Returns IP in host byte order (e.g. aa.bb.cc.dd as 0xaabbccdd). …
inline bool ParseString( const char *pszStr ); union { uint8 m_ipv6[ 16 ]; struct // IPv4 "mapped address" (rfc4038 section 4.2) { uint64 m_8zeros; uint16 m_0000; uint16 m_ffff; uint8 m_ip[ 4 ]; // NOTE: As bytes, i.e. network byte order } m_ipv4; }; uint16 m_port; // Host byte order /// See if two addresses are identical bool operator==(const SteamNetworkingIPAddr &x ) const; }; [/code] [section=connection_status]Connection status[/section] These types are used to describe the status of a connection. …
To do so first call [api]ISteamUserStats::RequestGlobalAchievementPercentages[/api]. Then, iterate the achievements in order of most completed to least completed by calling [api]ISteamUserStats::GetMostAchievedAchievementInfo[/api] and [api]ISteamUserStats::GetNextMostAchievedAchievementInfo[/api]. …
It displays the percentage of Steam players of the game that have achieved each one, ordered from most common to the rarest achievement. This is fun for players to see, and also a great resource for you as a developer: are your special challenges hard enough? …
This functionality is provided by the [doclink=features/inventory/tools]"tag_tool" item type[/doclink]. The tag_tool is consumed in order to modify a target item. First, to enable the tag tool, we need to enable the accessory tag on the customizable item (in our example, this is the backpack): [code=json]{ "appid": 480, "itemdefid": 2000, "type": "item", "name": "Everyday backpack", "description": "A good place to keep things, with lots of room for stickers.…
Anyone with access to that URL can add packages to the bundle. In order to add a package to a bundle, the user must have the 'Manage Pricing & Discounts' permission for all games in the package they wish to add. …
The Steam Deck/Machine and the Dev PC need to be on a local area network allowing Multicast DNS in order to be discovered and listed. This works over Wi-Fi or ethernet (via a USB-C hub). [list] [*]Make sure your Steam Deck/Machine is connected to the network, and all updates have been applied ([b]Settings > System[/b]) [*][b]On your Steam Deck/Machine[/b]: Go to Settings > System, and select [b]Enable Developer Mode[/b] under the System Settings section. …
. [*]Interview / Dev Diary - Non-fiction interview or documentary video. [/list] [subsection]Manage The Order Of Your Trailers[/subsection] Within the trailer management UI, you can drag and drop to reorder the list of videos to appear on your game's store page. …
This page covers where players see the calendar, what your game needs in order to be eligible, and what determines which games appear for each player. [section]Where Players See the Calendar[/section] The Personal Calendar appears in two places on the Steam Store: [list] [*][b]On the Steam Store front page[/b], where it shows the releases from [b]this week, two weeks ago, and two weeks in the future[/b]. [*][b]On its own dedicated calendar page[/b], where it shows [b]eight weeks[/b] of releases. …
[/td][/tr] [tr][td][doclink=features/leaderboards][/doclink][/td][td]Steam supports persistent leaderboards with automatically ordered entries. These leaderboards can be used to display global and friend leaderboards in your game and on your community webpage. Each Steamworks title can create up to 10,000 leaderboards, and each leaderboard can be retrieved immediately after a player's score has been inserted.…
[/list] [b]Note[/b]: An account must have 'Edit App Metadata' privileges for the app in question in order to edit this section. It's also a good idea to browse other product hubs to get an idea of what customization options you might want to take advantage of. …
ref=4045-USHJ-3810]Steam Community Rules And Guidelines[/url]. They should be temporary in order to serve as a reminder of the discussion rules. If a player has received previous temp bans, it may be appropriate to permanently ban them from your Hub. …
. [*][b]May 24[/b] - All required items must be submitted for review by this date in order for your game to be prepared for Steam Next Fest ([i]if you haven’t completed them already for the Press Preview[/i]) [/list] [b]June 2027[/b] [list] [*][b]June 3[/b] - This is the deadline to opt OUT of trailer permissions if you have previously opted in, to ensure your trailer will NOT be included in official marketing materials. [*][b]June 3[/b] - Press preview starts at 10am PDT. …
[/list] [b]February 2027[/b] [list] [*][b]February 1[/b] - All required items must be submitted for review by this date in order for your game to be prepared for Steam Next Fest ([i]if you haven’t completed them already for the Press Preview[/i]) [*][b]February 11[/b] - This is the deadline to opt OUT of trailer permissions if you have previously opted in, to ensure your trailer will NOT be included in official marketing materials. [*][b]February 11[/b] - Press preview starts at 10am PST. …
[list] [*] Subscribed files will be downloaded to the client in the order they were subscribed in. [*] The Steam download page will show workshop item downloads with a specific banner to indicate a workshop item download is occurring. …
[/list] [*] When querying for All UGC [list] [*] [api]ISteamUGC::SetMatchAnyTag[/api] - Sets whether workshop items will be returned if they have one or more matching tag, or if all tags need to match on a pending UGC Query. [*] [api]ISteamUGC::SetSearchText[/api] - Sets a string to that items need to match in either the title or the description on a pending UGC Query. [*] [api]ISteamUGC::SetRankedByTrendDays[/api] - Sets whether the order of the results will be updated based on the rank of items over a number of days on a pending UGC Query. [/list] [*] When querying for either type of UGC [list] [*] [api]ISteamUGC::AddRequiredTag[/api] - Adds a required tag to a pending UGC Query. …
[section=Authentication]Authentication and 3rd Party Accounts[/section] In order to call the Game Notifications APIs, you must first establish the identity of the Steam user logged into your game. You can do this one of two ways: a client game can generate an authentication session ticket and pass it back to your server, or a web based game can verify the user by using OpenID. …
. [*] [b]Loading content into a multi-player game client[/b] - If you have items or content that multiple users need in order for the game to function properly, you can download those items to all clients that need the particular item. For example, if a single user has subscribed to a custom map on the workshop and then invites his friends to join that match, your game should be able to recognize that it is a custom map and download the content from the Workshop for the other users before fully connecting to that match. [*] [b]Uploading entries from item authors[/b] - You'll need a tool for item authors to upload their entries to your Workshop using the [api]ISteamUGC[/api] API. …
[/b] If you are accepting items such as weapons via the Workshop, it may be important for you to be able to assign the attributes of the weapon such as speed, power, damage, reload time, etc. in order to best balance the gameplay in your title. [*] [b]Want tight control over the content added to your game.[/b] Depending on how you've set up your game, you can accept items in two different ways: [list] [*] [b]Download and build[/b] - If you want to download the assets to your local machine and include it in your game depots. …
[docimg=4_categories_1.png][/docimg] [section=DeckCompatibilityChecklist]Compatibility Checklist[/section] In order to receive the [docimg=verified_18.png]Verified badge[/docimg] [b]Verified[/b] badge, you need to meet all of the following criteria, aimed at helping customers feel comfortable playing your game on these devices. …
On Steam Machine, your game must support Steam Controller's inputs (essentially the same inputs as Steam Deck). [*]The default controller configuration must provide users with the ability to access all content. [*]Players must not need to adjust any in-game settings in order to enable controller support or this configuration.[/list] [*][b]Controller Glyphs[/b]: On-screen glyphs must match the inputs being used, whether it's Deck, Steam Controller, or Xbox glyphs. …