Facepunch.Steamworks Wiki

Grouping Friends

image.png

Using Rich Presence you can make a group of friends appear together on the friends list.

To do this you set two key values, steam_player_group and steam_player_group_size.

var MyTeamName = IsTerrorist? "terrorist" : "counter-terrorist"; var teamSize = player_list.Count( x => x.IsTerrorist ); SteamFriends.SetRichPresence( "steam_player_group", MyTeamName ); SteamFriends.SetRichPresence( "steam_player_group_size", teamSize.ToString() );

Page Links


Special Pages


Wikis

?

Render Time: 15ms

DB GetPage 2
Generate Html 0
SaveChanges (1) 9
Render Body 0
Render Sidebar 1