Jump to content

Giving More Than 1 Item

Closed 1.3.1

greenbean
greenbean

Posted

Hello, is it possible to add more than one item reward? i.e. if I wanted to give a supply drop and scrap. I don't use Kits so that is unfortunately not a viable option for me. 

If no, would a solution be to set another ID to the same # of referrals as the first with the same reward conditions?

ID 1: 0/2 Invites Reward: 1 Supply Signal
ID 2: 0/2 Invites Reward: 500 Scrap

Would doing this count any 2 referrals (let's say player A and player B) for both IDs?

greenbean

Posted

Oh I see, so configuring it to this would have the effect of giving 1 supply signal and 500 scrap?

{
      "Invites Amount": 2,
      "ID": 1,
      "Show Description": false,
      "Description": [],
      "Type": "Item",
      "Image": "",
      "Title": "",
      "Command (%steamid%)": "inventory.giveto ${playerID} "scrap" "500"",
      "Kit": "",
      "Plugin": {
        "Hook": "Deposit",
        "Plugin name": "Economics",
        "Amount": 1,
        "(GameStores) Store ID in the service": "UNDEFINED",
        "(GameStores) Server ID in the service": "UNDEFINED",
        "(GameStores) Secret Key": "UNDEFINED"
      },
      "Display Name (empty - default)": "1 Supply Signal",
      "ShortName": "supply.signal",
      "Skin": 0,
      "Amount": 1
    },
MeventSupport

Posted

Try this: 

"Type": "Item",

      …

      "Command (%steamid%)": "inventory.giveid %steamid% scrap 500|inventory.giveid %steamid% supply.signal 1",

  • Like 1
greenbean

Posted

Amazing, thank you so much! I'll test this out and follow up if I encounter any issues have a great evening!

  • Love 2
Mevent

Posted

@greenbean I will close this ticket if you have any questions/problems – feel free to open a new ticket! ❤️ 

  • Like 1
Mevent

Posted

Changed Status from Pending to Closed

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.