# Tebex & Coin Products

You can use products in Pickle's In-Game Shop from both Tebex and Coins.\
Here's how to each type!

## Tebex Products

1. Go to <https://creator.tebex.io/packages>, and add (or modify) a package.
2. Go down to where it says Game Server Commands, and add a command.<br>

   <figure><img src="https://3307626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa8jObpSwWArIHNbZSA4%2Fuploads%2FkD112XaMIy1zGm03WkEB%2Fimage.png?alt=media&#x26;token=3b6b1461-9214-4a01-afce-e9ae6f94675a" alt=""><figcaption></figcaption></figure>
3. Write the PTS Command you want to use, along with it's format. In this example we will give coins. So we'll use `pts_givecoins {transaction} {id} 100` to give 100 coins.&#x20;
4. Click the gear icon to the right of the command, and set "Require Player To Be Online" to "Execute command even when player is offline" <br>

   <figure><img src="https://3307626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa8jObpSwWArIHNbZSA4%2Fuploads%2FsMo7SILRrBEk3rDINFJD%2Fimage.png?alt=media&#x26;token=9235243a-9525-4354-8349-e75712854d34" alt=""><figcaption></figcaption></figure>
5. Save the package, and restart the script in-game to see the package in the store!
6. (Optional) If adding a coin package that's meant just for buying coins, be sure to add it's package ID to `Config.CoinCurrency.packages`.\
   You can get the package's ID by editing it on Tebex, the number is at the end of the URL.

## Coin Products

1. Open the store using /store and click "Add Product"<br>

   <figure><img src="https://3307626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa8jObpSwWArIHNbZSA4%2Fuploads%2F2Yf7ANAdUK5NCphZOScx%2Fimage.png?alt=media&#x26;token=4c4ba287-178b-4218-ad90-aa62c8133154" alt=""><figcaption></figcaption></figure>
2. Fill out the product's details, then click "Add Command"<br>

   <figure><img src="https://3307626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa8jObpSwWArIHNbZSA4%2Fuploads%2Fv4zugTZ3Qu56LIfHRzbb%2Fimage.png?alt=media&#x26;token=d11d51b4-cd6c-448a-a37d-79cf2b0cd4ba" alt=""><figcaption></figcaption></figure>
3. Write the PTS Command you want to use, along with it's format. In this example we will give items. So we'll use `pts_giveitem bread 10` to give 10 bread.

<figure><img src="https://3307626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqa8jObpSwWArIHNbZSA4%2Fuploads%2FblEX0G6yiU6ZNYZgf2QI%2Fimage.png?alt=media&#x26;token=b0b522a3-df18-4389-85c7-f03bc4c4ce78" alt=""><figcaption></figcaption></figure>

4. Save the product, and you are now done! You can always add, remove, and edit these products at any time.
