Skip to content

Script Licensing

The Cereal licensing service lets you restrict script execution to users who have purchased your script through the Marketplace.

Implementing license verification is optional, but strongly recommended for any paid script.

How it works

When a user starts your script, your code calls the Cereal licensing server to check whether that user holds a valid license. If they do not, you can stop the script from running.

The check requires a network connection. Users without internet access will not be able to start the script.

What the service protects against

The licensing service blocks casual piracy — users copying a script directly from one Cereal installation to another without purchasing it.

It does not prevent a determined attacker who is willing to decompile and patch the JAR. You can raise the cost of that attack significantly with obfuscation, but you cannot eliminate the risk entirely. See Additional Protection for techniques that make reverse engineering harder.

In this section