Drug Dealer Classic/Configuration

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.

ParameterInfoRequired inputDefault
ItemItems currently set as a consumable drug/steroid/bath salt item, supports multiple items separated by commas, and supports item data valuesItem ID(s), no spaces (see below)
Require-SneakToggle whether to require a player to sneak while consuming a chosen drug/steroid/bath salt itemTrue/false
Require-BathToggle whether to require a player to be inside a bath while consuming bath salts, see drug types page for more infoTrue/false
Command-Effect-TimeHow long the effects of a drug will last from a command, in secondsTime in seconds
Item-Effect-TimeHow long the effects of a drug will last from consuming a drug item, in secondsTime 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

ParameterInfoRequired input
Self-Command-GivenShown when a player drugs him/herself through a commandString
Player-Command-GivenShown when a player is drugged by another playerString
Console-Command-GivenShown when a player is drugged by the consoleString
Item-Consume-GivenShown when a player consumes a drug itemString

Don't forget to use /drugdealer reload to reload the config when you're done editing it