Sueta

DrugDealing

1.0

A roleplay plugin that allows players to produce and sell drugs

·Plugin

Description

This plugin will implement drug plants into the game, there are two different types of plants: coke plants and weed plants. Drug plants need to be planted on Farmland blocks.
Once grown they can be harvested by destroying them by hand, with water or by destroying the farmland by jumping on it, It's suggested to not use strange methods to harvest plants (e.g. with pistons).
When harvested correctly the grown plant will drop two plants.
Plants can be brought to producers to convert them in final products that can be sold to dealers (or consumed, coke can be consumed by shifting and right clicking).

Supported versions: 1.13.*, 1.14.*, 1.15.*
Dependencies: Vault 1.7 or higher, Citizens 2.0.25 or higher

Customization

  • messages.yml
    (ServerFolder/plugins/DrugDealing/messages.yml)
    Every in-game message is customizable from the messages.yml file.
    Console log messages and the help menu are excluded
  • configs.yml
    (ServerFolder/plugins/DrugDealing/configs.yml)
    • Plants growth time
      Minimum an maximum growth time are customizable from the configs.yml file.
    • Drugs prices
      Drugs prices are customizable from the configs.yml file.

Commands

  • /drugdealing or /dd <topic> [page number]
    Opens ingame help menu
  • /setcriminal or /setnpc <criminal role> <name> [not accepted drug types...]
    Spawns a criminal NPC
  • /removecriminal or /removenpc
    Right clicking an NPC after that command is going to delete it
  • /getplant <plant type>
    Gives a drug plant to the player
  • /getdrug <drug type>
    Gives a drug to the player

Permissions

drugdealing.plant.coke
Permission to plant coke plant
drugdealing.plant.weed
Permission to plant weed plant
drugdealing.harvest.coke
Permission to harvest coke plant
drugdealing.harvest.weed
Permission to harvest weed plant
drugdealing.getplant.coke
Permission to execute /getplant coke
drugdealing.getplant.weed
Permission to execute /getplant weed
drugdealing.getdrug.coke
Permission to execute /getdrug coke
drugdealing.getdrug.weed
Permission to execute /getdrug weed
drugdealing.help
Permission to execute /drugdealing
drugdealing.setnpc.dealer
Permission to spawn a Dealer NPC
drugdealing.setnpc.producer
Permission to spawn a Producer NPC
drugdealing.removenpc.dealer
Permission to remove a Dealer NPC
drugdealing.removenpc.producer
Permission to remoev a Producer NPC
drugdealing.usenpc.dealer
Permission to use a Dealer NPC
drugdealing.usenpc.producer
Permission to use a Producer NPC
drugdealing.consume.coke
Permission to cosume coke drug

Bug reports and Suggestions

Bug reports and suggestions can be filed at this page.
In case of impossibility you are free to leave a comment in the discussion section. Please don't use the review section for this purpose.

Similar projects

Plugin →