# 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](https://docs.rs/minecraft-eEssentials) and [examples](./templates/).
**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.**
- [NPM (Node)](https://github.com/minecraft-essentials/npm)
## Installation
Prerequisites:
- Rust
## Usage:
### Oauth:
```rust,ignore
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
```rust,ignore
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](./LICENSE)
With the licence above the header is provided [here](./HEADER)
For the templates see the [README](./templates/README.md)