minehutdotnet 1.0.0

A .NET API Wrapper for the Minehut API.

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

Minehut.Net

This project allows for easy integration to your minehut account/server. It includes all of the features of the minehut backend API, including the ability to make/verify accounts.

This project was written in Visual Basic, but as it is a .NET library, it makes no difference to using it in C#.

For the full documentation, see the GitHub page: https://github.com/ShimmyMySherbet/Minehut.Net

Documentation

The first part you will need to know, the bulk of this library is in the MinehutAPIClient

MinehutAPIClient

Most of the features of the minehut API will require logging in, so you can access your servers. To do this, use the Login() method. For most of the functions contained within this class, it is recommended to import the Minehut.Types class.

using Minehut.Types;

Login

This will authenticate the client to the minehut api, allowing for you to work with your servers.
C#

MinehutApiClient Minehut = New MinehutApiClient();
Minehut.Login("Email@domain.com", "SuperSecretPassword");

SendCommand

This sends the specified command to the server via console. All commands run as server, and therefore with operator privileges.

minehut.SendCommand(ServerID, "Op ShimmyMySherbet")
minehut.SendCommand(ServerID, "Broadcast Server shutting down in 5 minutes!")

StartService()

Starts the service and server for the specified Minecraft server.

Minehut.StartService(ServerID);

Minehut.Net

This project allows for easy integration to your minehut account/server. It includes all of the features of the minehut backend API, including the ability to make/verify accounts.

This project was written in Visual Basic, but as it is a .NET library, it makes no difference to using it in C#.

For the full documentation, see the GitHub page: https://github.com/ShimmyMySherbet/Minehut.Net

Documentation

The first part you will need to know, the bulk of this library is in the MinehutAPIClient

MinehutAPIClient

Most of the features of the minehut API will require logging in, so you can access your servers. To do this, use the Login() method. For most of the functions contained within this class, it is recommended to import the Minehut.Types class.

using Minehut.Types;

Login

This will authenticate the client to the minehut api, allowing for you to work with your servers.
C#

MinehutApiClient Minehut = New MinehutApiClient();
Minehut.Login("Email@domain.com", "SuperSecretPassword");

SendCommand

This sends the specified command to the server via console. All commands run as server, and therefore with operator privileges.

minehut.SendCommand(ServerID, "Op ShimmyMySherbet")
minehut.SendCommand(ServerID, "Broadcast Server shutting down in 5 minutes!")

StartService()

Starts the service and server for the specified Minecraft server.

Minehut.StartService(ServerID);

Release Notes

Inital Release

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 166 10/18/2019