PivityGmodStore

File String Replacements

You can deliver unique files to every user who downloads your product, in any file with the following extensions .txt, .lua, .php, .env, .js, .cs, .json or .ts they will replace the following strings with their corresponding value.

  1. {{ user_uuid }} will be replaced with the user's Pivity ID
  2. {{ user_id }} or {{ steam64 }} will be replaced with the user's SteamId64
  3. {{ steam2 }} or {{ steam32 }} will be replaced with the user's SteamId32
  4. {{ steam3 }} will be replaced with the user's SteamId3
  5. {{ user_id | 25 }} will be replaced with the user's SteamId64 xored by 25
  6. {{ user_id sha256 key }} will be replaced with a sha256 of the user's SteamId64 with key appended
  7. {{ product_id }} will be replaced with the product's id number
  8. {{ product_version_id }} will be replaced with the downloaded version id
  9. {{ product_version_name }} will be replaced with the downloaded version name
  10. {{ product_version_hash }} will be replaced with the downloaded version hash
  11. {{ product_version_release_type }} one of: stable, beta, alpha, private or demo
  12. {{ web_hook "https://website.tld/somescript.php" "secretkey" }} Sends a POST containing steamid, user_id, product_id and version_name. The "secretkey" is sent in a POST called extra. Replaces the text with whatever the website returns.

Can't find what you're looking for?

Contact our support