Sueta

DrugsRPG [1.8-1.12.2] Flatfile + MySQL support added!

3.4.1

A new generation drugs plugin with many features!

·Plugin

DrugsRPG ▸

► Important Note
If you have any feedback, tips and extra features to add this plugin to make it even better, just send me a PM and I'll look what I can do! :)

If you like this plugin, please leave me a 5-star rating! <3

► Overview
DrugsRPG by Randstad is one of the most advanced, configurable plugin on the market by which you give much pleasure!

The all-in drugs plugin is right here, free to download.

► Features

› Configurable
› Color code support
› Lightweight
› Support 1.8 - 1.12
› Ability to create, delete & manage your own drugs
› No required dependencies
› Nice GUI interfaces
› MySQL and flatfile support
And a lot more!

► Commands
<> = required
[] = optional
› /drugs menu - Managing your drugs with one command.
› /drugs create - Create your next success!
› /drugs give <player> <drug> [amount] - Give a drug (with amount) to a player

► Supported Versions
I recommend using 1.8.8 for the best experience.
DrugsRPG by Randstad is supporting the version 1.7-1.12.

► Help & Support
That is possible! If you click on the discussion section you can put drop problem with description and eventually an error log. I try my best to react as fast as possible.

► Plans & TODO
› Purchase system (integration Vault)
› Big recode of DrugsRPG ✓
› GUI interface for creating drugs ✓
› Let players grow their own drugs
› MySQL support ✓
› More feedback and checks when creating drugs (W.I.P.)
› Add command to give players drugs
› Support 1.13.x (Currently working on it)
› Semi-automatic updater ✓

► Documentation

Video (Outdated)

YouTube

PlaceholderAPI

With the %drug_in_hand% variable you can check whether a player has a drug in his or her hand and what kind of drug whether not.

config.yml
# The best and most customisable drugs plugin on the market. 
# Created with love by rndstad.me 
# Please leave a 5-star rating on the DrugsRPG spigot page. 

## General Settings ## 
preferences: 
  use-mysql: true 
  host: localhost 
  port: 3306 
  database: drugsrpg_drugs 
  username: "" 
  password: ""
drugs.yml
## Information ## 
# Material list of Spigot: 
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html 
# Potion effects of Spigot: 
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html 

## Drugs Setup ## 
# In this list are all your custom drug-types saved. 
drugs: 
  Cocaine: 
      name: '&f&lCocaine' 
      message: '&fI feel high.' 
      lore: '&eThe fine coca.' 
      recipe: 
        product: SUGAR 
        rows: 
          '1': '@@@' 
          '2': '@#@' 
          '3': '@@@' 
        ## Ingredients 
        # How to setup? 
        # The first step is to choose a character (Only one character long!). Like this '$' 
        # Next you'll have to choose a material type. 'INK_SACK' 
        # Finally you CAN add a short/byte to do this after the material type '3'. If you don't want that you only fill in 0 
        # Full example: '$:INK_SACK:3' 
        ingredients: 
        - '@:IRON_BLOCK:0' 
        - '#:INK_SACK:3' 
      effects: 
        BLINDNESS: 
          duration: 200 
          amplifier: 2 
        SLOW: 
          duration: 200 
          amplifier: 2 
  Weed: 
      name: '&e&lWeed' 
      message: '&fHmmmm, weed!' 
      lore: '&eSnoop Dogg is a good boy.' 
      recipe: 
        product: WHEAT 
        rows: 
          '1': '@#@' 
          '2': '@#@' 
          '3': '@#@' 
        ingredients: 
        - '@:GOLD_INGOT:0' 
        - '#:WHEAT:0' 
      effects: 
        BLINDNESS: 
          duration: 200 
          amplifier: 2 
        SLOW: 
          duration: 200 
          amplifier: 2
Developers API
@EventHandler 
     public   void  onConsume  (  DrugConsumeEvent e  )   {  
        Player p  =  e.  getPlayer   (   )   ;  
  
         // # Cancel event  
        e.  setCancelled   (   true   )   ;  
  
         // # Get the drug  
        e.  getDrug   (   )   ;  
     }
// # Call the API.  
DrugsAPI api  =   new  DrugsAPI  (   )   ;  

 // # Get a list of all drugs on the server.  
api.  getDrugList   (   )   ;  
  
   // # Get a specific drug, searched on the name.  
api.  getDrug   (   ""   )   ;  
  
 // # Check if the name is an existing drug.  
api.  isDrug   (   ""   )   ;

► Donators
Click here to buy me a coffee :coffee:

► Credits
› Thank you @MinusKube for SmartInv to make easily multiple pages!

► Disclaimer
You can't bind any rights from this resource thread.
I could only give support if I have enough time for it. That doesn't mean I don't give support.
If you have any bugs and need support, feel free to report it in the discussion section .

Similar projects

Plugin →