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 1.9.2
#=================================================================================================#
#
#    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%
#=================================================================================================#
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
#=================================================================================================#
# Crafting-Recipes configuration:
#=================================================================================================#
#Example Crafting for an Pickaxe:
# A: "DIAMOND", B: "DIAMOND", C: "DIAMOND", D: "AIR", E: "STICK", F: "AIR", G: "AIR", H: "STICK", I:"AIR"
#In this example crafting you have the default recipe for a Diamond-pickaxe. This one is only there so you know the scheme.
#INFORMATION:
#You can only adjust recipes that don't require any items added from the plugin, which means you can't change cigarettes and the like, but you can change the Zippos and the like.

#Crafting Scheme:
#A B C
#D E F   = ITEM
#G H I

#Zippo Crafting
zippo_material_a
: "IRON_BLOCK"
zippo_material_b
: "AIR"
zippo_material_c
: "IRON_BLOCK"
zippo_material_d
: "IRON_BLOCK"
zippo_material_e
: "FLINT"
zippo_material_f
: "IRON_BLOCK"
zippo_material_g
: "IRON_BLOCK"
zippo_material_h
: "IRON_BLOCK"
zippo_material_i
: "IRON_BLOCK"

#Glue Crafting
glue_material_a
: "AIR"
glue_material_b
: "AIR"
glue_material_c
: "AIR"
glue_material_d
: "GLASS"
glue_material_e
: "SLIME_BALL"
glue_material_f
: "GLASS"
glue_material_g
: "AIR"
glue_material_h
: "GLASS"
glue_material_i
: "AIR"

#Pape Crafting
pape_material_a
: "AIR"
pape_material_b
: "AIR"
pape_material_c
: "AIR"
pape_material_d
: "AIR"
pape_material_e
: "AIR"
pape_material_f
: "AIR"
pape_material_g
: "PAPER"
pape_material_h
: "PAPER"
pape_material_i
: "PAPER"

#Syringe Crafting
syringe_material_a
: "AIR"
syringe_material_b
: "GLASS"
syringe_material_c
: "AIR"
syringe_material_d
: "GLASS"
syringe_material_e
: "AIR"
syringe_material_f
: "GLASS"
syringe_material_g
: "AIR"
syringe_material_h
: "GLASS"
syringe_material_i
: "AIR"

#Heroin Liquid Crafting
heroin_liquid_material_a
: "AIR"
heroin_liquid_material_b
: "BLAZE_ROD"
heroin_liquid_material_c
: "AIR"
heroin_liquid_material_d
: "AIR"
heroin_liquid_material_e
: "DRAGON_EGG"
heroin_liquid_material_f
: "AIR"
heroin_liquid_material_g
: "AIR"
heroin_liquid_material_h
: "ZOMBIE_HEAD"
heroin_liquid_material_i
: "AIR"

#Drugtest Crafting
drug_test_material_a
: "WHITE_TERRACOTTA"
drug_test_material_b
: "WHITE_TERRACOTTA"
drug_test_material_c
: "WHITE_TERRACOTTA"
drug_test_material_d
: "WHITE_TERRACOTTA"
drug_test_material_e
: "GLASS"
drug_test_material_f
: "WHITE_TERRACOTTA"
drug_test_material_g
: "WHITE_TERRACOTTA"
drug_test_material_h
: "WHITE_TERRACOTTA"
drug_test_material_i
: "WHITE_TERRACOTTA"

#=================================================================================================#
# 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 DRUGTYPE DRUG AMOUNT (You receive the drug and the amount)
  • /drugs buy DRUGTYPE DRUG AMOUNT (You can buy drugs)
  • /drl reload (Reloads the plugin)
  • /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)

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

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
Drugs planed:
  • Crack
  • Crystal Meth
  • Ketamin
  • Benzos
Drugs Crafting:
If you want to see the crafting recipes please join my Discord!
Or try the Command /drugs info CRAFTING_RECIPE
[​IMG]
Join my Discord via: coding.lars-svw.de
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 :)
Resource Information
Author:
----------
Total Downloads: 8,700
First Release: Jul 7, 2023
Last Update: Today at 12:45 AM
Category: ---------------
All-Time Rating:
21 ratings
Find more info at lars-svw.de...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings