Esc to clear, Enter to open the best match, click an export to open it in its page
Building on WHIP
Selling on WHIP
Resources that use WHIP through its exports are your own work: open or closed, free or sold, under any licence. Here's what to keep in mind.
Licensing
- WHIP is LGPL 3.0 (each resource's
COPYING.LESSER, with the GPL 3.0 it builds on inCOPYING; whip_core's emote list,shared/emote_list.lua, is GPL 3.0). A resource that calls its exports and loads@whip_core/lib/satellite.luafrom whip_core's folder is yours. (That's WHIP's reading of its licence, not legal advice.) - Don't copy WHIP's files into your resource. A copied file stays LGPL, and buyers must be able to change it, which encryption prevents. Load the helper with
shared_script; never paste it in. The example resources (names ending_exampleor_examples) are MIT: copy from them freely. - Don't call your resource WHIP. The licence doesn't cover WHIP's name or logo. "Works with WHIP" is fine.
whip_core/NOTICE.mdlists what the licence doesn't cover.
Escrow
FiveM's asset escrow encrypts your Lua. WHIP never reads your Lua files: it knows your resource by name, and your settings live in its database. A few files must stay readable:
| File | With escrow |
|---|---|
Your config.lua | Add to escrow_ignore so owners can edit it, or use a Whip.configPage instead |
A property pack as .lua | Add to escrow_ignore, or ship it as .json |
| Director scenario packs | Already .json: nothing to do |
Your ui_page, images, sounds | Left as they are |
WHIP is untested with escrowed resources. If something stops working once encrypted, send the console output.
What a buyer can copy
Escrow protects Lua and streamed models only. Your HTML, JavaScript, CSS, images, sounds, property packs and Director scenarios stay readable, and a shipped scenario can be duplicated and exported in the buyer's Director. Price scenario packs with that in mind.