Jump to content
sale $39.99  $31.99

7 Screenshots

  • 5,578
  • 149
  • 35.83 kB

depends on

About Ganja

This plugin allows players to gather weed from hemp plants and craft joints using a mixing table. Weed is separated into three tiers where each tier 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. Plants require a set amount of H-genes in order to yield weed. 

 

Features:

  • Highly customizable
  • Three tiers of weed
  • Configurable effects for each tier
  • Plants need a specified amount of H genes in order to yield weed
  • Yield amount and chance configurable for each tier
  • Custom crafting UI for mixing table
  • Default weed stacksize: 100
  • Ideal for Roleplay Servers

 

How to get weed:

  • Plant has to be in RIPE state when harvesting
  • Plant needs the minimum amount of H-genes specified in the config (2 by default) for a chance of dropping weed
  • Chance of dropping weed can be modified in the config
  • If the plant has the amount of H-genes for guaranteed drop (4 by default) you will always get weed when harvesting it

 

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.

 

How to craft a joint:

To craft a joint, go to the mixing table and open it. A custom UI will appear above yor inventory where you can craft a joint simply by pressing a button, providing you have the ressources for it (by default weed x2 and note x1).

 

Controls:

With a joint selected in the hot bar:

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

 

Permissions:

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

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

 

WTF is a biome mask:

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

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

 

By default, they look like this:

"Biome Masks": {
    "tier0": 6,
    "tier1": 1,
    "tier2": 8
  }

In this case, tier0 can be obtained in the temperate and the tundra biome, tier1 in the desert and tier2 in the snow.

 

Configuration:

{
  "Names": {
    "tier0": "Weed",
    "tier1": "Ganja",
    "tier2": "Purple Haze"
  },
  "Droprates (1 = 100%)": {
    "tier0": 0.4,
    "tier1": 0.3,
    "tier2": 0.1
  },
  "Max drop amounts per plant": {
    "tier0": 3,
    "tier1": 2,
    "tier2": 2
  },
  "tier0 joint boosts (1 = 100%, duration in seconds)": {
    "scrap_boost": 0.5,
    "scrap_boost_duration": 30.0,
    "wood_boost": 0.0,
    "wood_boost_duration": 0.0,
    "ore_boost": 0.0,
    "ore_boost_duration": 0.0,
    "max_health": 0.0,
    "max_health_duration": 0.0,
    "healing_per_use": 5.0
  },
  "tier1 joint boosts (1 = 100%, duration in seconds)": {
    "scrap_boost": 0.0,
    "scrap_boost_duration": 0.0,
    "wood_boost": 0.5,
    "wood_boost_duration": 120.0,
    "ore_boost": 0.0,
    "ore_boost_duration": 0.0,
    "max_health": 0.0,
    "max_health_duration": 0.0,
    "healing_per_use": 8.0
  },
  "tier2 joint boosts (1 = 100%, duration in seconds)": {
    "scrap_boost": 1.0,
    "scrap_boost_duration": 300.0,
    "wood_boost": 1.0,
    "wood_boost_duration": 300.0,
    "ore_boost": 1.0,
    "ore_boost_duration": 300.0,
    "max_health": 0.5,
    "max_health_duration": 300.0,
    "healing_per_use": 15.0
  },
  "Paper Item ID (Item used for crafting joints)": 1414245162,
  "Joint Durability (seconds)": 300.0,
  "Weed amount for crafting a joint": 2,
  "Minimum H count for chance of dropping weed": 2,
  "Minimum H count for guaranteed drop": 3,
  "Enable gather permission": false,
  "Enable crafting permission": false,
  "Weed item ids": {
    "tier0": 642482233,
    "tier1": 642482233,
    "tier2": 642482233
  },
  "Biome Masks": {
    "tier0": 6,
    "tier1": 1,
    "tier2": 8
  },
  "Enable gathering of collectable hemp": true
}

 

REQUIRES IMAGE LIBRARY: https://umod.org/plugins/image-library

  • Like 2
  • Love 2

User Feedback

350.8k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

24.1k

Files Sold

Total number of files sold.

374.4k

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.