Voxel Shop (Polymart) integration

Verified license keys for Voxel Shop (Polymart) resources

Voxel Shop inserts license details into each buyer's download. On first start, MC License confirms the purchase with Voxel Shop's API and turns it into a license you control from your dashboard.

Voxel Shop (Polymart)

How buyers get their key

Inserted into the download, verified on first start

Code changes needed

The standard license check

How it works

From purchase to licensed, with no one in the loop

  1. 1

    A customer buys your premium resource on Voxel Shop (Polymart) and downloads it.

  2. 2

    Voxel Shop inserts its placeholders into the download file for that buyer.

  3. 3

    When the plugin enables for the first time, MC License verifies the purchase against Voxel Shop's API using your API key.

  4. 4

    If the purchase checks out, it becomes a managed MC License license with your plugin's default settings. If not, validation is rejected.

  5. 5

    From then on you can edit, disable, or revoke the license from your dashboard like any other.

Setup

Connect Voxel Shop in a few minutes

  1. 1

    Create a plugin in the MC License dashboard using your Voxel Shop (Polymart) resource URL.

  2. 2

    Add your Voxel Shop (Polymart) API key on the Keys page of the dashboard.

Step-by-step screenshots are in the Voxel Shop (Polymart) setup guide.

In your plugin

The same one-line license check

Marketplace automation doesn't need any Voxel Shop-specific code. Add the library and validate on enable, exactly as you would for any plugin.

1. Add the library

<repository>
    <id>flyte-repository-releases</id>
    <url>https://repo.flyte.gg/releases</url>
</repository>

<dependency>
    <groupId>org.mclicense</groupId>
    <artifactId>library</artifactId>
    <version>1.5.1</version>
    <scope>compile</scope>
</dependency>

2. Validate in onEnable

YourPlugin.java
@Override
public void onEnable() {
    if (!MCLicense.validateKey(this, "yourPluginId")) {
        Bukkit.getPluginManager().disablePlugin(this);
        return;
    }

    // Licensed: load the rest of your plugin as normal
}

3. Your customer pastes their key into the mclicense.txt file the library creates. On BuiltByBit and Voxel Shop it's already in the jar they download.

Worth knowing

What automation doesn't do

Automation issues licenses for legitimate purchases, which is almost all of them. Refunds and chargebacks don't disable a license automatically, and moving a key to a different buyer is still a manual edit. Both take one click from your dashboard. Read how marketplace automation works for the full picture.

Voxel Shop FAQ

Does the buyer have to enter a license key?

No. Voxel Shop inserts the details into the download, and the plugin validates on first start without the buyer doing anything.

What stops someone using a Voxel Shop download they didn't pay for?

On first start, MC License checks the purchase against Voxel Shop's API with your API key. A download that fails that ownership check is rejected, and the validation shows up with an invalid_polymart status.

Is Voxel Shop the same as Polymart?

Yes. Polymart is now Voxel Shop, and the MC License integration works with resources listed there.

Do I need to change my plugin code for Voxel Shop?

No. The integration in your plugin is the standard MC License license check, exactly the same as for any other plugin.

Stop generating keys by hand

Create an account, link your Voxel Shop store, and let every sale license itself.

Get started free

Sell somewhere else too?