-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
899db68
commit 1ef09a2
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Callout, Tab, Tabs } from 'nextra-theme-docs'; | ||
|
||
# Client Brand | ||
|
||
Lunar Client can be detected by checking the Minecraft client brand sent to the server. This allows you to detect and track Lunar Client players, if you're unable to use the full | ||
[Apollo](/apollo/introduction) integration. | ||
|
||
<Callout type="warning" emoji="⚠️"> | ||
This is not a cryptographically secure detection method. Malicious clients can spoof the client brand sent to the server. | ||
</Callout> | ||
|
||
## Brand Format | ||
|
||
The client brand will always be in the format `lunarclient:<VERSION>`. `<VERSION>` is the Lunar Client build that the user is running. See the next section for info about the | ||
version format. | ||
|
||
## Version Format | ||
|
||
We do not provide any guarantees about the exact format of the version, and it may change without notice. An unexpected version format does not mean that a user is running an | ||
unofficial build of Lunar Client. The version will be visible on the Minecraft F3 menu, and in the window title, in addition to being present in the client brand. | ||
|
||
Most, but not all, users will have a version in the format of `v<MAJOR>.<MINOR>.<PATCH>-<RELEASE YEAR><RELEASE WEEK>`. For example, `v2.12.0-2349` is version `v2.12.0`, which | ||
was built in the 49th week of 2023. |
1ef09a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📄 Documentation Deployment
preview