minehutdotnet 1.0.0

dotnet add package minehutdotnet --version 1.0.0                
NuGet\Install-Package minehutdotnet -Version 1.0.0                
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="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                
#r "nuget: minehutdotnet, 1.0.0"                
#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.
// Install minehutdotnet as a Cake Addin
#addin nuget:?package=minehutdotnet&version=1.0.0

// Install minehutdotnet as a Cake Tool
#tool nuget:?package=minehutdotnet&version=1.0.0                

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);
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 807 10/18/2019 1.0.0 is deprecated because it is no longer maintained.

Inital Release