A simple plugin that allows players to create an oil crater using a survey charge.
After setting it up, you just need to throw the survey charge randomly
According to rust settings, two craters are not possible within 10m, so please don't throw survey charge near a crater
Permissions
Set permissions in the configuration file.
Console Commands
backpumpjack.refill
-- Refresh all quarry resources.backpumpjack.info
-- player need to stand close to the quarry where info is needed. command will display in chat the associated data with datafile and survey crater. command is for diagnostic purpose.
Configuration
What is the PM : PM is Per-Minutes, It means the number of items produced in a quarry in one minute. If PM is 100, it means 100 items are produced in one minute
pM of static quarries:
- Pumpjack: (crude oil PM 28.8) | (low grade fuel PM 81.6)
- HQM quarry: PM 2.25
- Sulfur quarry: PM 45
- Stone quarry: (stone PM 225) | (metal PM 45)
- Universal quarry: (stone PM 150) | (metal PM 9) | (sulfur PM 6) | (hqm PM 0.6)
{
"Apply patch to user quarry to fix long run time": true,
"Apply patch for mining rates for more precise pM config params": false,
"Patch for ladder flyhack": true,
"Patch for light signal when quarry is running": true,
"Maximum stack size for diesel engine (-1 to disable function)": -1,
"Number of slots for diesel storage (-1 to disable function)": -1,
"Number of slots for output storage (-1 to disable function)": -1,
"Time per barrel of diesel in second (-1 to disable function, default time 125 sec)": -1,
"Enable static quarry resource modifier": false,
"refill command name": "backpumpjack.refill",
"Info command name": "backpumpjack.info",
"Reset resource deposit command name": "backpumpjack.reset",
"Search radius for past resource deposit allocation (use 0.0 to disable)": 0.0,
"Items in report list": [
"stones",
"metal.ore",
"metal.fragments",
"hq.metal.ore",
"metal.refined",
"sulfur.ore",
"sulfur",
"lowgradefuel",
"crude.oil"
],
"Settings": {
"Use Discord hook": false,
"Use Discord timestamp": true,
"Discord hook url": "",
"Use Notify plugin": false,
"Debug": false,
"Log to file": false,
"Use Teams": true,
"Use Friends": true,
"Use Clans": false,
"Use clan table": false,
"Block damage another player's survey crater": true,
"Block deploy a quarry on another player's survey crater": true
},
"Chat Settings": {
"Chat Prefix": "<color=#00FFFF>[BackPumpJack]</color>: ",
"Chat SteamID Icon": 0
},
"Permission List": [
{
"Permission": "backpumpjack.use",
"Priority": 0,
"Oil Crater Chance": 20.0,
"Oil Crater Settings": {
"Minimum Mineral Amount": 1,
"Maximum Mineral Amount": 1,
"Allow Duplication Of Mineral Item": false,
"Mineral Items": [
{
"Mineral Item Short Name": "crude.oil",
"Chance": 50.0,
"Minimum pM": 28.8,
"Maximum pM": 28.8
},
{
"Mineral Item Short Name": "lowgradefuel",
"Chance": 50.0,
"Minimum pM": 81.6,
"Maximum pM": 81.6
}
]
},
"Normal Crater Settings": {
"Modify Chance (If not modified, use default mineral)": 10.0,
"Minimum Mineral Amount": 1,
"Maximum Mineral Amount": 2,
"Allow Duplication Of Mineral Item": false,
"Mineral Items": [
{
"Mineral Item Short Name": "stones",
"Chance": 60.0,
"Minimum pM": 100.0,
"Maximum pM": 150.0
},
{
"Mineral Item Short Name": "metal.ore",
"Chance": 50.0,
"Minimum pM": 12.0,
"Maximum pM": 20.0
},
{
"Mineral Item Short Name": "sulfur.ore",
"Chance": 50.0,
"Minimum pM": 12.0,
"Maximum pM": 12.0
},
{
"Mineral Item Short Name": "hq.metal.ore",
"Chance": 50.0,
"Minimum pM": 1.0,
"Maximum pM": 1.5
}
]
}
},
{
"Permission": "backpumpjack.vip",
"Priority": 1,
"Oil Crater Chance": 40.0,
"Oil Crater Settings": {
"Minimum Mineral Amount": 2,
"Maximum Mineral Amount": 2,
"Allow Duplication Of Mineral Item": false,
"Mineral Items": [
{
"Mineral Item Short Name": "crude.oil",
"Chance": 50.0,
"Minimum pM": 38.0,
"Maximum pM": 38.0
},
{
"Mineral Item Short Name": "lowgradefuel",
"Chance": 50.0,
"Minimum pM": 100.0,
"Maximum pM": 100.0
}
]
},
"Normal Crater Settings": {
"Modify Chance (If not modified, use default mineral)": 50.0,
"Minimum Mineral Amount": 1,
"Maximum Mineral Amount": 3,
"Allow Duplication Of Mineral Item": false,
"Mineral Items": [
{
"Mineral Item Short Name": "stones",
"Chance": 60.0,
"Minimum pM": 120.0,
"Maximum pM": 180.0
},
{
"Mineral Item Short Name": "metal.ore",
"Chance": 50.0,
"Minimum pM": 15.0,
"Maximum pM": 25.0
},
{
"Mineral Item Short Name": "sulfur.ore",
"Chance": 50.0,
"Minimum pM": 15.0,
"Maximum pM": 15.0
},
{
"Mineral Item Short Name": "hq.metal.ore",
"Chance": 50.0,
"Minimum pM": 1.5,
"Maximum pM": 2.0
}
]
}
}
],
"Static quarry settings": {
"Stone": {
"Mineral Items": [
{
"Mineral Item Short Name": "stones",
"Resource per minutes (pM)": 2500.0
},
{
"Mineral Item Short Name": "metal.ore",
"Resource per minutes (pM)": 500.0
}
]
},
"HQM": {
"Mineral Items": [
{
"Mineral Item Short Name": "hq.metal.ore",
"Resource per minutes (pM)": 25.0
}
]
},
"Sulfur": {
"Mineral Items": [
{
"Mineral Item Short Name": "sulfur.ore",
"Resource per minutes (pM)": 500.0
}
]
},
"Oil": {
"Mineral Items": [
{
"Mineral Item Short Name": "crude.oil",
"Resource per minutes (pM)": 30.0
},
{
"Mineral Item Short Name": "lowgradefuel",
"Resource per minutes (pM)": 85.0
}
]
}
},
"Permission Admin": "backpumpjack.admin",
"Version": {
"Major": 1,
"Minor": 4,
"Patch": 30
}
}
Oil Crater Chance : 20.0
This is the random chance that a crater will be a crude oil resourcevalue is between 0 and 100.Default config is 20% chance for "backpumpjack.use" permissionand 40% chance for "backpumpjack.vip" permission
Modify Chance (If not modified, use default mineral): 10.0
This is the random chance that a crater will modify resource allocated instead of the default Facepunch resourcevalue is between 0 and 100. 0 mean always use default resourceDefault config is 10% chance for "backpumpjack.use" permissionand 50% chance for "backpumpjack.vip" permission
Minimum Mineral Amount : 1Maximum Mineral Amount : 2
These parameters define the number of different resources mined.The list "Mineral Items" define the resource that can be mined. "Maximum Mineral Amount" should not be larger then the number of items in the "Mineral Items" list
Mineral Items:
Mineal item is a list of item to mine.Mineral Item Short Name: is a shortprefabnameChance: probability to get this resourceMinimum pM: minimum resource availableMaximum pM: maximum resource available
Modify Chance (If not modified, use default mineral)": 10.0
This is the random chance that the ressource will be selected by the parameters above (instead of Vanilla resources). Setting to 100 mean all quarry resources are managed by this plugin
Enable static quarry resource modifier": false
When enable, use the parameters from the "Static quarry settings" section of the configResource type and quatity can be modified for each of the 4 static quarry types"Stone","HQM","Sulfur","Oil"
Localization
{
"NoDamage": "You can't damage another player's survey crater.",
"NoDeploy": "You can't deploy a quarry on another player's survey crater."
}
Credits
glasiore: designed the icon for the plugin. Great man!!!
Arainrr: Previous maintainer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.