MinecraftOfflineUuidGenerator 1.0.0
dotnet add package MinecraftOfflineUuidGenerator --version 1.0.0
NuGet\Install-Package MinecraftOfflineUuidGenerator -Version 1.0.0
<PackageReference Include="MinecraftOfflineUuidGenerator" Version="1.0.0" />
<PackageVersion Include="MinecraftOfflineUuidGenerator" Version="1.0.0" />
<PackageReference Include="MinecraftOfflineUuidGenerator" />
paket add MinecraftOfflineUuidGenerator --version 1.0.0
#r "nuget: MinecraftOfflineUuidGenerator, 1.0.0"
#:package MinecraftOfflineUuidGenerator@1.0.0
#addin nuget:?package=MinecraftOfflineUuidGenerator&version=1.0.0
#tool nuget:?package=MinecraftOfflineUuidGenerator&version=1.0.0
Minecraft Offline UUID Generator
This package provides a simple functionality for generating offline Minecraft player UUIDs based on their nicknames in .NET projects.
Description
Offline UUIDs are used by Minecraft servers running in "offline mode" to uniquely identify players. This library implements the standard algorithm for generating such UUIDs.
Installation
You can install this package using the NuGet Package Manager in Visual Studio or the .NET CLI.
Visual Studio:
- In Solution Explorer, right-click on your project.
- Select "Manage NuGet Packages...".
- Go to the "Browse" tab.
- Search for
MinecraftOfflineUuidGenerator
and click "Install".
** .NET CLI:**
Open a terminal or command prompt in your project's directory and run:
dotnet add package MinecraftOfflineUuidGenerator
Usage
To generate an offline UUID, use the static method GenerateOfflineUuid of the OfflineUuidGenerator class.
using System;
public class SingleUserExample
{
public static void Main(string[] args)
{
string username = "PlayerOne";
Guid offlineUuid = MinecraftOfflineUuidGenerator.OfflineUuidGenerator.GenerateOfflineUuid(username);
Console.WriteLine($"Offline UUID for '{username}': {offlineUuid}");
}
}
License
This project is distributed under the MIT License.
Repository The source code for this package is available on GitHub.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.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 | 135 | 4/5/2025 |