Jump to content

Drug Raids 1.0.0

$19.99 $14.99
   (0 reviews)

7 Screenshots

  • 23
  • 3
  • 18.2 kB
  • Update details
    v1.0.0
    Released
    Download size18.2 kB
    Total versions2
    Time between versions 1 day
    Typical update pace About every 1 day
    Freshness Updated today

depends on

Required files or plugins needed for this resource to work properly.

Works with

Compatible add-ons, packages, or tools that pair well with this resource.

About Drug Raids

Transform your Rust server with an immersive drug raid event! This plugin introduces a thrilling new gameplay mechanic where players can participate in a drug raid at the Oxum's Gas Station.

How it works:

  1. Events starts at a random Oxum's gas station on the map
  2. Players choose to raid the event building or go through the turrets and npcs in the front
  3. Players either harvest or clone the drugs
  4. Players can sell the drugs to the dealer from the Drug Deals plugin or other methods

Features:

  • random drug raid events (configure an event for each drug type or mix and match however you like)
  • specify the genes for each drug that players can harvest or clone from planters
  • compatible with NpcSpawn. you want npcs to spawn, just specify the NpcSpawn preset name and position you want it to spawn at (two presets included with this plugin)
  • configurable auto turret health, ammo, etc
  • configurable timer for hackable crate
  • PveMode compatibility

Chat Commands (for admin only):

  • /drugraids.start - starts a random drug raid event
  • /drugraids.stop - stops the active drug raid event

Console Commands (for admin only):

  • drugraids.start - starts a random drug raid event
  • drugraids.stop - stops the active drug raid event
  • drugraids.getpos - prints the local position relative to Oxum's Gas Station. useful for npc locations

Config:

