AdvancedLicense 1.6

The simplest way for developers to license their plugins

  1. Leoko
    [​IMG]
    [​IMG]


    [​IMG]
    AdvancedLicense is a extremly efficiant licensing-system with an easy to use webinterface for creating, managing and deleting licenses and a simple and powerfull API for an easy integration of our system into your plugin.
    So if anyone wants to test your plugin befor paying you no longer need to be worried about not getting payed. Trust, but verify!

    Please note that his resource originally should be a premium resource but it has not meet the guidelines so I decided to publish it for free.
    So any donations are welcome ^^ just PM me or contact me on Skype (Leoko33) for my PayPal address

    Also note that you are not allowed to upload licensed plugins to Spigot.

    [​IMG]
    ✔ Easily manage your licenses trough our webpanel
    ✔ Cryptographic key authentication protection system
    ✔ Fast integration of your API into your plugin
    ✔ Limitation of IPs per license
    ✔ md5 encrypted login system for the webpanel
    ✔ 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 ...

    [​IMG]
    You will need the following things in order to use AdvancedLicense:
    1. A WebServer that supports PHP
    2. A MySQL-Server
    Both things are available for free at http://www.bplaced.net/


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

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

    This webpanel was coded with passion to high efficiency and modern web design. We have used various APIs to boost the websides performance and usability.
    We used:
    - Bootstrap framework
    - FontAwsome css toolkit
    - ChartJS libary
    - AngularJS libary


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

    How to setup 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 intergarting 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
     

    [​IMG]
    If you find any bugs of have any questions feel free to contact me.
    Ways of getting support:
    - Discuss area on Spigot
    - Skype: Leoko33
    - PM on Spigot
    - Mail: [email protected]
    - TS³: ts.skamps.eu
    Please note that the higher options are better and faster ;)

    English tutorial for integrating our API by @HTML

    Thanks for the tutorial <3

    If you find any bugs please try to contact us befor 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 idear


    Kind regards
    ~ Leoko :3
    TheDevelon, MaveCrit, peyman and 9 others like this.

Recent Reviews

  1. Karim
    Karim
    4/5,
    Version: 1.6
    It's a very good License System,
    but one thing can you make better.

    Please encrypt the passwords of the users in the database.

    Thanks :-)
  2. felix23
    felix23
    5/5,
    Version: 1.6
    Best License System EVER
    With MySQL & WebPanel <3
    Its so nice, thank you for this great System
  3. ErikV
    ErikV
    5/5,
    Version: 1.6
    You convinced me...Here you go!
    Keep it up, keep updating this plugin, you made a developer's work much easier.
    1. Leoko
      Author's Response
      Thanks for the great 5-Star-Rating :) appreciate it very much ^^
  4. nxtSimon
    nxtSimon
    5/5,
    Version: 1.6
    In my opinion this is the best License Plugin / API you can have.
    The Webpanel Design is awsome and easy to use.
  5. Rob.pizza
    Rob.pizza
    5/5,
    Version: 1.6
    Very cool for my private plugins :D
    Ez to use and easy to configurate.
    also md5 isn't very strong or safe could you change it to SHA256?
  6. Gcunha
    Gcunha
    5/5,
    Version: 1.5
    Great resource, thank you for making this free. I aprecciate your eforts. ======
  7. MarcoxDev
    MarcoxDev
    5/5,
    Version: 1.5
    Very good API/Interface.
    Simple and functional. Love it. I'll use in all my plugins.
  8. byPvPJunkie
    byPvPJunkie
    5/5,
    Version: 1.5
    Very nice Thank you !
    --
    -
    -
    - 100stars, i can sell my Plugin now :D Thanks brooo!
  9. hhsskk_story
    hhsskk_story
    5/5,
    Version: 1.5
    this is a very useful system, think you for open source.
    five star :)
    we hope you team can keep doing~
  10. SpaicyGaming
    SpaicyGaming
    5/5,
    Version: 1.5
    Very usefull Api and easy web interface.

    I'll use it in all my plugins!
    Well done!