Drug Dealer Classic/Configuration
--
Please note --
This page pertains to the old version of Drug Dealer, Drug Dealer classic. Drug Dealer Classic has been discontinued, succeeded by the new Drug Dealer, and its ultra-customizable drug system. This is an archive of Drug Dealer's former configuration page --
everything here is outdated.
Each of these options are under the Drugs, Steroids, and Bath Salts sections of the config file. Each pertains to their respective parent drug-type in the configuration file.
Parameter | Info | Required input | Default |
---|---|---|---|
Item | Items currently set as a consumable drug/steroid/bath salt item, supports multiple items separated by commas, and supports item data values | Item ID(s), no spaces (see below) | |
Require-Sneak | Toggle whether to require a player to sneak while consuming a chosen drug/steroid/bath salt item | True/false | |
Require-Bath | Toggle whether to require a player to be inside a bath while consuming bath salts, see drug types page for more info | True/false | |
Command-Effect-Time | How long the effects of a drug will last from a command, in seconds | Time in seconds | |
Item-Effect-Time | How long the effects of a drug will last from consuming a drug item, in seconds | Time in seconds |
Important: Item ID formatting is important. Separate items must be separated by a comma, and data values for items must be separated from the base item ID by a colon. If only one item is to be used, and that item has a data value, a 0 must be placed before that item as another item. It's for formatting reasons, and won't affect your item choices at all. Example: I want to use black wool as my only drug item. Putting in 'Items: 35:15' would render the plugin unable to load that item, so instead I use 'Items: 0,35:15'. It gives the exact same effect, and won't actually make air consumable as an item. I apologize for this minor inconvenience while I work on fixing it.
Messages:
Color codes are supported. To create a line break, use \n. For Player-Command-Given messages, %drugger% will be replaced with whoever drugged the player receiving the message.
To not show any message at all, leave the line blank
Parameter | Info | Required input |
---|---|---|
Self-Command-Given | Shown when a player drugs him/herself through a command | String |
Player-Command-Given | Shown when a player is drugged by another player | String |
Console-Command-Given | Shown when a player is drugged by the console | String |
Item-Consume-Given | Shown when a player consumes a drug item | String |
Don't forget to use /drugdealer reload to reload the config when you're done editing it