You search your plugin's name and there it is: your premium jar, free to download on a leak forum. It happens to almost every plugin that sells well, and it tends to happen the week of a big release or sale.
Here's what to do in the first hour, in order, and how to set things up so the next leak takes five minutes instead of a weekend.
1. Don't run the leaked file
Leak sites are a common way to spread malware: "cracked" jars often carry a backdoor that was added after the leak. Download the file only to inspect it, in a throwaway folder or a VM. Never put it on a server, not even a test one.
2. Find out whose copy it is
This only works if every buyer got a unique copy. If they did, you have three ways to find the buyer.
Look for the key in the jar. If you sell on BuiltByBit with an External license key placeholder, or on Voxel Shop or SpigotMC with their buyer placeholders, the store wrote something unique into each download.…