#offline #online #uuid #minecraft #mojang

uuid-mc

A library for handling and generating Minecraft offline and online UUIDs

3 releases (breaking)

0.3.0 Jan 8, 2023
0.2.0 Jan 8, 2023
0.1.0 Jan 7, 2023

#702 in Authentication

MIT/Apache

16KB
241 lines

uuid-mc Crates.io Crates.io

A Rust implementation of Minecraft's UUID logic. Includes functions to convert between usernames and online UUIDs (via the mojang API), and also crucially includes conversion from usernames to offline UUIDs (which was missing from the rust ecosystem).

Usage

Simply include the latest version of uuid-mc in your project. There are examples in the documentation.

Licens

Licensed under either of:

at your option.


lib.rs:

This library provides functionality for converting usernames to and from Minecraft UUIDs, including support for offline and online players.
You may choose to disable either the offline or online features if you don't need them.

To start, head over to PlayerUuid or look at some of the examples in this crate.

Dependencies

~0.5–1.7MB
~35K SLoC