minehutdotnet 1.0.0
dotnet add package minehutdotnet --version 1.0.0
NuGet\Install-Package minehutdotnet -Version 1.0.0
<PackageReference Include="minehutdotnet" Version="1.0.0" />
paket add minehutdotnet --version 1.0.0
#r "nuget: minehutdotnet, 1.0.0"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 12.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.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.0 | 799 | 10/18/2019 |
Inital Release