MCStatus.NET
1.0.0
dotnet add package MCStatus.NET --version 1.0.0
NuGet\Install-Package MCStatus.NET -Version 1.0.0
<PackageReference Include="MCStatus.NET" Version="1.0.0" />
paket add MCStatus.NET --version 1.0.0
#r "nuget: MCStatus.NET, 1.0.0"
// Install MCStatus.NET as a Cake Addin #addin nuget:?package=MCStatus.NET&version=1.0.0 // Install MCStatus.NET as a Cake Tool #tool nuget:?package=MCStatus.NET&version=1.0.0
MCStatus
A minimal status checker library for Minecraft servers using the Server List Ping (SLP) interface in C#.
Usage
The library provides a single method that allows you to get all the status information you need! (Well, at least as much as the Server List Ping interface provides.)
var status = await ServerListClient.GetStatusAsync("mc.hypixel.net");
Console.WriteLine($"{status.Players.Online} / {status.Players.Max} players are online!");
If the server is down or something else goes wrong an exception is thrown.
Acknowledgments
Based on the amazing work by https://wiki.vg/!
Issues?
Built primarily for personal use, but if you encounter any problems while using feel free to report them and I'll see what I can do!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.0
- No dependencies.
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 |
---|---|---|
1.0.0 | 208 | 7/3/2023 |