Skip to content
nullurePublic

About

Lunar Client player logos for OneClient 1.8.9

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moonmark

Moonmark is a small Minecraft 1.8.9 client mod that shows the Lunar Client logo beside Lunar players in the Tab list. It uses the player's logo color and, when present, their Lunar+ color. It has been tested with OneClient's Ornithe/Fabric 1.8.9 profile on Linux.

This is an independent project and is not affiliated with or endorsed by Lunar Client or Polyfrost. Lunar's service and protocol are private and may change without notice.

How it works

The mod authenticates using the Minecraft account already selected in OneClient, then asks Lunar's service for tab logos for players in the current list. Lookups run in the background, are batched, and are cached for ten minutes. A missing logo can mean a player is not using Lunar, their data is unavailable, or the service is disconnected; it is not a reliable identity or security check.

The mod sends your Minecraft profile UUID and username, basic OS and architecture details, and a Lunar authentication token to Lunar's official services. During authentication, Minecraft's existing session service uses your session token with the Minecraft authentication service. The mod does not ask for your password or write the token to a file. OneClient or other mods may write session information to their own logs: redact credentials before sharing logs.

Requirements

  • Minecraft Java Edition 1.8.9 in OneClient, with its Ornithe/Fabric loader and a signed-in premium account.
  • Java 17 or newer; the tested OneClient profile uses Java 25.
  • Network access to Lunar's authentication and WebSocket services and the Minecraft session service.
  • A local Lunar Client installation for its logo textures when building.

Build

The build script uses the libraries from an existing Linux OneClient installation, avoiding a large dependency download. Start the OneClient 1.8.9 profile at least once so its remapped game JAR and libraries exist. Install a JDK and unzip, then run:

bash build.sh

The script runs the protocol and authentication-decryption checks and writes dist/lunar-identifier-0.1.0.jar. The default paths target Fabric Loader 0.20.1 and the versions used in the tested installation. Set ONECLIENT_DIR and LUNAR_JAR if the installations are elsewhere. For a different local layout, GAME_JAR, LOADER_JAR, MIXIN_JAR, and AUTHLIB_JAR can each override the corresponding dependency path. The script expects an intermediary-mapped Ornithe 1.8.9 game JAR; a vanilla or Forge JAR is not interchangeable.

The repository does not include Lunar's logo artwork or client JAR. The build extracts two textures from the local lunar.jar into the ignored build directory and packages them in the output. Those assets are Lunar's, not covered by this project's MIT license. Obtain any necessary permission before redistributing a built JAR containing them.

Install and use

Import the built JAR into your OneClient 1.8.9 profile through the launcher's mod manager and restart the game. Join a multiplayer server and open Tab; identified players should have a small Lunar logo next to their names. The first lookup may take a few seconds. The mod's connection and lookup status is logged with the prefix [Lunar Identifier].

If no logos appear, check that the profile uses an online Minecraft account, the mod is enabled, and the log reports a connection. A transient authentication failure can occur while joining a server; the mod retries automatically. Some servers and account configurations may not provide the expected player identities.

License

The code in this repository is available under the MIT License. Lunar Client's names, trademarks, artwork, services and client files are not included in that license. Protocol research was informed by the locally installed client and public implementations, including LunarForge.

About

Lunar Client player logos for OneClient 1.8.9

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages