Skip to content

Custom Player Data

Similar to custom tags, you can also display custom fields in a player’s profile with any information you need about that player.

An image

Example

c#
private void RustApp_CollectPlayerFields(string steamId, Dictionary<string, string> fields) {
  fields["Clan"] = Clan.Call("GetClan", steamId);
  fields["Position"] = Clan.Call("GetClanRole", steamId);
  fields["Clan points"] = Clan.Call("GetScores", steamId);
  fields["Donate amount"] = Store.Call("GetTotalDeposite", steamId);
  fields["Pass level"] = BattlePass.Call("GetLevel", steamId);
  fields["Top in stats"] = PlayerStats.Call("GetPlayerPosition", steamId);
}

Please note

⚠️ This data is not stored in the database and is only shown for players who are currently online on the server.