Jump to content

Items in server vendings

Pending 1.0.1

Caroleenje
Caroleenje

Posted

Hi,

With the old Skill Tree Items, I listed one XP and one SP item in the server outpost-like vending machine (modified through CustomVendingSetup on uMod), where players could purchase them for special tokens only obtained through the hardest heli. I only now stepped over to this pro version and tried listing them again with the current plugin, however, if I purchase them, they just act as large presents and unwrap instead of granting the XP.

Is there any way to work around this?

  • Curator
imthenewguy

Posted

9 minutes ago, Caroleenje said:

Hi,

With the old Skill Tree Items, I listed one XP and one SP item in the server outpost-like vending machine (modified through CustomVendingSetup on uMod), where players could purchase them for special tokens only obtained through the hardest heli. I only now stepped over to this pro version and tried listing them again with the current plugin, however, if I purchase them, they just act as large presents and unwrap instead of granting the XP.

Is there any way to work around this?

Yeah they work differently. 

Download the beta version from here.

Give me an example of the old setup in your shop and I will show you how to add it

 

Caroleenje

Posted

These two:         

{
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "common quantum shard [XP: 7000]",
            "Amount": 1,
            "Skin": 3329896239
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0
        },
        {
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "runic drive [SP: 1]",
            "Amount": 1,
            "Skin": 3679647311
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0 
        },

Snímek obrazovky 2026-03-09 090241.png

  • Curator
imthenewguy

Posted

14 hours ago, Caroleenje said:

These two:         

{
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "common quantum shard [XP: 7000]",
            "Amount": 1,
            "Skin": 3329896239
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0
        },
        {
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "runic drive [SP: 1]",
            "Amount": 1,
            "Skin": 3679647311
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0 
        },

Snímek obrazovky 2026-03-09 090241.png

You would need to ask the developer to add support for the item.text field for the Custom Vending Setup plugin. Seems to be the only field missing from the VendingItem class.

Should be an easy thing to add.

Once added, it would look something like this:

Skill Tree Items config entry:

      "forbidden archive": {
        "displayName": "forbidden archive [XP: 5000 - 10000]",
        "shortname": "xmas.present.large",
        "skinID": 3646162194,
        "effects": [
          {
            "min": 5000.0,
            "max": 10000.0,
            "type": "XPInjection",
            "preventXpModifiers": false
          }
        ]
      },

 

Custom Vending Setup entry

        {
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "whatever displayname you like here",
            "Text": "forbidden archive"
            "Amount": 1,
            "Skin": 3329896239
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0
        },

 

You can see that I am referencing the entry of the skill tree item pro item in the text field of the custom vending setup item (in this case it's "forbidden archive". 

You create any number of types of items in the SkillTreeItemsPro config, then reference those in the "Text" field of the Custom vending setup (if the developer adds support for the Text field).

 

Caroleenje

Posted

8 hours ago, imthenewguy said:

You would need to ask the developer to add support for the item.text field for the Custom Vending Setup plugin. Seems to be the only field missing from the VendingItem class.

Should be an easy thing to add.

Once added, it would look something like this:

Skill Tree Items config entry:

      "forbidden archive": {
        "displayName": "forbidden archive [XP: 5000 - 10000]",
        "shortname": "xmas.present.large",
        "skinID": 3646162194,
        "effects": [
          {
            "min": 5000.0,
            "max": 10000.0,
            "type": "XPInjection",
            "preventXpModifiers": false
          }
        ]
      },

 

Custom Vending Setup entry

        {
          "SellItem": {
            "ShortName": "xmas.present.large",
            "DisplayName": "whatever displayname you like here",
            "Text": "forbidden archive"
            "Amount": 1,
            "Skin": 3329896239
          },
          "CurrencyItem": {
            "ShortName": "redidtag",
            "DisplayName": "Heli Token",
            "Amount": 9,
            "Skin": 3447697655
          },
          "RefillMax": 100,
          "RefillDelay": 0
        },

 

You can see that I am referencing the entry of the skill tree item pro item in the text field of the custom vending setup item (in this case it's "forbidden archive". 

You create any number of types of items in the SkillTreeItemsPro config, then reference those in the "Text" field of the Custom vending setup (if the developer adds support for the Text field).

 

Thank you! I'll try to get in contact with them and see if they'd be willing to add that. Thanks for the help!

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

152.8k

Files Sold

Total number of files sold.

3.3m

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.