[FREE] Official LunarClient API + Example Plugin

Elb1to

FrozedClub Owner
Supreme
Feedback score
12
Posts
173
Reactions
117
Resources
14
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.

GitHub Repository: https://github.com/FrozedClubDevelopment/LunarClientUtils
Leave an star if you wish Kappa

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:

zeymaan

Feedback score
0
Posts
46
Reactions
9
Resources
0
Is there someone who can edit this and add commands to it? /lc %player% /lc list?
 

frxq

Developer
Supreme
Feedback score
27
Posts
464
Reactions
185
Resources
3

ZoiBox

Java dev & Setup Specialist
Supreme
Feedback score
3
Posts
762
Reactions
228
Resources
1
thanks <3 was just going to buy one
 

ghooslyDev

Transaction Restricted
Feedback score
2
Posts
132
Reactions
25
Resources
0
Shared before, get :rekt: stoopid Elbito
 
Top