Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 972 Bytes

File metadata and controls

43 lines (34 loc) · 972 Bytes
image(6)

API

Maven

  • Add jitpack to repositories and Neptune to dependencies:
 <repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
 </repositories>
 <dependency>
     <groupId>com.github.Devlrxxh.Neptune</groupId>
     <artifactId>API</artifactId>
     <version>{latest-commit-hash}</version> <!-- change this to the latest commit hash -->
     <scope>provided</scope>
 </dependency>
  • Also make sure you have added Neptune as a dependency in your plugin.yml:
depend: [Neptune]

Usage

NeptuneAPI neptune = NeptuneAPIProvider.getAPI();
neptune.getProfileService();
neptune.getMatchService();
neptune.getKitService();
neptune.getScoreboardService();
neptune.getArenaService();
neptune.getDivisionService();
neptune.getCosmeticService();