How it works

When a user downloads your plugin, Spigot inserts placeholders into the download file. MC License assigns a 3-hour temporary key to your buyer while your PayPal logs are checked (this process is programmatic, but PayPal has an up to 3h delay). In the background, MC License will create and write to the file your user’s permanent key once the payment was found.

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, MC License will handle the entire licensing validation quietly in the background.

Integration

Firstly, create a plugin with your Spigot resource URL in the dashboard.

Then, in PayPal, head to the developer dashboard: https://developer.paypal.com/dashboard/applications/live

Choose Create App. You can choose any name you want, for example MC License.

Under Features, ensure only Transaction search box is checked. MC License does not require access to anything else.

Then, you’ll need to copy the Client ID and Secret from the app and place it into this card on the Settings page on 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 Spigot resource and your users will get instant, licensed access after purchase.