Custom Player Tags
In addition to predefined system tags, you can display your own custom tags in the player’s profile — passed from your server-side plugins.
Example
The simplest and most obvious thing to display as tags are the groups a player belongs to. We'll use them as an example to show how to send custom tags to RustApp.
c#
private void RustApp_CollectPlayerTags(string steamId, Dictionary<string, string> tags) {
if (permission.UserHasGroup(steamId, "vip"))
{
tags["vip"] = "⭐ Vip";
}
if (permission.UserHasGroup(steamId, "youtube"))
{
tags["youtube"] = "📽️ YouTube";
}
}
Please note
⚠️ This data is not stored in the database and is only shown for players who are currently online on the server.