Jump to content

Dont know how to order drugs

Pending 2.0.0

darudge
darudge

Posted

i bought the Drug deals plugin for rust and i want to order drugs van de computer, but i dont know how.
its unclear for me

Yaki

Posted (edited)

are you on carbon or oxide? can do o.plugins or c.plugins depending on which youre on to get a list of plugins. make sure ImageLoaderAPI, DrugsAPI, and DrugDeals are all loaded

would also be helpful if you shared your config

Edited by Yaki
darudge

Posted

This is my config

{

  "Black Market Settings": {

    "Require item to access black market": true,

    "Black market item display name": "Black Market Item",

    "Black market item shortname": "keycard_red",

    "Black market item skin ID": 0,

    "Black market item condition loss per swipe (if keycard). Default = 1": 1

  },

  "Delivery Fee Settings": [

    {

      "Delivery fees": {

        "Key": "drugdeals.fee1",

        "Value": 10

      }

    },

    {

      "Delivery fees": {

        "Key": "drugdeals.fee2",

        "Value": 20

      }

    },

    {

      "Delivery fees": {

        "Key": "drugdeals.fee3",

        "Value": 30

      }

    }

  ],

  "Discord Settings": {

    "Use discord webhook": false,

    "Discord webhook url": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",

    "Timezone ID for message timestamp": "America/Chicago",

    "Embed color": 65280

  },

  "Dealer Settings": [

    {

      "Enabled [true/false]": true,

      "Dealer name": "SnoopD",

      "Dealer locations": [

        "(-571.56, 26.00, -120.00)",

        "(0,0,0)",

        "(0,0,0)"

      ],

      "Dealer clothes": [

        {

          "Item shortname": "hoodie",

          "Skin ID": 0

        },

        {

          "Item shortname": "pants",

          "Skin ID": 0

        },

        {

          "Item shortname": "shoes.boots",

          "Skin ID": 0

        }

      ]

    }

  ],

  "Dealer Movement Interval [min.]": 30.0,

  "Payment Settings": {

    "Currency [economics/rp/custom]": "custom",

    "Order confirmation message": "Order Confirmed! It will be delivered shortly.",

    "Custom currency": {

      "Custom currency item shortname": "scrap",

      "Custom currency item skin ID": 0,

      "Custom currency item display name": "Scrap",

      "Custom currency item image": "scrap"

    }

  },

  "UI Settings": {

    "Buy UI server name / adversisement": "Da Rudge Community Server",

    "Sell UI server name / adversisement": "Da Rudge Community Server"

  },

  "Plane Settings": {

    "Plane speed": 20.0

  },

  "Drop Settings": {

    "Drop speed": 0.6,

    "Item slots in drop": 18,

    "Lock drop to owner": true,

    "Message to locked out player": "This does not belong to you."

  },

  "Item Purchase Prices": {

    "Weed Seeds": 200,

    "Coca Seeds": 300,

    "Tobacco Seeds": 400,

    "Poppy Seeds": 600

  },

  "Required Drugs Per Package": {

    "Weed Leaf": 15,

    "Cocaine Leaf": 20,

    "Tobacco Leaf": 25,

    "Opium Leaf": 30

  },

  "Drug Sell Prices": {

    "Packaged Weed": 150,

    "Packaged Cocaine": 275,

    "Packaged Tobacco": 450,

    "Packaged Opium": 650

  },

  "Planter Display Settings": {

    "Display duration [sec.]": 10.0

  },

  "Configuration version": {

    "Major": 2,

    "Minor": 0,

    "Patch": 0

  }

}
 

afbeelding_2026-04-28_203707398.png

Yaki

Posted (edited)

do you have the black market item in your hotbar? based on your config its a red keycard called "Black Market Item"
 

"Black Market Settings": {

    "Require item to access black market": true,

    "Black market item display name": "Black Market Item",

    "Black market item shortname": "keycard_red",

    "Black market item skin ID": 0,

    "Black market item condition loss per swipe (if keycard). Default = 1": 1

  },

 

Edited by Yaki
darudge

Posted

yes i have a red keycard in my hotbar

 

darudge

Posted

and if i'm correct i need to type in BLACKMARKET right?
if so i did but nothing happens

afbeelding_2026-04-28_204642096.png

Yaki

Posted

no you dont need to type it, you should be seeing it in the top left corner

darudge

Posted

