Harvestable Vehicles

Harvestable Vehicles 1.8.0

Sign in to download
Lets players gather materials from vehicles
This plugin allows players to break down rarely used vehicles like cars and hot air balloons for resources using specific tools, instead of them just sitting there and adding to your entity count.



Permissions

  • harvestablevehicles.use - Only players with this permission can harvest resources from vehicles.

Configuration

JSON:
{
  "Version": "1.8.0",
  "Prevent Harvesting Owned Vehicles": true,
  "Gathering Tools": [
    {
      "Item Short Name": "hammer.salvaged",
      "Skin Id": 0
    },
    {
      "Item Short Name": "jackhammer",
      "Skin Id": 0
    }
  ],
  "Harvestable Vehicles": [
    {
      "Vehicle Short Prefab Names": [
        "1module_cockpit",
        "1module_cockpit_armored",
        "1module_cockpit_with_engine",
        "1module_engine",
        "1module_flatbed",
        "1module_passengers_armored",
        "1module_rear_seats",
        "1module_storage",
        "1module_taxi",
        "2module_camper",
        "2module_flatbed",
        "2module_fuel_tank",
        "2module_passengers"
      ],
   "Resources": [
        {
          "Item Short Name": "metal.fragments",
          "Skin Id": 0,
          "Minimum Amount": 5,
          "Maximum Amount": 10,
          "Rarity": "Common"
        },
        {
          "Item Short Name": "metal.refined",
          "Skin Id": 0,
          "Minimum Amount": 1,
          "Maximum Amount": 5,
          "Rarity": "Common"
        }
      ],
      "Damage Increase Factor": 5.0
    }
  ],
  "Rarity Weights": {
    "Common": 60,
    "Uncommon": 25,
    "Rare": 10,
    "VeryRare": 5
  }
}
  • Prevent Harvesting Owned Vehicles - If enabled, vehicles with an assigned owner cannot be harvested. This primarily affects vehicles that are purchased or spawned using plugins, preventing players from gathering resources from them.
  • Gathering Tool Short Names - Lists the short names of tools that can be used for harvesting resources from vehicles. If a vehicle is hit with a tool not listed here, no resources will be gathered from it. (Using an item that is not categorized as a tool will not allow resource gathering.)
  • Harvestable Vehicles- Contains settings for vehicles that can be harvested.
    • Vehicle Short Prefab Names - Lists the short prefab names of the vehicles that can be harvested.
    • Resources- Defines the resources that can be gathered from the vehicle.
      • Item Short Name - The short name of the item.
      • Amount - The amount of the item that can be gathered per hit.
      • Rarity- The rarity of the resource, which determines its likelihood of being gathered. Available options:
        • Common
        • Uncommon
        • Rare
        • VeryRare
  • Damage Increase Factor - The multiplier by which the damage to the vehicle is increased during harvesting.
  • Rarity Weights - Defines the probability weights for each resource rarity. Higher weights increase the likelihood of gathering resources of that rarity.
Author
VisEntities
Downloads
88
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

  • Rotating Gear
    Rotating Gear
    Equips players with a random loadout at set intervals
  • Kill Awards
    Kill Awards
    Gives players rewards for every set number of kills
  • Safe Respawn
    Safe Respawn
    Gives players temporary protection after spawning

Latest updates

  1. 1.8.0

    Added Prevent Harvesting Owned Vehicles config option to block harvesting of vehicles that have...
  2. 1.7.0

    Added integration with True PVE to allow vehicles and hot air balloons to take damage when being...
  3. 1.6.1

    Fixed vehicles not receiving damage from gathering tools.
Back
Top
Cart