TraceLd.MineStatSharp 1.0.0

Package Description

Install-Package TraceLd.MineStatSharp -Version 1.0.0
dotnet add package TraceLd.MineStatSharp --version 1.0.0
<PackageReference Include="TraceLd.MineStatSharp" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TraceLd.MineStatSharp --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MineStat

MineStat is a Minecraft server status checker.

You can use this library in a monitoring script to poll multiple Minecraft servers or to let
visitors see the status of your server from their browser.

Usage example

MineStat ms = new MineStat("minecraft.dilley.me", 25565);
Console.WriteLine("Minecraft server status of {0} on port {1}:", ms.Address, ms.Port);

if(ms.ServerUp)
{
  Console.WriteLine("Server is online running version {0} with {1} out of {2} players.", ms.Version, ms.CurrentPlayers, ms.MaximumPlayers);
  Console.WriteLine("Message of the day: {0}", ms.Motd);
  Console.WriteLine("Latency: {0}ms", ms.Latency);
}
else
{
  Console.WriteLine("Server is offline!");
}

MineStat

MineStat is a Minecraft server status checker.

You can use this library in a monitoring script to poll multiple Minecraft servers or to let
visitors see the status of your server from their browser.

Usage example

MineStat ms = new MineStat("minecraft.dilley.me", 25565);
Console.WriteLine("Minecraft server status of {0} on port {1}:", ms.Address, ms.Port);

if(ms.ServerUp)
{
  Console.WriteLine("Server is online running version {0} with {1} out of {2} players.", ms.Version, ms.CurrentPlayers, ms.MaximumPlayers);
  Console.WriteLine("Message of the day: {0}", ms.Motd);
  Console.WriteLine("Latency: {0}ms", ms.Latency);
}
else
{
  Console.WriteLine("Server is offline!");
}

  • .NETStandard 2.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 History

Version Downloads Last updated
1.0.0 367 12/14/2019