HomeJavaMods[1.16] DrugFun | ADD ILLEGAL SUBSTANCES INTO YOUR GAME! | HIGHLY CUSTOMIZABLE!
[1.16] DrugFun | ADD ILLEGAL SUBSTANCES INTO YOUR GAME! | HIGHLY CUSTOMIZABLE!
ModsJava

[1.16] DrugFun | ADD ILLEGAL SUBSTANCES INTO YOUR GAME! | HIGHLY CUSTOMIZABLE!

⬇ Download on Spigot
[​IMG]

*DISCLAIMER: THIS PLUGIN WAS RE-CODED, THIS VERSION IS TO SEE THE FEEDBACK, AND TO SEE IF PEOPLE LIKE THIS NEW MECHANISM/LAYOUT OF THIS PLUGIN. THERE ARE SOME NEW FEATURES, BUT A LOT ARE MISSING, IF THE RATINGS ARE POSITIVE FOR THIS NEW VERSION, THEN I WILL CONTINUE TO ADD NEW FEATURES THAT WERE IN THE OLD VERSION.*

DrugFun is your drug fantasy that you always had. With just a single drop of a jar file into your plugins folder, you will be able to plant, harvest and consume various drugs. These include: Cocaine, Marijuana and Heroin. Many other drugs will be added soon. You are able to plant corresponding plants to each type of drug, Cocaine has the coca plant, Marijuana has the marijuana plant, and Heroin has the Opium poppy.

This plugin is HIGHLY customizable, you are able to change the:
display names of every item, lores of every item, the material of some items, GUI titles and names/lores/materials of items which are used in GUI's. You are also able to customize your own RECIPE for each drug, these things were not present in the previous version of this plugin.

[​IMG]
  • Obtain drug plants either through vanilla minecraft (by enabling them dropping from vanilla minecraft blocks, drug plants will drop from their vanilla minecraft counterpart. So a coca plant an drop from a tall grass block etc..) Or you can choose to disable this, and only enable obtaining drugs from the dark net via Silk Road.
  • Consume drugs by having them in your inventory and press SHIFT+RIGHT CLICK
  • Sell/Buy drugs on the Silk Road via a computer, use BTC for this process. Each player will have a bitcoin balance that you can check in the balances.yml file.
  • Left click to buy a single item, left click + shift to buy max amount of items you can buy, right click to sell a single item, right click + shift to sell all items of that type.
  • Exchange BTC into other plugins economy, using a very neat and user-friendly menu.
  • CHECK growth of a drug plant by right clicking on it, this will give you an update on how the plant is doing growth wise.
[​IMG]
https://github.com/realFirstix/DrugFun/wiki

[​IMG]
Code (Text):
/df -> Shows the current version of the plugin, also gives credit to the plugin developer.

/df  help -> Brings up a help text listing all commands

/df menu -> Opens an inventory where the user is able to get any item from this plugin to experiment

/df give [player] [itemname] [amount] -> Give items from this plugin to players on your server

/df btcbal -> shows your balance in BTC/Bitcoin

 
[​IMG]
Code (Text):
#DRUGFUN V2 by @realFirstix @www.spigotmc.org#

commandSettings:
  help:
    - '&c[&eDrug&fFun&c]'
    - '&c/df -> shows current version of plugin and credits'
    - '&e/df help -> opens this text'
    - '&c/df menu -> opens menu with every item within this plugin, clicking an item will give you the item to your inventory'
    - '&e/df btcbal -> shows your Bitcoin balance'
    - '&c/df give [player] [itemname] [amount] -> gives specified player a specified amount of a specified item from this plugin'
  give:
    errorMessage: '&eCorrect format is /df give [player] [itemname] [amount]'
    #use {SENDER} as a placeholder for senders username, {RECEIVER} for receivers username, {ITEM} for item and {AMOUNT} for amount#
    giveMessageSender: '&ex{AMOUNT}&c of &e{ITEM}&c was given to &e{RECEIVER}'
    giveMessageReceiver: '&cYou got &ex{AMOUNT}&c of &e{ITEM}&c from &e{SENDER}'

