Asset Escrow is a system that allows developers to protect their code by preventing others from modifying or accessing certain scripts directly.
Currently Lua, YFT, YDD, and YDR files are supported.
The maximum file size for escrowed assets is 1GB.
When you re-upload an asset, the new version replaces the old one in your account. The previous version is not retained for you, but users who already downloaded an older version will still be able to use it.
The asset, which can be used on any server that you own, will be downloaded.
When creating a new package on Tebex, it will ask you to configure what your customers should receive upon purchasing this package. Select "FiveM Asset" and then choose the desired asset(s) from the dropdown list.
When a user buys access to the resource, they will receive an email with a download link.
Thanks to the asset escrow and encryption system, obfuscating code in escrowed resources is not necessary.
You can create and update resources that require a subscription to access. If the subscription expires, the asset is removed from the subscribed user's account and will no longer start on the user's server.
The resource will not start, and an error stating 'You lack the required entitlement' will appear in the server console.
The server owner must purchase your content to be eligible to run your resource.
New User Interface (NUI) is not currently supported.
You can tell the escrow system to ignore certain files by using the 'escrow_ignore' directive in your fxmanifest.lua like the example below:
escrow_ignore {
'script/code.lua', -- Only ignore one file
'stream/tuner.ydr', -- Works for any file, stream or code
'stream/*.yft', -- Ignore all .yft files in that folder
'stream/**/*.yft' -- Ignore all .yft files in any subfolder
}
Transfer of created assets to another account is not supported, and escrowed assets can only be distributed via a Tebex package.