Config not holding up.

I have created 5 permission groups, one for each of the resources. 

When you place a quarry down on a metal crater, my players are still getting stone with it even though I have it set that you get only 1 material.

Is it not possible to give only 1 item?

      "Permission": "backpumpjack.metal",
      "Priority": 1,
      "Oil Crater Chance": 0,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 0,
        "Maximum Mineral Amount": 0,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 0,
            "Minimum pM": 0,
            "Maximum pM": 0
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 0,
            "Minimum pM": 0,
            "Maximum pM": 0
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 60,
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "metal.ore",
            "Chance": 100,
            "Minimum pM": 350,
            "Maximum pM": 375
          }
        ]
      }
    },

Yes, you can give only 1 item.
you should set this parameter to 100 .   Now you have 60% chance to use your setting and 40% to use FP default resources

"Modify Chance (If not modified, use default mineral)": 100,

Iq21dlQIlYnlQTl.jpg Lorenzo

Yes, you can give only 1 item.
you should set this parameter to 100 .   Now you have 60% chance to use your setting and 40% to use FP default resources

"Modify Chance (If not modified, use default mineral)": 100,

Ahh I thought that was for the chance in finding a metal node.

I use Skill Tree, and have made a custom skill with 5 levels (and permissions to it). I want people to be able to level up and each time have the ability to get better and better nodes. It goes Stone, Metal, Sulfur, HQM, Oil.

They all have the same priority so that it's random, and I thought that chance was just to find the node.

I assume that if I set that to 100, then I'll have to do that with everyone of them, and that would make it equal chances of finding oil over stone too?

 

{
  "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",
  "Settings": {
    "Use Teams": true,
    "Use Friends": true,
    "Use Clans": false,
    "Use clan table": false,
    "Block damage another player's survey crater": false,
    "Block deploy a quarry on another player's survey crater": false
  },
  "Chat Settings": {
    "Chat Prefix": "<color=#00FFFF>[QuarryMaster]</color>: ",
    "Chat SteamID Icon": 0
  },
  "Permission List": [
    {
      "Permission": "backpumpjack.stone",
      "Priority": 1,
      "Oil Crater Chance": 0,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 0,
        "Maximum Mineral Amount": 0,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 0,
            "Minimum pM": 28.8,
            "Maximum pM": 28.8
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 0,
            "Minimum pM": 81.6,
            "Maximum pM": 81.6
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 80,
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "stones",
            "Chance": 100,
            "Minimum pM": 1800,
            "Maximum pM": 1875
          }
        ]
      }
    },
    {
      "Permission": "backpumpjack.metal",
      "Priority": 1,
      "Oil Crater Chance": 0,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 0,
        "Maximum Mineral Amount": 0,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 0,
            "Minimum pM": 38,
            "Maximum pM": 38
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 0,
            "Minimum pM": 100,
            "Maximum pM": 100
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 60,
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "metal.ore",
            "Chance": 100,
            "Minimum pM": 350,
            "Maximum pM": 375
          }
        ]
      }
    },
    {
      "Permission": "backpumpjack.sulfur",
      "Priority": 1,
      "Oil Crater Chance": 0,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": true,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 0,
            "Minimum pM": 45,
            "Maximum pM": 45
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 0,
            "Minimum pM": 120,
            "Maximum pM": 120
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 40,
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": true,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "sulfur.ore",
            "Chance": 100,
            "Minimum pM": 350,
            "Maximum pM": 375
          }
        ]
      }
    },
    {
      "Permission": "backpumpjack.hqm",
      "Priority": 1,
      "Oil Crater Chance": 0,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 0,
        "Maximum Mineral Amount": 0,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 0,
            "Minimum pM": 40,
            "Maximum pM": 40
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 0,
            "Minimum pM": 110,
            "Maximum pM": 110
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 20,
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": false,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "hq.metal.ore",
            "Chance": 100,
            "Minimum pM": 15,
            "Maximum pM": 19
          }
        ]
      }
    },
    {
      "Permission": "backpumpjack.oil",
      "Priority": 1,
      "Oil Crater Chance": 5,
      "Oil Crater Settings": {
        "Minimum Mineral Amount": 1,
        "Maximum Mineral Amount": 1,
        "Allow Duplication Of Mineral Item": true,
        "Mineral Items": [
          {
            "Mineral Item Short Name": "crude.oil",
            "Chance": 50,
            "Minimum pM": 20,
            "Maximum pM": 23
          },
          {
            "Mineral Item Short Name": "lowgradefuel",
            "Chance": 50,
            "Minimum pM": 60,
            "Maximum pM": 64
          }
        ]
      },
      "Normal Crater Settings": {
        "Modify Chance (If not modified, use default mineral)": 0,
        "Minimum Mineral Amount": 0,
        "Maximum Mineral Amount": 0,
        "Allow Duplication Of Mineral Item": true,
        "Mineral Items": []
      }
    }
  ],
  "Static quarry settings": {
    "Stone": {
      "Mineral Items": [
        {
          "Mineral Item Short Name": "stones",
          "Resource per minutes (pM)": 2500
        },
        {
          "Mineral Item Short Name": "metal.ore",
          "Resource per minutes (pM)": 500
        }
      ]
    },
    "HQM": {
      "Mineral Items": [
        {
          "Mineral Item Short Name": "hq.metal.ore",
          "Resource per minutes (pM)": 25
        }
      ]
    },
    "Sulfur": {
      "Mineral Items": [
        {
          "Mineral Item Short Name": "sulfur.ore",
          "Resource per minutes (pM)": 500
        }
      ]
    },
    "Oil": {
      "Mineral Items": [
        {
          "Mineral Item Short Name": "crude.oil",
          "Resource per minutes (pM)": 30
        },
        {
          "Mineral Item Short Name": "lowgradefuel",
          "Resource per minutes (pM)": 85
        }
      ]
    }
  },
  "Permission Admin": "backpumpjack.admin",
  "Version": {
    "Major": 1,
    "Minor": 4,
    "Patch": 25
  }
}​

>> I assume that if I set that to 100, then I'll have to do that with everyone of them, and that would make it equal chances of finding oil over stone too?
the probability of finding oil is control by this parameter   "Oil Crater Chance": 0,  ( 0% chance in this case )

"Modify Chance (If not modified, use default mineral)"  other then 100 can be confusing because you get resource not controled by the plugin. that can make you think the plugin is not working.

>> They all have the same priority so that it's random,
multiple permission with same priority, the plugin will always use the last one in the list
"backpumpjack.oil" in this case and you get 5% chance of oil  and 95% chance of having default FP resources

Iq21dlQIlYnlQTl.jpg Lorenzo

>> I assume that if I set that to 100, then I'll have to do that with everyone of them, and that would make it equal chances of finding oil over stone too?
the probability of finding oil is control by this parameter   "Oil Crater Chance": 0,  ( 0% chance in this case )

"Modify Chance (If not modified, use default mineral)"  other then 100 can be confusing because you get resource not controled by the plugin. that can make you think the plugin is not working.

>> They all have the same priority so that it's random,
multiple permission with same priority, the plugin will always use the last one in the list
"backpumpjack.oil" in this case and you get 5% chance of oil  and 95% chance of having default FP resources

Thank you so much for getting back to me with  a great explanation.

So from what you say, it's not possible to have this plugin do what I've thought of:
- If there are different priorities, it will use only the highest,
- If I have the same priority it will use only the last on the list.

Ah well, back to the drawing board haha! 

Thank you so much for your time and help walking me through this.