2026-06-01 20:40:38 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:05:05 +02:00
2026-06-01 18:53:45 +02:00
2026-06-01 18:05:05 +02:00

License Lib by WinniePatGG

This library is built for the license system by Pietriss

Installation

  1. Add the repository to your project:
repositories {
    maven { url = "https://maven.winniepat.de/repository/maven-public/" }
}
  1. Add the dependency:
dependencies {
    implementation 'de.winniepat:license-lib:+' (or specify a version instead of +)
}

Usage (Sync)

You can work with syncResult.isValid() to check if the license is valid and handle it from there

import de.winniepat.licenselib.LicenseClient;

LicenseClient.LicenseResult syncResult = LicenseClient.check(apiUrl, plugin, licenseKey, serverId);

Usage (Async)

Here you can also work with result.isValid() and handle it from there

import de.winniepat.licenselib.LicenseClient;

LicenseClient.checkAsync(apiUrl, plugin, licenseKey, serverId)
    .thenAccept(result -> {
        if (result.isValid()) {
            System.out.println("Async Valid: " + result);
        } else {
            System.out.println("Async Invalid: " + result);
        }
    });
S
Description
No description provided
Readme 88 KiB
Languages
Java 100%