Crate minecraft_essentials
source ·Expand description
§Minecraft Essentials
A Package that gives all Minecraft client launchers essentials.
§Features
- Essential - functionality for Minecraft Client Launchers
- Simplifies - Minecraft Client Launcher Building.
- Fast - performs better than other frameworks in authentification and launching
- Safe - Forbids Unsafe Code
#![forbid(unsafe_code)] - Beginner Friendly - Full documentation and examples.
This package/library is not a virus/stealer and all of the code is easily shown. We take extra procautions for viruses and stealers in the code.
§Notice
Some packages/libraries had to be split up into separate repositories. The list is provided below. This is future versions will be combined with packages.
§Installation
Prerequisites:
- Rust
§Usage:
§Oauth:
ⓘ
use minecraft_essentials::*;
let client_id = "111231209837123098712";
let oauth = Oauth::new(client_id);
println!("Login here: {}", oauth.url());
let oauth_info = oauth.launch().await?;§Device_Code
ⓘ
use minecraft_essentials::*;
let client_id = "111231209837123098712";
let code = device_code::new(client_id);
println!("Stuff Here: {}", code.prelaunch());
let code_info = code.launch().await?;More usages coming soon.
§Licensing
This library is licensed under the Affero-GPL-3.0 Licence With the licence above the header is provided here For the templates see the README
Structs§
- Defines the Authentification Data that you will recive.
- Minecraft Device Code Authentification Method.
- Minecraft OAuth Authentification Method.
Constants§
- A Message for experimental Features.
- Scopes Required for Xbox Live And Minecraft Authentcation.