noPermissionText: '&cNo permission!'


#This is the time interval for which the data files save information. keeping this value high will ensure that your server will lag less. be careful because if your server crashes data might not be saved.#
#this value is in minutes#
saveInterval: 20.0

PluginPrefix:
  prefix: '&e[&cDrug&4Fun&e] '
  enabled: true
 
ItemMenu:
  MenuTitle: '&eDrugFun Item Menu'
 
Drugs:
  Heroin:
    #Enable dropping of opium poppies in the wild from poppy blocks?#
    canDropInWild: true
    #If true, what is the probability that an opium poppy item will drop from a normal poppy block? (2 d.p)#
    wildDropProbability: 0.15
    DisplayName: '&8Heroin'
    Material: GUNPOWDER
    Lore:
      - '&fHeroin is an opioid drug made from morphine, a'
      - '&fnatural substance taken from the seed pod of the'
      - '&fvarious opium poppy plants grown in Southeast and'
      - '&fSouthwest Asia, Mexico, and Colombia.'
    consumptionText: '&eYou have consumed Heroin!'
    #in ticks (1s = 20 ticks)#
    consumptionCooldown: 80
    #to add potion effects of your choice, simply add another entry like shown below.#
    #duration is in ticks (1s = 20 ticks)#
    PotionEffects:
      INCREASE_DAMAGE:
        Duration: 200
        Level: 3
      BLINDESS:
        Duration: 300
        Level: 2
    Recipe:
      - ''
      - 'OPIUM'
      - ''
      - 'OPIUM'
      - ''
      - 'OPIUM'
      - ''
      - 'OPIUM'
      - ''
    OpiumPoppy:
      DisplayName: '&8Opium Poppy'
      Lore:
        - '&8Papaver somniferum, commonly known as the opium poppy or'
        - '&8breadseed poppy, is a species of flowering plant in the family Papaveraceae.'
        - '&8It is the species of plant from which both opium and poppy seeds are derived'
        - '&8and is also a valuable ornamental plant, grown in gardens.'
      plantMessage: '&eYou have placed an opium poppy!'
      harvestMessage: '&eYou have harvested an opium poppy'
      earlyharvestMessage: '&eThat opium poppy did not grow fully!'
      #in minutes#
      growthTime: 10
      #amount of opium poppy seeds that drop#
      harvestAmount: 3
      #probability of an opium poppy item dropping whilst harvesting opium poppy seed pods#
      harvestProbability: 0.6
    OpiumPoppySeedPod:
      DisplayName: '&8Opium Poppy Seed Pod'
      Material: LIME_DYE
      Lore:
        - '&8oppy seed is an oilseed obtained from the opium poppy'
        - '&8(Papaver somniferum). The tiny, kidney-shaped seeds have been harvested from dried'
        - '&8seed pods by various civilizations for thousands of years.'
    Opium:
      DisplayName: '&8Opium'
      Material: PINK_DYE
      Lore:
        - '&8Opium is dried latex obtained from the seed'
        - '&8capsules of the opium poppy Papaver somniferum.'
      #in ticks (1s = 20 ticks)#
      CookingTime: 300
      #amount of opium produced from smelting#
      amtProduced: 2
  Cocaine:
    #Enable dropping of coca plants in the wild from tall grass blocks?#
    canDropInWild: true
    #If true, what is the probability that a coca plant item will drop from a normal tall grass block? (2 d.p)#
    wildDropProbability: 0.15
    DisplayName: '&fCocaine'
    Material: SUGAR
    Lore:
      - '&fCocaine, also known as coke, is a strong stimulant most'
      - '&ffrequently used as a recreational drug It is commonly snorted, inhaled as smoke,'
      - '&f or dissolved and injected into a vein. Mental effects may include an'
      - '&fintense feeling of happiness, loss of contact with reality, or agitation.'
    consumptionText: '&eYou have consumed Cocaine!'
    #in ticks (1s = 20 ticks)#
    consumptionCooldown: 50
    #to add potion effects of your choice, simply add another entry like shown below.#
    #duration is in ticks (1s = 20 ticks)#
    PotionEffects:
      SPEED:
        Duration: 100
        Level: 2
      FAST_DIGGING:
        Duration: 120
        Level: 1
    Recipe:
      - ''
      - 'COCA_LEAF'
      - ''
      - 'COCA_LEAF'
      - 'COCA_LEAF'
      - 'COCA_LEAF'
      - ''
      - 'COCA_LEAF'
      - ''
    CocaPlant:
      DisplayName: '&fCoca Plant'
      Lore:
        - '&fThe plant is grown as a cash crop in Argentine Northwest,'
        - '&fBolivia, Colombia, Ecuador, and Peru, even in areas'
        - '&fwhere its cultivation is unlawful. There are some reports'
        - '&fthat the plant is being cultivated in the south of Mexico'
        - '&fas an alternative to smuggling its recreational product cocaine.'
      plantMessage: '&eYou have placed a coca plant!'
      harvestMessage: '&eYou have harvested a coca plant!'
      earlyharvestMessage: '&eThat coca plant did not grow fully!'
      #in minutes#
      growthTime: 12
      #amount of coca leaves that drop#
      harvestAmount: 5
      #probability of a coca plant item dropping whilst harvesting coca leaves#
      harvestProbability: 0.6
    CocaLeaf:
      DisplayName: '&fCoca leaf'
      Lore:
        - '&fCoca is any of the four cultivated plants in the family'
        - '&fErythroxylaceae, native to western South America. Coca is known for'
        - '&fits psychoactive alkaloid, cocaine.'
  Marijuana:
    #Enable dropping of marijuana plants in the wild from large fern blocks?#
    canDropInWild: true
    #If true, what is the probability that a marijuana plant item will drop from a normal large fern block? (2 d.p)#
    wildDropProbability: 0.15
    DisplayName: '&aMarijuana'
    Material: GREEN_DYE
    Lore:
      - '&aCannabis, also known as marijuana among other names,'
      - '&ais a psychoactive drug from the Cannabis plant'
      - '&aused primarily for medical or recreational purposes.'
    consumptionText: '&2You have consumed Marijuana!'
    #in ticks (1s = 20 ticks)#
    consumptionCooldown: 50
    #to add potion effects of your choice, simply add another entry like shown below.#
    #duration is in ticks (1s = 20 ticks)#
    PotionEffects:
      LEVITATION:
        Duration: 40
        Level: 2
      SLOWNESS:
        Duration: 120
        Level: 2
    MarijuanaPlant:
      DisplayName: '&aMarijuana Plant'
      Lore:
        - '&aCannabis is a genus of flowering plants'
        - '&ain the family Cannabaceae. The number of species within the'
        - '&agenus is disputed. Three species may be recognized:'
        - '&aCannabis sativa, Cannabis indica, and Cannabis ruderalis;'
        - '&aC. ruderalis may be included within C. sativa.'
      plantMessage: '&eYou have placed a marijuana plant!'
      harvestMessage: '&eYou have harvested a marijuana plant!'
      earlyharvestMessage: '&eThat marijuana plant did not grow fully!'
      #in minutes#
      growthTime: 7
      #amount of coca leaves that drop#
      harvestAmount: 10
      #probability of a marijuana plant item dropping whilst harvesting marijuana plant#
      harvestProbability: 0.3
    Bong:
      DisplayName: '&cBong'
      EmptyBongLore:
        - '&d{&5EMPTY&d}'
        - '&eUse this to smoke Marijuana'
      FullBongLore:
        - '&d{&5FULL&d}'
        - '&eUse this to smoke Marijuana'
      Recipe:
        - ''
        - 'GLASS'
        - ''
        - ''
        - 'GLASS'
        - ''
        - 'GLASS'
        - 'GLASS'
        - 'GLASS'
 
 
