Client validation - LunarBreaker/LunarBreakerAPI GitHub Wiki

Running CheatBreaker Client

The LunarBreaker API allows you to check if a player is running on a CheatBreaker Client. To check if a player is using the CheatBreaker Client, use:

LunarBreakerAPI.getInstance().isRunningCheatBreaker(Player player)

This will return a boolean of whether or not the client says they are running CheatBreaker. This should not yet be relied on for anticheat purposes as any hacked or legitimate CheatBreaker Client can initiate the PluginMessageChannel and is not the same verification method used in protected servers.

Running Lunar Client

The LunarBreaker API allows you to check if a player is running on a Lunar Client. To check if a player is using the Lunar Client, use:

LunarBreakerAPI.getInstance().isRunningLunarClient(Player player)

This will return a boolean of whether or not the client says they are running Lunar Client. This should not yet be relied on for anticheat purposes as any hacked or legitimate Lunar Client client can initiate the PluginMessageChannel and is not the same verification method used in protected servers.