I did false and now i'm having the black market option tho, but i cant click on it image.png.f7caf4dcb2b746f7f233d675a857a122.png

Yaki

Posted

let me test on my end and ill get back to you

Yaki

Posted

the black market items works for me when its true and false. are you sure you actually have a black market item in your hotbar?

keep in mind its not just any red keycard, its a red keycard called "Black Market Item". you can give yourself one using the following console command
 

giveblackmarketitem <steamid>

 

darudge

Posted

I got the Black market item card, but sadly no luck opening it 

image.png.4789a4c2b8f4bcaabeb2b0663776ffbb.png
image.png.907b3c9e8b920b22f4cf2cab85bc3c77.png
image.png.ece87255e1d5b712dc0b1aaf65f01107.png

And Got stuck here

darudge

Posted

i'll make a screencapture for you aswel

gimme a second

darudge

Posted

I will allso provide all the config settings of DrugDeals.json, DrugApi,json and Imageliberary.json


=============================================================================================================
 

{

  "Black Market Settings": {

    "Require item to access black market": true,

    "Black market item display name": "Black Market Item",

    "Black market item shortname": "keycard_red",

    "Black market item skin ID": 0,

    "Black market item condition loss per swipe (if keycard). Default = 1": 1

  },

  "Delivery Fee Settings": [

    {

      "Delivery fees": {

        "Key": "drugdeals.fee1",

        "Value": 10

      }

    },

    {

      "Delivery fees": {

        "Key": "drugdeals.fee2",

        "Value": 20

      }

    },

    {

      "Delivery fees": {

        "Key": "drugdeals.fee3",

        "Value": 30

      }

    }

  ],

  "Discord Settings": {

    "Use discord webhook": false,

    "Discord webhook url": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",

    "Timezone ID for message timestamp": "America/Chicago",

    "Embed color": 65280

  },

  "Dealer Settings": [

    {

      "Enabled [true/false]": true,

      "Dealer name": "Drug Dealer",

      "Dealer locations": [

        "(0,0,0)",

        "(0,0,0)"

      ],

      "Dealer clothes": [

        {

          "Item shortname": "hoodie",

          "Skin ID": 0

        },

        {

          "Item shortname": "pants",

          "Skin ID": 0

        },

        {

          "Item shortname": "shoes.boots",

          "Skin ID": 0

        }

      ]

    }

  ],

  "Dealer Movement Interval [min.]": 30.0,

  "Payment Settings": {

    "Currency [economics/rp/custom]": "custom",

    "Order confirmation message": "Order Confirmed! It will be delivered shortly.",

    "Custom currency": {

      "Custom currency item shortname": "scrap",

      "Custom currency item skin ID": 0,

      "Custom currency item display name": "Scrap",

      "Custom currency item image": "scrap"

    }

  },

  "UI Settings": {

    "Buy UI server name / adversisement": "SERVER NAME OR ADVERTISEMENT",

    "Sell UI server name / adversisement": "SERVER NAME OR ADVERTISEMENT"

  },

  "Plane Settings": {

    "Plane speed": 20.0

  },

  "Drop Settings": {

    "Drop speed": 0.6,

    "Item slots in drop": 18,

    "Lock drop to owner": true,

    "Message to locked out player": "This does not belong to you."

  },

  "Item Purchase Prices": {

    "Weed Seeds": 200,

    "Coca Seeds": 300,

    "Tobacco Seeds": 400,

    "Poppy Seeds": 600

  },

  "Required Drugs Per Package": {

    "Weed Leaf": 15,

    "Cocaine Leaf": 20,

    "Tobacco Leaf": 25,

    "Opium Leaf": 30

  },

  "Drug Sell Prices": {

    "Packaged Weed": 150,

    "Packaged Cocaine": 275,

    "Packaged Tobacco": 450,

    "Packaged Opium": 650

  },

  "Planter Display Settings": {

    "Display duration [sec.]": 10.0

  },

  "Configuration version": {

    "Major": 2,

    "Minor": 0,

    "Patch": 0

  }

}


=======================================================================================================================