#Message sent to player when they right click a plant, use {PERCENT} as a placeholder for the % of completion of growth#
growthMessage: '&eThis is {PERCENT} % complete!'

Computer:
  WebsiteGUIItems:
    Shop:
      Material: LEGACY_RAILS
      DisplayName: '&cSilk &3Road'
      Lore:
        - '&eThe most infamous drug'
        - '&ewebsite on the dark web..'
    CurrencyConverter:
      Material: GOLD_INGOT
      DisplayName: '&3Convert Currencies'
      Lore:
        - '&eConvert your BTC to other'
        - '&ecurrencies and vice-versa!'
  Recipe:
    - 'IRON_INGOT'
    - 'IRON_INGOT'
    - 'IRON_INGOT'
    - 'DIAMOND'
    - 'GLASS'
    - 'DIAMOND'
    - 'GOLD_INGOT'
    - 'GOLD_INGOT'
    - 'GOLD_INGOT'
  DisplayName: '&eComputer'
  Lore:
    - '&eUse this to make'
    - '&esome illegal purchases..'
  StartMenuTitle: '&eWhat do you want to access?'
  WebsiteName: '&cSilk &3Road'
  CurrencyConversionTitle: '&eConvert your currencies'
  #Setting a value as 0 will disable the item from being sold/bought.#
  #This currency is BTC/Bitcoin. You are able to convert to your desired currency afterwards.#
  Prices:
    Sell:
      COCAINE: 15.0
      COCAPLANT: 2.5
      COCALEAF: 1.0
      MARIJUANA: 8.0
      MARIJUANAPLANT: 2.5
      BONG: 0.05
      HEROIN: 12.0
      OPIUM: 5.0
      OPIUMPOPPY: 2.5
      OPIUMPOPPYSEEDPOD: 0.25
    Buy:
      COCAINE: 40.0
      COCAPLANT: 7.5
      COCALEAF: 5.0
      MARIJUANA: 4.0
      MARIJUANAPLANT: 3.0
      BONG: 1.0
      HEROIN: 30.0
      OPIUM: 5.0
      OPIUMPOPPY: 4.0
      OPIUMPOPPYSEEDPOD: 1.0
  #message sent to player when they are unable to buy or sell drugs#
  transactionError: '&cTransaction failed'
  #Information about plugins which are compatible for converting btc#
  #Enter a decimal point number for the conversion rate. for example if vault is set to 255.55, 1 BTC will be equal to 255.55 of Vaults currency.#
  #If you have an economy plugin, that you would like to see be compatible, please write a post in the discussion section of this plugin at www.spigotmc.org#
  ConvertFromBTC:
    Vault:
      enabled: true
      ConversionRate: 1250.0
      Material: FURNACE
      DisplayName: '&eVAULT'
      #use {CONVERSIONRATE} as a placeholder for your conversion rate.#
      Lore:
        - '&eRate: {CONVERSIONRATE}'
        - '&eRight Click to convert your BTC to this currency.'
        - '&aLeft Click to convert your currency to BTC'
  #values to change buy/sell, there can only be 6 of these. #
  ValuesToChangeTotal:
    - 0.1
    - 0.25
    - 1.0
    - 10
    - 100
    - 1000
  #Material which represents each button to increase/decrease amount#
  ValuesMaterial: GOLD_BLOCK
[​IMG]
Code (Text):
  drugfun.*:
    children:
      drugfun.menu: true
      drugfun.give: true
  drugfun.menu:
    description: /df menu
    default: false
  drugfun.give:
    description: /df give
    default: false
  drugfun.consumecocaine:
    description: Permission for consumption of cocaine
    default: true
  drugfun.consumeweed:
    description: Permission for consumption of marijuana
    default: true
  drugfun.consumeheroin:
    description: Permission for consumption of heroin
    default: true


Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[1.16] DrugFun | ADD ILLEGAL SUBSTANCES INTO YOUR GAME! | HIGHLY CUSTOMIZABLE! is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 18,368 times (via Spigot). Download it and open it directly in the game.

Explore more