Install a purchase on my server
install_on_serverQueues one file of a product the signed-in customer owns (product_id and file_index from list_purchases) for installation on one of their connected FiveM servers (server_id from list_servers; may be omitted when exactly one is connected). The RPScripts agent on that server downloads and checks it and unpacks it into resources/[rpscripts]// with a backup; replacing an existing folder waits for the owner's confirmation in the account. Server packs and non-ZIP files are refused. Follow the result with list_servers. Counts as a download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | No | ||
| file_index | No | ||
| product_id | Yes |