I want to license my package with any scripts and i dont know how to do it, so i need help with this can someone help me
2 Likes
Short answer: use Tebex + Cfx Asset Escrow. It’s the only approach that’s widely accepted here and keeps your code protected while leaving configs open for buyers.
How to give a licensed package:
1 Prepare your resource
- Keep logic in /client and /server.
- Keep user-editable files separate (config, locales).
- Add versioning and a simple changelog.
- Include theese in fxmanifest.lua
lua54 'yes'
-- Files buyers can edit, these stay unencrypted under escrow:
escrow_ignore {
'config.lua',
'locales/*.lua'
}
-
Upload with Asset Escrow
- Create the asset on the cfx keymaster.
- Verify that only the files in
escrow_ignoreremain open. - Test the encrypted build on a clean server before release.
-
Sell via Tebex
- List the asset on your Tebex store.
- Connect Tebex < - >FiveM account so buyers get the key automatically.
You can build your own key check (server pings your API), but it’s easier to bypass and requires more support. Escrow + Tebex is the standard here.