[Under Development] Drugs Plugin

I am porting my Drugs plugin from Bukkit to Sponge. As there is quite a few features missing from the Sponge API the plugin will not have all the features that is does in Bukkit right out of the box.



Bukkit Dev Post: dev.bukkit.org/bukkit-plugins/drugs/


I have got the base working which includes Effects, Random Effects and Random Group Effects.

Copying the Drugs.json config from the Bukkit version into the drugs.conf file will be supported and will now also support the HOCON typesafe styles.

I will update this post as development progresses


Example Config:
{
  "Drugs": [
     {
        "Name": "Methamphetamine",
        "Material": "minecraft:sugar",
        "UsageMessage": "You Have Just Smoked {drug}",
        "Effects": [
          {
            "EffectType": "Speed",
            "Duration": 10,
            "Strength": 9,
            "ShowParticles": false
          }
        ],
        "ParticleEffects": [
          {
            "ParticleEffect": "Redstone",
            "PlayerOnly": true,
            "Count": 10,
            "Green": 255,
            "Blue": 255
          }
        ]
     },
     {
        "Name": "Weed",
        "Material": "minecraft:dye",
        "Damage": 2,
        "UsageMessage": "You Have Just Smoked {drug}",
        "RandomGroupEffects": [
           {
              "Chance": 90,
              "Effects": [
                  {
                    "EffectType": "Slowness",
                    "Duration": 15,
                    "Strength": 2
                  },
                  {
                    "EffectType": "Slow Mining",
                    "Duration": 15,
                    "Strength": 1
                  }
              ]
           }
        ],
        "RandomEffects": [
           {
              "EffectType": "Hunger",
              "Duration": 20,
              "Strength": 4,
              "Chance": 80
           }
        ]
     }
  ]
}
1 Like

Do we really need this??

There are actually quite a few successful “drug” servers out there, if a plugin could be made to create a truly deep-level RPG experience it would be very popular.

Awesome, I think it would be a better idea to have it a bit like the real drug business
I have never been involved in the drugs business this is just how it is portrayed in books/films

You add ingredients for effects (Like potions) and can optionally name it, there are no fixed ‘drugs’.
Ingredients can be of different quality, some may have side effects others may be super potent.

I think something like the above would be quite cool, though possibly hard to implement.

You could also have an optional ‘allergies’ feature where the player is randomly assigned some ingredients that give them side effects, the only way to find out these is to use those ingredients.

2 Likes

Also, like the real drug business you need a system for cops, cartels, etc.

3 Likes

That’s kinda into the direction of an addon for some town plugins… Me likey.

3 Likes

Hmmm.
Not quite sure what to think about this…

Its for educational propose. Ya know, learning kids how easy you get your ticket to jail when you do stuff like this in real life.

Eh, no it’s not.

I can see this being used in a variety of different role-play themed servers. If you look towards other games such as garrys mod, arma (and I’m sure many more) that offer role-player servers usually as a source of income you can go the illegal route and start dealing drugs. It just allows players to develop their characters more fully by adding the choice of moving your character into the shady portion of society. As contrast it also allows players to develop a character involved in law enforcement as usually there is a counter to these types of illegal activities.

EDIT:
Another suggestion you could easily change the name of the plugin to something else that wont get the sensitive babies up in arms. This plugin can be easily used to add effects with names other than drugs. It could be used in a more fantasy based scenario where perhaps the potion effect is named “Corruption” or “Plague” etc… I personally don’t care what its called but after reading the comments here it seems many people are taking offensive to the plugin.

EDIT:
I am however interested in the coding portion of this plugin and how changing the display names of effects the player sees when their inventory is opened is going? Last I checked potion effects have not been implemented yet into sponge but perhaps my information is a bit out dated.

Holy necropost.