Implementing into your code
import static com.edwardbelt.edlicense.Main.checkLicense;if(!checkLicense("YOUR-PLUGIN-ID", "YOUR-LICENSE-KEY")) {
Bukkit.getLogger().warning("You are using an invalid license!");
getServer().getPluginManager().disablePlugin(this);
return;
}Last updated