CodeLogic.SocialConnect
3.3.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CodeLogic.SocialConnect --version 3.3.1
NuGet\Install-Package CodeLogic.SocialConnect -Version 3.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeLogic.SocialConnect" Version="3.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeLogic.SocialConnect" Version="3.3.1" />
<PackageReference Include="CodeLogic.SocialConnect" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeLogic.SocialConnect --version 3.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeLogic.SocialConnect, 3.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeLogic.SocialConnect@3.3.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeLogic.SocialConnect&version=3.3.1
#tool nuget:?package=CodeLogic.SocialConnect&version=3.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CodeLogic.SocialConnect
Discord webhook and Steam Web API integration for CodeLogic 3. Send Discord notifications and fetch Steam player profiles, bans, and game libraries.
Install
dotnet add package CodeLogic.SocialConnect
Quick Start
await Libraries.LoadAsync<SocialConnectLibrary>();
var social = Libraries.Get<SocialConnectLibrary>();
// Discord — send a webhook message
await social.Discord.SendAsync("Server restarted", username: "Bot");
// Steam — fetch player profile
var player = await social.Steam.GetPlayerAsync("76561198012345678");
if (player.IsSuccess)
Console.WriteLine($"{player.Value.PersonaName} — {player.Value.ProfileUrl}");
// Steam — check bans
var bans = await social.Steam.GetPlayerBansAsync("76561198012345678");
Features
Discord
- Webhook Messages — send text, embeds, mentions, with configurable username and avatar
- Default Webhook URL — set once in config, override per call
- Rate Limit Aware — respects Discord rate limits
Steam
- Player Profiles — persona name, avatar (3 sizes), profile URL, real name, country, online status
- Player Bans — VAC bans, game bans, trade bans, community bans
- Game Library — owned games with playtime and app info
- Built-in Cache — configurable TTL (default 5 min) to reduce API calls
- Steam Authentication — ticket-based auth for game server integration
Configuration
Auto-generated at data/codelogic/Libraries/CL.SocialConnect/config.socialconnect.json:
{
"enabled": true,
"discord": {
"enabled": true,
"defaultWebhookUrl": "https://discord.com/api/webhooks/xxx/yyy",
"defaultUsername": "MyApp",
"timeoutSeconds": 10
},
"steam": {
"enabled": true,
"apiKey": "your-steam-web-api-key",
"cacheTtlSeconds": 300,
"timeoutSeconds": 15
}
}
Get your Steam Web API key at steamcommunity.com/dev/apikey.
Documentation
Requirements
- CodeLogic 3.x | .NET 10
License
MIT — see LICENSE
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- CodeLogic (>= 3.2.0 && < 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.5.2 | 89 | 5/24/2026 |
| 4.5.1 | 109 | 5/24/2026 |
| 4.5.1-preview.56 | 81 | 5/24/2026 |
| 4.4.2-preview.53 | 46 | 5/24/2026 |
| 4.4.1 | 91 | 5/24/2026 |
| 4.0.5 | 89 | 5/15/2026 |
| 4.0.4 | 99 | 5/9/2026 |
| 4.0.3 | 93 | 5/9/2026 |
| 3.3.1 | 611 | 4/18/2026 |
| 3.3.0 | 103 | 4/18/2026 |
| 3.2.11 | 112 | 4/18/2026 |
| 3.2.10 | 95 | 4/18/2026 |
| 3.2.9 | 97 | 4/18/2026 |
| 3.2.8 | 91 | 4/18/2026 |
| 3.2.7 | 92 | 4/18/2026 |
| 3.2.6 | 96 | 4/18/2026 |
| 3.2.5 | 102 | 4/18/2026 |
| 3.2.4 | 99 | 4/17/2026 |
| 3.2.3 | 90 | 4/17/2026 |
| 3.2.2 | 146 | 4/17/2026 |
Loading failed