SunLicenseSign in
For Hytale plugin developers

Your Hytale plugin, on paying servers only.

A key per buyer and a server limit on every license.

Create free account

Free plan · No credit card · Set up in minutes

Coding with an AI agent? Paste one prompt
  • JavaJava
  • Tebex
  • Stripe
  • Payhip
  • Gumroad
  • Discord
What you get

Built for how you sell.

A key per buyer

Issued on purchase by Tebex, Stripe or Payhip.

Servers per license

1, 2 or 10 servers per key.

TOO_MANY_MACHINES

Refunds switch it off

Tebex and Stripe refunds revoke the key.

Signed offline licenses

Checked with your public key, no connection.

Ed25519

Buyer roles in Discord

Claiming gives the role; revoking takes it.

/claim

Sentinel finds the leak

Flags keys on too many servers.

Lite & Standard
How it works

Live before your next release.

  1. 1Create a free account
  2. 2Connect your store
  3. 3One check at start-up
YourPlugin.java
// Once, as your plugin starts, before anything else loads
SunLicense client = new SunLicense.Builder()
        .baseUrl("https://api.sunlicense.com")
        .token(API_KEY)          // slk_..., can only validate
        .build();

String key = Files.readString(dataFolder.resolve("license.txt")).trim();
if (!client.validate(key, Map.of("host", serverId)).isValid()) {
    logger.severe("License denied: this copy stays off.");
    return;
}
FAQ

Questions, answered.

Can I license a Hytale plugin today?

Yes. Hytale server plugins are Java .jar files, and SunLicense's Java SDK checks a key from any Java code: read the buyer's key, validate it once as the plugin starts, and keep your plugin off if it's refused. A Hytale template is coming soon; until then the Paper plugin template (docs.sunlicense.com/guide/paper-plugin) shows the same check, every answer and the offline fallback.

Does it work on BuiltByBit?

SunLicense's BuiltByBit integration uses BuiltByBit's External license key placeholder, which writes each buyer's key into the file they download; Minecraft plugin sellers use it today. If your Hytale listing offers placeholders, set it up the same way. Tebex, Stripe, Payhip and Gumroad issue keys for any product.

How do I limit my plugin to one server per purchase?

Give the policy 1 machine and send a stable server id with each check, or give it an IP limit: each new address takes a slot and an address unused for 30 days frees itself. When a buyer moves host they can free the old slot in the customer portal (Lite and Standard), or you free it on the license page.

Will my plugin break servers if SunLicense is down?

Not if you treat no answer as not a no, as our templates do: keep running and retry, or check a signed offline license file. Only a real rejection, such as a revoked or unknown key, should turn the plugin off.

Protect your next release.

  • Free plan
  • No credit card
  • Cancel any time