{

  "Drugs": [

    {

      "Item Shortname": "seed.hemp",

      "Item Amount": 1,

      "Skin ID": 3354230033,

      "Display Name": "Weed Seeds",

      "Item Description": "Grows into a Weed Leaf",

      "Item Image Name": "weedseeds",

      "Drug Item": {

        "Drug Item Shortname": "cloth",

        "Drug Item Skin ID": 3354227129,

        "Drug Item Display Name": "Weed Leaf",

        "Drug Item Description": "Can be sold for currency.",

        "Drug Item Image Name": "weedleaf"

      },

      "Drug Item Clone": {

        "Drug Item Clone Shortname": "clone.hemp",

        "Drug Item Clone Display Name": "Weed Clone",

        "Drug Item Clone Image Name": "weedseeds",

        "Drug Item Clone Skin ID": 3354230033,

        "Drug Item Clones To Give When Cloning": 2

      }

    },

    {

      "Item Shortname": "seed.hemp",

      "Item Amount": 1,

      "Skin ID": 3354230311,

      "Display Name": "Coca Seeds",

      "Item Description": "Grows into a Cocaine Leaf",

      "Item Image Name": "cocaseeds",

      "Drug Item": {

        "Drug Item Shortname": "cloth",

        "Drug Item Skin ID": 3354228232,

        "Drug Item Display Name": "Cocaine Leaf",

        "Drug Item Description": "Can be sold for currency.",

        "Drug Item Image Name": "cocaleaf"

      },

      "Drug Item Clone": {

        "Drug Item Clone Shortname": "clone.hemp",

        "Drug Item Clone Display Name": "Cocaine Clone",

        "Drug Item Clone Image Name": "cocaseeds",

        "Drug Item Clone Skin ID": 3354230311,

        "Drug Item Clones To Give When Cloning": 2

      }

    },

    {

      "Item Shortname": "seed.hemp",

      "Item Amount": 1,

      "Skin ID": 3354229737,

      "Display Name": "Tobacco Seeds",

      "Item Description": "Grows into a Tobacco Leaf",

      "Item Image Name": "tobaccoseeds",

      "Drug Item": {

        "Drug Item Shortname": "cloth",

        "Drug Item Skin ID": 3354228677,

        "Drug Item Display Name": "Tobacco Leaf",

        "Drug Item Description": "Can be sold for currency.",

        "Drug Item Image Name": "tobaccoleaf"

      },

      "Drug Item Clone": {

        "Drug Item Clone Shortname": "clone.hemp",

        "Drug Item Clone Display Name": "Tobacco Clone",

        "Drug Item Clone Image Name": "tobaccoseeds",

        "Drug Item Clone Skin ID": 3354229737,

        "Drug Item Clones To Give When Cloning": 2

      }

    },

    {

      "Item Shortname": "seed.hemp",

      "Item Amount": 1,

      "Skin ID": 3354229356,

      "Display Name": "Poppy Seeds",

      "Item Description": "Grows into an Opium Leaf",

      "Item Image Name": "poppyseeds",

      "Drug Item": {

        "Drug Item Shortname": "cloth",

        "Drug Item Skin ID": 3354228480,

        "Drug Item Display Name": "Opium Leaf",

        "Drug Item Description": "Can be sold for currency.",

        "Drug Item Image Name": "poppyleaf"

      },

      "Drug Item Clone": {

        "Drug Item Clone Shortname": "clone.hemp",

        "Drug Item Clone Display Name": "Opium Clone",

        "Drug Item Clone Image Name": "poppyseeds",

        "Drug Item Clone Skin ID": 3354229356,

        "Drug Item Clones To Give When Cloning": 2

      }

    }

  ],

  "Drug Genetics (sum of values for genes is # drugs player gets when harvesting)": {

    "Drug Genetic G": 3,

    "Drug Genetic Y": 5,

    "Drug Genetic H": 2,

    "Drug Genetic W": 1,

    "Drug Genetic X": 1

  },

  "Configuration version": {

    "Major": 1,

    "Minor": 0,

    "Patch": 0

  }

}

==========================================================================================================================

 

{

  "Avatars - Store player avatars": false,

  "Steam API key (get one here https://steamcommunity.com/dev/apikey)": "My API "

  "URL to web folder containing all item icons": "https://www.rustedit.io/images/imagelibrary/",

  "Progress - Show download progress in console": true,

  "Progress - Time between update notifications": 20,

  "User Images - Manually define images to be loaded": {},

  "Version": {

    "Major": 2,

    "Minor": 0,

    "Patch": 64

  }

}

====================================================================================================================


Maybe i'm missing something

 

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.5m
Total downloads
Customers
11k
Customers served
Files Sold
157.8k
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.