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.5.0",
"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
}
}
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.