Hello MC-Market users!
First of all I want to leave a disclaimer here in case there are any issues by doing this thread/post, if there's an issue feel free to leave me a message via private messages or on my Discord (Elb1to#0001) and I'll remove this thread.
Without further ado, let's get into it, shall we?
As we all know, Lunar/Moonsworth developers have been working on a public (and free API. This is based on what I know about it so far) official API for Lunar Client. The current known and most used LunarClient API available for public use is TewPingz LunarClient's API, which is packed with most stuff, but lacks the ability to check if the player has LunarClient's AntiCheat ON or OFF.
This official Lunar Client API made by their developers has that and much more.
To add this API into your project you will need Maven (for this "tutorial" if you wanna call it that). The Nexus repository of this API will be linked aswell. (https://maven.moonsworth.com/#browse/browse:lunarclient-public)
In order to add it to your project, follow these 2 steps, pretty easy :tup:
1. Add LunarClient's public API repository into your project pom.xml file
2. Add LunarClient's public API dependency into your project pom.xml file
3. Now you can use LunarClient's Official API into your projects, to do so just call the API instance using the following -> LunarClientAPI.getInstance()
After that, you should be prompted with all currently available methods on the API.
Have a nice day and leave some reactions if you wish!
Also, if you have any questions, issues with this post or anything related to this, feel free to leave a comment or contact me privately (if there are any legal issues, idk lmao).
First of all I want to leave a disclaimer here in case there are any issues by doing this thread/post, if there's an issue feel free to leave me a message via private messages or on my Discord (Elb1to#0001) and I'll remove this thread.
Without further ado, let's get into it, shall we?
As we all know, Lunar/Moonsworth developers have been working on a public (and free API. This is based on what I know about it so far) official API for Lunar Client. The current known and most used LunarClient API available for public use is TewPingz LunarClient's API, which is packed with most stuff, but lacks the ability to check if the player has LunarClient's AntiCheat ON or OFF.
This official Lunar Client API made by their developers has that and much more.
GitHub Repository: https://github.com/FrozedClubDevelopment/LunarClientUtils
Leave an star if you wish
Leave an star if you wish
To add this API into your project you will need Maven (for this "tutorial" if you wanna call it that). The Nexus repository of this API will be linked aswell. (https://maven.moonsworth.com/#browse/browse:lunarclient-public)
In order to add it to your project, follow these 2 steps, pretty easy :tup:
1. Add LunarClient's public API repository into your project pom.xml file
Code:
<repository>
<id>lunarclient-public</id>
<url>https://maven.moonsworth.com/repository/lunarclient-public/</url>
</repository>
2. Add LunarClient's public API dependency into your project pom.xml file
Code:
<dependency>
<groupId>com.lunarclient</groupId>
<artifactId>bukkitapi</artifactId>
<version>1.0-20200729.212152-7</version>
</dependency>
3. Now you can use LunarClient's Official API into your projects, to do so just call the API instance using the following -> LunarClientAPI.getInstance()
After that, you should be prompted with all currently available methods on the API.
Have a nice day and leave some reactions if you wish!
Also, if you have any questions, issues with this post or anything related to this, feel free to leave a comment or contact me privately (if there are any legal issues, idk lmao).
- Type
- Offering
Last edited: