Implementing into your code
Once you have added the repo and the dependency into your pom.xml, now it's time to implement it into your code. On your main class, import the following static function:
And now on your onEnable, put the following code:
So, if the license is invalid or it has expired or it has reached the maximum amounts of IP addresses it will return false on checkLicense method.
Last updated