LimboAuth Client Mod
No reviews yet
Implement auto-login with the LimboAuth plugin, the client mod and optionally using a custom launcher
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
LimboAuth Client Mod
A client mod for LimboAuth
Test server: ely.su
Mod dependencies
- Architectury API
Features of LimboAuth Client Mod
- Saves session tokens to the config file (
.minecraft/config/limboauth.yml) - You can set your own session token via the custom launcher
How does session token work
- The server makes a token - a struct that contains an issue timestamp
- The server signs this token with a private verify key (which you can see in the LimboAuth config)
- The server sends the token to the client, the client saves it to the config file
- When player joins the server, servers asks client if he has a session token
- If the player has a session token, it sends it to the server
- The server verifies the token via the private verify key
How to generate a session token
Pseudocode
# This key must be the same in the plugin config and in the server hash issuer
verify_key = "testkey123"
issue_timestamp = unix_timestamp_millis()
player_username = "TestPlayer123"
username_bytes = utf8.string_to_bytes(lower(player_username))
timestamp_bytes = big_endian.long_to_bytes(issue_timestamp)
# siphash 2-4 (default siphash) is used here
tokenhash = siphash.hash(verify_key, byte_concat(username_bytes, timestamp_bytes))
hash_bytes = big_endian.long_to_bytes(tokenhash)
token = base64.encode_to_string(byte_concat(timestamp_bytes, hash_bytes))
When does the token expire?
- The token expires if the player changes his password
- See ISSUEDTIME database field
Donation
Your donations are really appreciated. Donations wallets/links/cards:
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers