Drugs [1.17-1.21] icon

Drugs [1.17-1.21] -----

Drugs, Have fun, Funplugin



Title.png
Description
The Drugs plugin is there for you to have fun with your friends or on your server and it's all about drugs. However, the drugs plugin is better than most drug plugins because you can't just craft drugs, you can also grow them. So feel free to download the plugin and take a look at it.
Donations
If you want to support the further development of my plugins, you are welcome to click on the donation link or HERE. I am happy about every donation! If you are on my Discord and donate with your Discord name, you will get the "Donor" role as a token of gratitude.
Support
If you need help with the plugin, feel free to join my Discord: "coding.lars-svw.de". If you can't join the server for whatever reason, you can also add me on Discord like this: "Lars_SVW". You can also send a direct message via Spigotmc.org.

Code (YAML):

#=================================================================================================#
#     Config file for the Drugs Plugin by Lars_SVW. Version 2.1.0
#=================================================================================================#
#
#    If you need help, want to report bugs etc,
#    feel free to join my Discord: http://coding.lars-svw.de
#
#    You can also send me private messages on Discord: Lars_SVW
#    Or write me directly on Spigotmc: https://www.spigotmc.org/members/lars__svw.1064569/

#=================================================================================================#
#   General information:
#=================================================================================================#
#   You can edit everything here but please don't forget the " if any were given.
#   The plugin may be used on all possible servers.
#   However, the plugin creator assumes no liability for errors or other things that
#   have to do with the plugin. The plugin may not be uploaded again, nor may it be sold
#   to other users! If you need a different version of the plugin, please contact me
#   using the contact options above.

#=================================================================================================#
#   Color Codes and Time Info:
#=================================================================================================#
#   &0 = Black        &a = Bright Green   &o = Italic(Cursiv)           Time Disclaimer:
#   &1 = Dark Blue    &b = Aqua           &r = Reset                    In some config setting you
#   &2 = Dark Green   &c = Red                                          can change the "cooldown"
#   &3 = Dark Aqua    &d = Pink                                         or time in general
#   &4 = Dark Red     &e = Yellow                                       you need to set the time in
#   &5 = Purple       &f = White                                        seconds so here are some
#   &6 = Gold         &k = Constantly changing characters               helpful times
#   &7 = Gray         &l = Bold                                         1min = 60s,5min=300s
#   &8 = Dark Gray    &m = Strike                                       10min = 600s, 30min = 1800s
#   &9 = Indigo       &n = Underline                                    1h = 3600s, 1d = 86400
#
#=================================================================================================#
#   All Minecraft Potion Effects:
#=================================================================================================#
#   1.ABSORPTION            16.INCREASE_DAMAGE    31.WITHER
#   2.BAD_OMEN              17.INVISIBILITY
#   3.BLINDNESS             18.JUMP
#   4.CONDUIT_POWER         19.LEVITATION
#   5.CONFUSION             20.LUCK
#   6.DAMAGE_RESISTANCE     21.NIGHT_VISION
#   7.DOLPHINS_GRACE        22.POISON
#   8.FAST_DIGGING          23.REGENERATION
#   9.FIRE_RESISTANCE       24.SATURATION
#   10.GLOWING              25.SLOW_DIGGING
#   11.HARM                 26.SLOW_FALLING
#   12.HEAL                 27.SPEED
#   13.HEALTH_BOOST         28.UNLUCK
#   14.HERO_OF_THE_VILLAGE  29.WATER_BREATHING
#   15.HUNGER               30.WEAKNESS
#=================================================================================================#
# General configuration:
# Short information for example 0.05 = 5%, 0.10 = 10%, 0.5 = 50%, 1 = 100%
#=================================================================================================#
version
: 2.1.0
prefix
: "&0&l[&a&lDrugs&0&l]"
shrooms_chance
: 0.03
tobacco_chance
: 0.1
cocaine_chance
: 0.01
weed_chance
: 0.03


#=================================================================================================#
# Weed configuration:
#=================================================================================================#
joint_duration
: 30
joint_effect_1
: "SLOW"
joint_effect_2
: "HUNGER"
joint_effect_3
: "DAMAGE_RESISTANCE"
weed_kill
: 0.1
Weed_value_detectable
: 600 #10min
#=================================================================================================#
# Cocaine configuration:
#=================================================================================================#
cocaine_duration
: 20
cocaine_effect_1
: "SPEED"
cocaine_effect_2
: "REGENERATION"
cocaine_effect_3
: "DAMAGE_RESISTANCE"
cocaine_kill
: 0.1
Cocaine_value_detectable
: 600 #10min
#=================================================================================================#
# Tobacco configuration:
#=================================================================================================#
tobacco_duration
: 30
tobacco_effect_1
: "SLOW"
tobacco_effect_2
: "HUNGER"
tobacco_effect_3
: "DAMAGE_RESISTANCE"
cigarette_kill
: 0.1
Tobacco_value_detectable
: 600 #10min
#=================================================================================================#
# Shroom configuration:
#=================================================================================================#
shrooms_duration
: 30
shrooms_effect_1
: "CONFUSION"
shrooms_effect_2
: "ABSORPTION"
shrooms_effect_3
: "SPEED"
shroom_kill
: 0.1
Shroom_value_detectable
: 600 #10min
#=================================================================================================#
# LSD configuration:
#=================================================================================================#
lsd_duration
: 30
lsd_effect_1
: "HEALTH_BOOST"
lsd_effect_2
: "ABSORPTION"
lsd_effect_3
: "SPEED"
lsd_kill
: 0.1
LSD_value_detectable
: 600 #10min

