AdvancedLicense icon

AdvancedLicense -----

The simplest way for developers to license their plugins



[​IMG]
[​IMG]


[​IMG]
AdvancedLicense is an extremely efficient licensing-system with an easy to use web interface for creating, managing and deleting licenses and a simple but powerful API for easy integration of our system into your plugin.
So if anyone wants to test your plugin before paying, you no longer need to be worried about not getting paid. Trust, but verify!

Note that you are not allowed to upload licensed plugins to Spigot.

[​IMG]
✔ Easily manage your licenses through our web panel
✔ Cryptographic key authentication protection system
✔ Fast integration of your API into your plugin
✔ Limitation of IPs per license
✔ Encrypted login system for the web panel
✔ Plugin bound licenses
✔ Expiration date for licenses
✔ Automatic solution proposals eg: http://prntscr.com/aiijpr
✔ Live stats about your licenses
... much more just check out our live preview ...

A discussion about security:
All those features sound really nice, but how secure is AdvancedLicsense actually? Within its limitations AdvencedLicense is very secure. Meaning that we have tried to design everything that we have control over as secure as possible. But the fact remains that Java executables can be decompiled and especially strings that contain the license key and URL can in most cases easily be detected, removed, or manipulated.
So no, if the attacker has enough technical knowledge and manages to get past your obfuscation (at least find the key) then AdvancedLicense won't help you.
That being said, there are a lot of scenarios where AdvancedLicense withstands various attacks from the outside like intercepting with fake license servers. And finally, it is to mention that AdvancedLicesne was never intended to be a 100% solution for not getting scammed but just makes it less likely and really most people who buy plugins don't have the technical knowledge to bypass the system.


Please join our Discord if you have any further ideas to increase security or have further questions/concerns about the system.


[​IMG]
You will need the following things in order to use AdvancedLicense:
1. A WebServer that supports PHP
2. A MySQL-Server

[​IMG]
A fully working live version of the web panel can be found here.

http://indev.skamps.eu/license
Username: spigot_access
Password: spigot123

[​IMG]
The setup is really simple and most of the steps are done automatically by AdvancedLicense.

How to set up the WebPanel [Need to be done first]:
1. Download this resource ^^
2. Copy and paste all the files from the folder "webpanel" into your web server
3. Fill out the MySQL-Data and the Admin-Login in the config.php
4. Open the WebPanel in your browser and follow the displayed steps
5. You are done and can start managing your licenses

How to integrate our API:
1. Paste the AdvancedLicense.java into your Java-Project
2. Go into the onEnable part and use one of the ways of integrating our API

Ways of integrating our API:

Short:
Code (Text):
if(!new AdvancedLicense("YourLicense", "http://your.domain.com/License/verify.php", this).register()) return;
More advanced:
Code (Text):
if(!new AdvancedLicense("YourLicense", "http://your.domain.com/License/verify.php", this).setConsoleLog(LogType.NONE).register()) return;


LogTypes:
NONE - No output in the console (undercover)
LOW - Brief information
NORMAL - Good structured information [Default]
 
More secure:
Code (Text):
if(!new AdvancedLicense("YourLicense", "http://your.domain.com/License/verify.php", this).setSecurityKey("YOUR_OWN_SECURITY_KEY").register()) return;
If your enter your own Security Key you have to enter the same key in the config.php file on your WebServer

Debugging:
Code (Text):
if(!new AdvancedLicense("YourLicense", "http://your.domain.com/License/verify.php", this).debug().register()) return;
This will:
1. Give you the URL that is requested.
2. Give you the exact error message if there is an "URL_ERROR"

For advanced Developers:
Code (Text):
ValidationType vt = new AdvancedLicense("YourLicense", "http://your.domain.com/License/verify.php", this).isValid();

if(vt == ???){
    //your code
}else if(vt == ??? || vt == ???){
    //your code
} else{
    //your code
}
Validation Types are: WRONG_RESPONSE, PAGE_ERROR, URL_ERROR, KEY_OUTDATED, KEY_NOT_FOUND, NOT_VALID_IP, INVALID_PLUGIN, VALID;


[​IMG]
Code (Text):
<?php


/*
//========================================================================================================================\\
#  _______ ______  _    _ _______ __   _ _______ _______ ______              _____ _______ _______ __   _ _______ _______  #
#  |_____| |     \  \  /  |_____| | \  | |       |______ |     \      |        |   |       |______ | \  | |______ |______  #
#  |     | |_____/   \/   |     | |  \_| |_____  |______ |_____/      |_____ __|__ |_____  |______ |  \_| ______| |______  #
#  Coded by Leoko                                                                                                          #
\\========================================================================================================================//
*/

////////////////////////////////////////////////
//             MySQL-Data                     //
//                                               //
    //Database-Name
    define("DB_NAME", "Licenses");

    //MySQL- Server-IP/Domanin
    define("HOST", "localhost");

    //MySQL-Account
  define("USERNAME", "YOUR-USERNME");
    define("PASSWORD", "YOUR-PASSWORD");

//                                            //
////////////////////////////////////////////////

////////////////////////////////////////////////
//             Security                       //
//                                               //
    // This key will be used for the
    // cryptographic-key-authentication-protection
  // Required lenght: 36 [only 1 & 0]
    define("CKAP_KEY", "YecoF0I6M05thxLeokoHuW8iUhTdIUInjkfF");
  // If you change this key you will also
  // need to change it in the java component
  // by .setSecurityKey('Your-Key');

//                                            //
////////////////////////////////////////////////

////////////////////////////////////////////////
//             Stats                          //
//                                               //
    // Whether license-requests will be logged
    // and displayed in the dashboard
    define("STATS", true);
  // You can disable this to avoid error-messages
    // if PHP does not has enought permissions
    // or to boost the performance [just a few milliseconds]

//                                            //
////////////////////////////////////////////////

////////////////////////////////////////////////
//             Admin-Account                  //
//                                               //
    // You will need this data to login
    define("ADMIN_USERNAME", "");
    define("ADMIN_PASSWORD", "");
  // To add more accs insert them into
    // the 'users' table on the MySQL-Server

//                                            //
////////////////////////////////////////////////

////////////////////////////////////////////////
//                Indexing                    //
//                                               //
    // Do not change this unless you
    // really know what are you doing!
    // Block search engines from indexing?
    define("NOINDEX", true);

    // Block search engines from
    // following the links?
    define("NOFOLLOW", false);

//                                            //
////////////////////////////////////////////////

// no ending tag to avoid accidental output
 

Check out the free invoice tool that we developed: Liberty Invoice - Free Invoicing Tool


[​IMG]
If you find any bugs or have any questions feel free to contact me.
We only provide official support through our discord: https://discord.gg/ycDG6rS


Quick English tutorial on how to install and use AdvancedLicense:

English tutorial for integrating our API by @HTML

Thanks for the tutorial <3

If you find any bugs please try to contact us before making a bad review ^^
If you like AdvancedLicense please give us a 5/5 rating to show us support.
Also, I'd like to thank @FusionStyleFX for suggesting this idea.
Resource Information
Author:
----------
Total Downloads: 9,512
First Release: Mar 28, 2016
Last Update: Dec 1, 2023
Category: ---------------
All-Time Rating:
96 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings