Skip to content

teraprath/PointsAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PointsAPI

for Spigot 1.19+

Features

  • Easy to use and lightweight
  • MySQL-Support
  • Points Command (100% Configurable)
  • Compatible with StatsAPI

Implementation

You can see the latest version here.

Using Maven:

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.teraprath</groupId>
    <artifactId>PointsAPI</artifactId>
    <version>INSERT_VERSION_HERE</version>
</dependency>

Using Gradle:

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    implementation 'com.github.teraprath:PointsAPI:INSERT_VERSION_HERE'
}

Basic Usage

An overview of the methods provided by the PointsAPI.

PointsAPI.getPoints(player);
PointsAPI.setPoints(player, amount);
PointsAPI.addPoints(player, amount);
PointsAPI.removePoints(player, amount);
PointsAPI.reset(player);

Visit wiki page to see usage guide.