Skip to content

aklusa022/Hyperlink-Licensing-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

Hyperlink-Licensing-System

What is this?

The Hyperlink Licensing System allows Minecraft Plugin Devs to implement our Licensing System with Ease.

How do I set this up?

  • Please create an account on {%web_link%}

  • Create an API-Key on the dashboard. API-Keys-Page

  • Now import the Java Library into your project (using Intellij for this). Go to File > Project Structure > Modules > Dependencies > Click + in the dependencies list and select Jars or directories. Select the import Java API that was provided by us

  • When making an artifact, follow this process: Add artifact, Jar, From modules with dependencies, and enter the name of your main class because if you don't the plugin will try to target the api's main class, error out, and then abort startup.

  • Next Copy and Paste this code into your onEnable() method

      APIPlugin apiPlugin = new APIPlugin();
      try {
          apiPlugin.Enable("api-yourapikey");
      } catch (SQLException e) {
     
      e.printStackTrace();
      }
    
  • If you are planning to create a custom configuration file, please make sure you add a 'license-key' field to it. If not, the API with create a config.yml automatically.

  • Compile and Enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors