AWJ.GameServerInfo
1.0.9
dotnet add package AWJ.GameServerInfo --version 1.0.9
NuGet\Install-Package AWJ.GameServerInfo -Version 1.0.9
<PackageReference Include="AWJ.GameServerInfo" Version="1.0.9" />
<PackageVersion Include="AWJ.GameServerInfo" Version="1.0.9" />
<PackageReference Include="AWJ.GameServerInfo" />
paket add AWJ.GameServerInfo --version 1.0.9
#r "nuget: AWJ.GameServerInfo, 1.0.9"
#:package AWJ.GameServerInfo@1.0.9
#addin nuget:?package=AWJ.GameServerInfo&version=1.0.9
#tool nuget:?package=AWJ.GameServerInfo&version=1.0.9
AWJ.GameServerInfo
AWJ.GameServerInfo is a NuGet package to simplify the retrieving game server info from 7 Days to Die dedicated servers.
Install Package
> dotnet add package AWJ.GameServerInfo
Example usage
private readonly GameServerService service = new();
var serverInfo = await service.GetServerInfoAsync(GameHosts.ChillCatWar3zuk);
GameHost = serverInfo.GameHost;
CurrentTime = DateTime.Now;
LastUpdated = CurrentTime;
CurrentServerTime = serverInfo.CurrentServerTime;
CurrentPlayers = serverInfo.CurrentPlayers;
DayNightLength = serverInfo.DayNightLength;
Previous = serverInfo.Previous;
Next = serverInfo.Next;
RealTime = CurrentTime?.AddMinutes(serverInfo.RealMinutes);
UDP protocol
Internally this is using the UDP protocol to communicate directly with the game server. Because of this, you cannot use this in the browser such as a Blazor web assembly.
You can use this package with Blazor server-side rendering. But, I do not believe that there is an inexpensive way to host an application using UDP on Azure.
It can be used with other mobile and Windows technologies such as with Maui.
SteamQuery.NET
SteamQuery.NET NuGet package is being used to handle the network traffic and binary translations.
Info Field Descriptions
You can find many of the fields described here
Version History
1.0.9 - 04/02/2026
- Missing CurrentPlayers field added
1.0.8 - 04/02/2026
- Added RealMinutes to GameTime and it is populated along with the other GameTime fields
- Added xUnit test project and a few tests
1.0.7 - 03/27/2026
- Adding more fields
- Moved a lot of logic from the serivice to extensions
1.0.6 - 03/23/2026
- Re-added the receiveTimeout parameter
- Updated SteamQuery.NET dependency
1.0.5 - 03/23/2026
- Tries to convert fields without throwing exceptions
- Adding more fields
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- SteamQuery.NET (>= 2.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.