#=================================================================================================#
# XTC configuration:
#=================================================================================================#
xtc_duration
: 60
xtc_effect_1
: "SPEED"
xtc_effect_2
: "INCREASE_DAMAGE"
xtc_effect_3
: "HEALTH_BOOST"
ecstasy_kill
: 0.1
XTC_value_detectable
: 600 #10min

#=================================================================================================#
# Speed configuration:
#=================================================================================================#
speed_duration
: 60
speed_effect_1
: "SPEED"
speed_effect_2
: "INCREASE_DAMAGE"
speed_effect_3
: "HEALTH_BOOST"
speed_kill
: 0.1
Speed_value_detectable
: 600 #10min

#=================================================================================================#
# Heroin configuration:
#=================================================================================================#
heroin_duration
: 180
heroin_effect_1
: "SPEED"
heroin_effect_2
: "INCREASE_DAMAGE"
heroin_effect_3
: "HEALTH_BOOST"
heroin_kill
: 0.25
Heroin_value_detectable
: 600 #10min

#=================================================================================================#
# Economy configuration:
#=================================================================================================#
hydrogen_price
: 100
lsd_price
: 400
lysergicacid_price
: 100
sodium_price
: 100
propanolamine
: 100
cigarette
: 400
glue
: 100
joint
: 400
longpapes
: 100
papes
: 100
zippo
: 900
weedseed
: 10
cocaineseed
: 10
tobaccoseed
: 10
weed
: 200
shroom
: 400
cocaine
: 500
tobacco
: 400
xtc
: 400
isosafrole
: 100
piperonal
: 100
safrole
: 100
speed
: 500
phenyl
: 100
heroinliquid
: 100
heroin
: 500
syringe
: 100

#=================================================================================================#
# Economy configuration:
#=================================================================================================#
blackmarket_expiration_time
: 86400 #24 hours (pls type in seconds)
#Resourcepack
#If you want to connect it to another texture pack on your server and add your own download link, you can do that here.
#I recommend changing this in the config otherwise all downloads will be made via my website!
Resourcepack
: true
resource_pack_url
: "https://lars-svw.de/downloads/Drugs-by-Lars-SVW.zip"
resource_pack_hash
: "0ddc4188f4d4658088e3775e561770294ffd6275"
#Not relevant#
first_start
: true

 
Commands:
  • /drugs give PLAYERNAME DRUGTYPE DRUG AMOUNT (You receive the drug and the amount)
  • /drugs buy DRUGTYPE DRUG AMOUNT (You can buy drugs)
  • /drugs reload
  • /drugs permission add/remove all/player DRUG
  • /drugs info CATEGORY DRUG
  • /languageswitch LANGUAGE (You can switch the plugin language)
  • /languageprovided (With this command you see all provided languages)
  • /blackmarket (Opens blackmarket)
  • /blackmarket insert PRICE (Inserts the item in your hand in to the blackmarket)
  • /blackmarket me (Shows you how much you sold)
  • /blackmarket top (Shows you top 10 seller)
  • /blackmarket list LIST(Shows you the sellers of the list you provided)
  • /harvested me/playername/top/list all/cocaine/tobacco/weed harvested/planted PAGE(only if /harvested list ...)

Permissions:
  • /drugbook (No permission needed)
  • /drugs give DRUGTYPE DRUG AMOUNT (drugs.get)
  • /drl reload (drugs.reload)
  • /drugs buy DRUGTYPE DRUG AMOUNT (drugs.buy)
  • To craft drugs drugs.craft.DRUGNAME
Placeholder:
!!To use the placeholder you need placeholderapi!!

%harvestedall% = Number of how many drugplants you harvested all in all
%harvestedcocaine% = Number of how many cocaineplants you have harvested

