When a user downloads your premium resource, BuiltByBit will securely request a license key to insert into the jar from the MC License API.
This then becomes an MC License managed license, meaning you can modify it in your dashboard and enforce settings.
When the plugin gets enabled for the first time, validation takes place as normal.This means that no intervention is required on your part to manage licenses, nor on the user’s part to request their license key. From the moment a user purchases your resource, they will have a license key ready to use infused into their plugin.
Firstly, generate a BuiltByBit Webhook Secret on the dashboard. This can be done through the Settings page on the dashboard. It will look like this:Next, head to the BuiltByBit Placeholders page: https://builtbybit.com/placeholders/Create a placeholder with the following details:
Create a plugin using your BuiltByBit resource URL in the dashboard.
Integration into your code is the exact same as the standard license check.
That’s it! MC License will now automatically manage licenses for your BuiltByBit resource and your users will get instant, licensed access after purchase.