{
  "General Settings": {
    "Enable automatic event start [true/false]": true,
    "Minimum time between events [sec.]": 2700,
    "Maximum time between events [sec.]": 3600,
    "Event duration [sec.]": 1800,
    "Time before the start of the event to send a chat message [sec.]": 300,
    "Time before the end of the event to send a chat message [sec.]": 300,
    "Time to destroy the event after opening all the crates [sec]": 300,
    "Event radius": 35.0,
    "Prefix of chat messages": "<color=#FFA500>[Drug Raids]</color>"
  },
  "Presets": [
    {
      "Event name": "weed",
      "Name displayed on the map (for custom marker)": "Weed Drug Raid",
      "Automatic startup [true/false]": false,
      "Time to unlock the hackable crate [sec.]": 60,
      "Auto turret settings": {
        "Auto turret health": 100.0,
        "Auto turret weapon shortname": "rifle.ak",
        "Auto turret ammo type": "ammo.rifle",
        "Auto turret ammo amount": 500,
        "Is auto turret lootable? [true/false]": false
      },
      "Drug settings": [
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "XYYGHY",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "HYHYYG",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Weed Seeds",
          "Drug item genes": "GYHXGY",
          "Number of drugs to give when harvested": 1
        }
      ],
      "NPC settings": [
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(13.29, 3.02, 10.69)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-3.54, 3.03, 10.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-4.93, 3.25, 21.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(4.81, 3.25, 21.15)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(11.95, 3.37, 35.90)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(5.88, 3.35, 35.81)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(-0.07, 3.37, 35.95)"
        }
      ],
      "Probability of this preset being selected [0.0-100.0]": 25.0
    },
    {
      "Event name": "cocaine",
      "Name displayed on the map (for custom marker)": "Cocaine Drug Raid",
      "Automatic startup [true/false]": false,
      "Time to unlock the hackable crate [sec.]": 60,
      "Auto turret settings": {
        "Auto turret health": 150.0,
        "Auto turret weapon shortname": "rifle.lr300",
        "Auto turret ammo type": "ammo.rifle",
        "Auto turret ammo amount": 750,
        "Is auto turret lootable? [true/false]": false
      },
      "Drug settings": [
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "XYYGHY",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "HYHYYG",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Coca Seeds",
          "Drug item genes": "GYHXGY",
          "Number of drugs to give when harvested": 1
        }
      ],
      "NPC settings": [
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(13.29, 3.02, 10.69)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-3.54, 3.03, 10.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-4.93, 3.25, 21.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(4.81, 3.25, 21.15)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(11.95, 3.37, 35.90)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(5.88, 3.35, 35.81)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(-0.07, 3.37, 35.95)"
        }
      ],
      "Probability of this preset being selected [0.0-100.0]": 25.0
    },
    {
      "Event name": "tobacco",
      "Name displayed on the map (for custom marker)": "Tobacco Drug Raid",
      "Automatic startup [true/false]": false,
      "Time to unlock the hackable crate [sec.]": 60,
      "Auto turret settings": {
        "Auto turret health": 150.0,
        "Auto turret weapon shortname": "rifle.lr300",
        "Auto turret ammo type": "ammo.rifle",
        "Auto turret ammo amount": 750,
        "Is auto turret lootable? [true/false]": false
      },
      "Drug settings": [
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "XYYGHY",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "HYHYYG",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Tobacco Seeds",
          "Drug item genes": "GYHXGY",
          "Number of drugs to give when harvested": 1
        }
      ],
      "NPC settings": [
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(13.29, 3.02, 10.69)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-3.54, 3.03, 10.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-4.93, 3.25, 21.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(4.81, 3.25, 21.15)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(11.95, 3.37, 35.90)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(5.88, 3.35, 35.81)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(-0.07, 3.37, 35.95)"
        }
      ],
      "Probability of this preset being selected [0.0-100.0]": 25.0
    },
    {
      "Event name": "opium",
      "Name displayed on the map (for custom marker)": "Opium Drug Raid",
      "Automatic startup [true/false]": false,
      "Time to unlock the hackable crate [sec.]": 60,
      "Auto turret settings": {
        "Auto turret health": 150.0,
        "Auto turret weapon shortname": "rifle.lr300",
        "Auto turret ammo type": "ammo.rifle",
        "Auto turret ammo amount": 750,
        "Is auto turret lootable? [true/false]": false
      },
      "Drug settings": [
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "XYYGHY",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "YHYYGH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "HYHYYG",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "XHXHXH",
          "Number of drugs to give when harvested": 1
        },
        {
          "Drug seed display name (must match DrugsAPI)": "Poppy Seeds",
          "Drug item genes": "GYHXGY",
          "Number of drugs to give when harvested": 1
        }
      ],
      "NPC settings": [
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(13.29, 3.02, 10.69)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-3.54, 3.03, 10.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(-4.93, 3.25, 21.91)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc",
          "Monument-local position": "(4.81, 3.25, 21.15)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(11.95, 3.37, 35.90)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(5.88, 3.35, 35.81)"
        },
        {
          "NPC preset name": "Drug-Raids-Npc-Stationary",
          "Monument-local position": "(-0.07, 3.37, 35.95)"
        }
      ],
      "Probability of this preset being selected [0.0-100.0]": 25.0
    }
  ],
  "Map Marker Settings": {
    "Do you use the marker [true/false]": true,
    "Use a shop marker [true/false]": true,
    "Use a circular marker [true/false]": false,
    "Radius": 0.35,
    "Alpha": 0.35,
    "Marker color": {
      "r": 0.81,
      "g": 0.25,
      "b": 0.15
    },
    "Outline color": {
      "r": 0.0,
      "g": 0.0,
      "b": 0.0
    }
  },
  "Event Zone Settings": {
    "Create a PvP zone (for those that use the TruePVE plugin) [true/false]": false,
    "Zone Darkness": 5,
    "Apply a colored border to the zone? [true/false]": true,
    "Zone border color (0 - blue, 1 - green, 2 - purple, 3 - red)": 3,
    "Zone border color brightness": 2,
    "Zone radius": 50
  },
  "PveMode Settings": {
    "Use the PveMode of the plugin [true/false]": false,
    "The amount of damage that the player has to do to become the Event Owner": 100.0,
    "Damage scale per entity type. Keys must be: Npc, Turret, Bradley, Helicopter, Animal. Value is the multiplier applied to raw damage before comparing against the Damage threshold.": {
      "Npc": 1.0,
      "Turret": 1.0
    },
    "Can the non-owner of the event loot the crates? [true/false]": false,
    "Can the non-owner of the event hack the locked crate? [true/false]": false,
    "Can the non-owner of the event loot NPC corpses? [true/false]": false,
    "Can the non-owner of the event deal damage to event NPC? [true/false]": false,
    "Can the non-owner of the event deal damage to event turrets? [true/false]": false,
    "Can an NPC attack a non-owner of the event? [true/false]": false,
    "Can event turrets target a non-owner of the event? [true/false]": false,
    "Allow the non-owner of the event to enter the event zone? [true/false]": true,
    "Allow a player who has an active cooldown of the Event Owner to enter the event zone? [true/false]": true,
    "The time that the Event Owner may not be inside the event zone [sec.]": 300,
    "The time until the end of Event Owner status when it is necessary to warn the player [sec.]": 60,
    "Prevent the actions of the RestoreUponDeath plugin in the event zone? [true/false]": true,
    "The time that the player can`t become the Event Owner, after the end of the event and the player was its owner [sec.]": 0.0,
    "Can only the Event Owner (and their team) loot event containers? [true/false]": false
  },
  "Configuration version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 0
  }
}

 


Yaki's Collection

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
157.2k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.