Jump to content
Message added by The_Kiiiing,

8 Screenshots

  • 142.3k
  • 2.1k
  • 74.53 kB

About Ganja

This plugin allows players to gather weed from hemp plants and craft joints using a mixing table. There are different types of weed where each type can be found in a different biome. Joints can be crafted at a mixing table and will give the player configurable buffs and healing with each tier having different effects.

 

Features:

  • Fully customizable
  • Different types of weed
  • Configurable effects for each type
  • Custom crafting UI integrates in the mixing table UI
  • Configurable recipes for mixing table
  • Yield amount and chance configurable for each type
  • Ideal for Roleplay Servers

 

New in v2.0.10: Give command

Server owners can use this command to give weed or joints to themselves or a certain player. The identifier has to be specified in the config file for every type of weed or joint.

ganja.give <weed|joint> <identifier> <amount> <player?>

 

Permission:

ganja.give - Required to use ganja.give command

 

New in v2.0.0: Fully configurable crafting:

With Version 2.0.0 the crafting system has been integrated in the mixing table. Joints can now be crafted by using the right ingredients in the right slot. The crafting recipes are fully configurable. New recipes can also be added.

image.thumb.png.673f7a67aa4332b829f6ec657c70b5e5.png

 

 

New in v1.0.8: Loot Table integration:

This plugin now supports the custom item api of Loot Table and Stack Size GUI, so you can easily add weed to the loot table. When both plugins are installed on the server, the weed items will show up in the custom items tab of Loottable (right image):

image.png.200e5f4ee0467f732756f97809656e6e.png

 

 

Different tiers:

Depending on the biome, you will receive different tiers of weed, the biomes can also be changed in the config. By default, tier2 weed can be gathered in the snow biome, tier1 in the desert and tier0 everywhere else.

Names, droprates, and boosts can also be configured individually for each tier.

 

Controls:

With a joint selected in the hot bar:

  • Right click to ignite / extinguish a joint
  • When joint is bruning: left click to use a joint

 

Permissions:

Permissions can be disabled in the config, making gathering and crafting accessible to everyone regardless of permissions.

ganja.craft  - Required to craft joints
ganja.gather - Required to obtain weed

 

Biome masks:

The biome mask is a simple 4-bit number that determines where a certain tier of weed can be found. Each biome has its own number; add these numbers together to select multiple biomes. The numbers for each biome are as follows:

1 - Arid
2 - Temperate
4 - Tundra
8 - Arctic

For example: Low Quality Weed has the biome mask 6 by default (see configuration below). That means it can be found in the Temperate and the Tundra biome.

 

Configuration:

{
  "Weed configuration": [
    {
      "Drop chance when harvesting (1 = 100%)": 0.4,
      "Drop amount when harvesting": {
        "min": 1,
        "max": 3
      },
      "Biome mask (see description for details)": 6,
      "Custom item name (null = default name)": "Low Quality Weed",
      "Item short name": "sticks",
      "Item skin id": 2661029427
    },
    {
      "Drop chance when harvesting (1 = 100%)": 0.3,
      "Drop amount when harvesting": {
        "min": 1,
        "max": 3
      },
      "Biome mask (see description for details)": 1,
      "Custom item name (null = default name)": "Medium Quality Weed",
      "Item short name": "sticks",
      "Item skin id": 2661031542
    },
    {
      "Drop chance when harvesting (1 = 100%)": 0.1,
      "Drop amount when harvesting": {
        "min": 1,
        "max": 2
      },
      "Biome mask (see description for details)": 8,
      "Custom item name (null = default name)": "High Quality Weed",
      "Item short name": "sticks",
      "Item skin id": 2660588149
    }
  ],
  "Crafting Recipes": [
    {
      "Ingredient Slots": {
        "0": {
          "Amount": 1,
          "Item short name": "note",
          "Item skin id": 0
        },
        "1": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2661029427
        },
        "2": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2661029427
        }
      },
      "Produced Item": {
        "Custom item name (null = default name)": "Low Quality Joint",
        "Item short name": "horse.shoes.basic",
        "Item skin id": 2894101592
      },
      "Is joint": true,
      "Boosts (only works for joints)": {
        "Wood boost percentage (1 = 100%)": 0.4,
        "Wood boost duration (seconds)": 20.0,
        "Ore boost percentage (1 = 100%)": 0.0,
        "Ore boost duration (seconds)": 0.0,
        "Scrap boost percentage (1 = 100%)": 0.0,
        "Scrap boost duration (seconds)": 0.0,
        "Max Health percentage (1 = 100%)": 0.0,
        "Max Health duration (seconds)": 0.0,
        "Healing per use": 1.0
      }
    },
    {
      "Ingredient Slots": {
        "0": {
          "Amount": 1,
          "Item short name": "note",
          "Item skin id": 0
        },
        "1": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2661031542
        },
        "2": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2661031542
        }
      },
      "Produced Item": {
        "Custom item name (null = default name)": "Medium Quality Joint",
        "Item short name": "horse.shoes.basic",
        "Item skin id": 2894101290
      },
      "Is joint": true,
      "Boosts (only works for joints)": {
        "Wood boost percentage (1 = 100%)": 0.0,
        "Wood boost duration (seconds)": 0.0,
        "Ore boost percentage (1 = 100%)": 0.8,
        "Ore boost duration (seconds)": 20.0,
        "Scrap boost percentage (1 = 100%)": 0.0,
        "Scrap boost duration (seconds)": 0.0,
        "Max Health percentage (1 = 100%)": 0.0,
        "Max Health duration (seconds)": 0.0,
        "Healing per use": 4.0
      }
    },
    {
      "Ingredient Slots": {
        "0": {
          "Amount": 1,
          "Item short name": "note",
          "Item skin id": 0
        },
        "1": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2660588149
        },
        "2": {
          "Amount": 1,
          "Item short name": "sticks",
          "Item skin id": 2660588149
        }
      },
      "Produced Item": {
        "Custom item name (null = default name)": "High Quality Joint",
        "Item short name": "horse.shoes.basic",
        "Item skin id": 2893700325
      },
      "Is joint": true,
      "Boosts (only works for joints)": {
        "Wood boost percentage (1 = 100%)": 0.0,
        "Wood boost duration (seconds)": 0.0,
        "Ore boost percentage (1 = 100%)": 0.0,
        "Ore boost duration (seconds)": 0.0,
        "Scrap boost percentage (1 = 100%)": 1.0,
        "Scrap boost duration (seconds)": 30.0,
        "Max Health percentage (1 = 100%)": 0.3,
        "Max Health duration (seconds)": 30.0,
        "Healing per use": 8.0
      }
    }
  ],
  "Require permission for crafting": true,
  "Require permission for gathering": true,
  "Disable built-in stack fix (set to true if you have problems with item stacking/splitting)": false
}
  • Like 6
  • Love 4

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.