%harvestedtobacco% = Number of how many tobaccoplants you have harvested
%harvestedweed% = Number of how many weedplants you have harvested
%plantedall% = Number of how many drugplants you have planted all in all
%plantedcocaine% = Number of how many cocaineplants you have planted
%plantedtobacco% = Number of how many tobaccoplants you have planted
%plantedweed% = Number of how many weedplants you have planted
%drugs_top_1_player_harvested_all% = Name of Place 1 of all harvested.
%drugs_top_2_player_harvested_all% = Name of Place 2 of all harvested.
%drugs_top_3_player_harvested_all% = Name of Place 3 of all harvested.
%drugs_top_1_player_planted_all% = Name of Place 1 of all planted.
%drugs_top_2_player_planted_all% = Name of Place 2 of all planted.
%drugs_top_3_player_planted_all% = Name of Place 3 of all planted.
%drugs_top_1_player_harvested_cocaine% = Name of Place 1 of cocaine harvested.
%drugs_top_2_player_harvested_cocaine% = Name of Place 2 of cocaine harvested.
%drugs_top_3_player_harvested_cocaine% = Name of Place 3 of cocaine harvested.
%drugs_top_1_player_planted_cocaine% = Name of Place 1 of cocaine planted
%drugs_top_2_player_planted_cocaine% = Name of Place 2 of cocaine planted
%drugs_top_3_player_planted_cocaine% = Name of Place 3 of cocaine planted.
%drugs_top_1_player_harvested_weed% = Name of Place 1 of weed harvested
%drugs_top_2_player_harvested_weed% = Name of Place 2 of weed harvested
%drugs_top_3_player_harvested_weed% = Name of Place 3 of weed harvested
%drugs_top_1_player_planted_weed% = Name of Place 1 of weed planted
%drugs_top_2_player_planted_weed% = Name of Place 2 of weed planted
%drugs_top_3_player_planted_weed% = Name of Place 3 of weed planted
%drugs_top_1_player_harvested_tobacco% = Name of Place 1 of tobacco harvested.
%drugs_top_2_player_harvested_tobacco% = Name of Place 2 of tobacco harvested.
%drugs_top_3_player_harvested_tobacco% = Name of Place 3 of tobacco harvested.
%drugs_top_1_player_planted_tobacco% = Name of Place 1 of tobacco planted.
%drugs_top_2_player_planted_tobacco% = Name of Place 2 of tobacco planted.
%drugs_top_3_player_planted_tobacco% = Name of Place 3 of tobacco planted.
Drugitems:

%drugs_cocaine% = Cocaine Item
%drugs_cocaineseed% = Cocaineseed Item
%drugs_cigarette% = Cigarette Item
%drugs_crack% = Crack Item
%drugs_drugtest% = Drugtest Item
%drugs_ecstasy% = Ecstasy Item
%drugs_glue% = Glue Item
%drugs_heroin% = Heroin Item
%drugs_heroinliquid% = Heroin liquid Item
%drugs_hydrogen% = Hydrogen Item
%drugs_isosafrole% = Isosafrole Item
%drugs_joint% = Joint Item
%drugs_longpapes% = Longpapes Item
%drugs_lsd% = LSD Item
%drugs_lysergicacid% = Lysergicacid Item
%drugs_papes% = Papes Item
%drugs_phenyl% = Phenyl Item
%drugs_piperonal% = Piperonal Item
%drugs_propanolamine% = Propanolamine Item
%drugs_safrole% = Safrole Item
%drugs_shroom% = Shroom Item
%drugs_speed% = Speed Item
%drugs_sodium% = Sodium Item
%drugs_syringe% = Syringe Item
%drugs_tobacco% = Tobacco Item
%drugs_tobaccoseed% = Tobaccoseed Item
%drugs_weed% = Weed Item
%drugs_weedseed% = Weedseed Item
%drugs_xtc% = Ecstasy Item
%drugs_zippo% = Zippo Item




!!To use the placeholder you need placeholderapi!!
All Drugs and necessary things provided:
  • LSD
  • Sodium
  • Hydrogen
  • Propanolamine
  • LysergicAcid
  • Glue
  • Papes
  • Longpapes
  • Zippo
  • Tobacco Seeds
  • Tobacco
  • Cigarette
  • Weed Seeds
  • Weed
  • Joint
  • Shrooms
  • Cocaine plant
  • Cocaine
  • Ecstasy
  • Isosafrole
  • Piperonal
  • Safrole
  • Heroin
  • Heroin Liquid
  • Syringe

upload_2023-8-10_18-13-42.png
For crafting info do /drugs info DRUG
Or join my discord.
Drugs planed:
  • Crack
  • Crystal Meth
  • Ketamin
  • Benzos
Ending:
I hope you like my plugin if you like it you can write a review that would make me happy. Have fun with it :)

728x90 ad option2.png
Resource Information
Author:
----------
Total Downloads: 12,410
First Release: Jul 7, 2023
Last Update: Jan 26, 2025
Category: ---------------
All-Time Rating:
25 ratings
Find more info at lars-svw.de...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings