Game mods & server scripts

How to sell FiveM scripts, Minecraft plugins, and game mods with license key protection

The modding economy runs on Discord and Tebex with almost no real license protection. FiveM script leaks, Spigot plugin piracy, and Garry’s Mod addon sharing cost creators thousands. Licensr gives you Stripe payments, license key validation, and a buy page — so you can sell scripts and mods with server-locked enforcement instead of the honor system.

Lua (FiveM)
-- server.lua: validate on resource start
AddEventHandler("onResourceStart", function(res)
  if res ~= GetCurrentResourceName() then return end

  PerformHttpRequest(
    "https://api.licensr.app/v1/license/validate",
    function(code, body)
      local data = json.decode(body)
      if not data.valid then
        print("^1[LICENSE] Invalid key. Stopping.^0")
        StopResource(res)
      end
    end,
    "POST",
    json.encode({
      license_key = GetConvar("license_key", ""),
      plugin_slug = "my-fivem-script",
    }),
    {
      ["Content-Type"] = "application/json",
      ["Authorization"] = "Bearer " .. API_KEY,
    }
  )
end)

Compatible modding & game server platforms

FiveM (Lua/JS/C#)
Minecraft Spigot/Bukkit (Java)
Garry’s Mod (Lua)
ARMA (SQF/C++)
Rust / Oxide (C#)
Any REST language

Why mod creators choose Licensr over Tebex and Discord sales

Real license enforcement, not the honor system

Most FiveM and Minecraft mod creators sell on Discord with a ZIP file and a “please don’t share” message. Licensr validates the license key on every server start — leaked scripts stop working without a valid key. A Tebex and FiveM escrow alternative with real enforcement.

Server-locked or machine-locked license keys

Lock each license to a server IP or machine identifier. A FiveM script purchased for one server cannot be dropped into another without using an additional activation. Stops the most common form of mod piracy.

Your own buy page — no Tebex 5% fee

Sell at /buy/your-slug on your own payment account. No Tebex 5% transaction fee, no platform middleman. Customers pay and receive the license key instantly via email.

Subscription or one-time license models

Charge monthly for ongoing updates and support, or sell one-time perpetual license keys. The API handles subscription lifecycle, expiry, and grace periods automatically.

Instant license revocation for chargebacks

When a buyer disputes a payment, revoke the license key from the dashboard. The mod stops validating on the next server restart — no need to access the customer’s machine.

Start selling your game mods with license protection.

Free tier available. From signup to a working license key system in 15 minutes — no marketplace required.