Jump to content

Give Person Redeeming More than 1 Item?

Closed 1.1.0

Aqueos
Aqueos

Posted

Great plugin! (I have most of your plugins haha)

I'm wondering if it would be possible to either tie referral rewards (both sender and receiver) to your Kits plugin, or set it up so that the person redeeming the code can get multiple items?

I thought I might be able to just add the below modifications to the config, but the player redeeming still only gets one item. It may just be an error on my part though haha. 

Any help would be greatly appreciated!

-Aq

 

"Award for the player who activates the promo code": [
    {
      "Chance": 100.0,
      "Type": "Item",
      "Image": "",
      "Title": "",
      "Command (%steamid%)": "",
      "Plugin": {
        "Hook": null,
        "Plugin name": null,
        "Amount": 0
      },
      "Display Name (empty - default)": "",
      "ShortName": "rifle.lr300",
      "Skin": 2151920583,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "metal.facemask",
      "Skin": 2105454370,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "metal.plate.torso",
      "Skin": 2105505757,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "hoodie",
      "Skin": 2080975449,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "shoes.boots",
      "Skin": 2090776132,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "pants",
      "Skin": 2080977144,
      "Amount": 1
    }

 

Bumfuzzler

Posted

I agree it would be nice if you could specify a min max of how many items are rewarded.

  • Curator
Mevent

Posted

On 2/27/2022 at 8:28 AM, Aqueos said:

Great plugin! (I have most of your plugins haha)

I'm wondering if it would be possible to either tie referral rewards (both sender and receiver) to your Kits plugin, or set it up so that the person redeeming the code can get multiple items?

I thought I might be able to just add the below modifications to the config, but the player redeeming still only gets one item. It may just be an error on my part though haha. 

Any help would be greatly appreciated!

-Aq

 

"Award for the player who activates the promo code": [
    {
      "Chance": 100.0,
      "Type": "Item",
      "Image": "",
      "Title": "",
      "Command (%steamid%)": "",
      "Plugin": {
        "Hook": null,
        "Plugin name": null,
        "Amount": 0
      },
      "Display Name (empty - default)": "",
      "ShortName": "rifle.lr300",
      "Skin": 2151920583,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "metal.facemask",
      "Skin": 2105454370,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "metal.plate.torso",
      "Skin": 2105505757,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "hoodie",
      "Skin": 2080975449,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "shoes.boots",
      "Skin": 2090776132,
      "Amount": 1
    },
    {
      "Chance": 0.0,
      "Type": "Item",
      "Image": null,
      "Title": null,
      "Command (%steamid%)": null,
      "Plugin": null,
      "Display Name (empty - default)": "",
      "ShortName": "pants",
      "Skin": 2080977144,
      "Amount": 1
    }

 

Hey! In 1.2.0 added the ability to give kits

  • Curator
Mevent

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
156.6k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.