Jump to content

upgrading and fuel

Not a Bug 2.0.3

Landon Smith
Landon Smith

Posted

first question how can i make lgf the only fuel source 

2nd  can i make it so people need another quarry to be able to upgrade

 

AvG Лаймон

Posted

23 hours ago, Landon Smith said:

first question how can i make lgf the only fuel source 

remove other ones

 

23 hours ago, Landon Smith said:

can i make it so people need another quarry to be able to upgrade

sure, why not?

Landon Smith

Posted (edited)

how can i do that ?  do i just backspace where it says diesel barrel?

 

"ShortName": "diesel_barrel",
        "SkinID": 0,
        "Amount": 1,
        "How many seconds can quarry work on one consume of this fuel?": 600,
        "Resource production interval on this fuel (seconds)": 120,
        "Gathering resources on this fuel": [
          {
            "Custom name (empty = default)": "",
            "ShortName": "stones",
            "SkinID": 0,
            "Amount": 440,
            "Amount max": 440,
            "Probability [0.0-100.0]": 100,
            "Do not use permission rates": false

Edited by Landon Smith
AvG Лаймон

Posted (edited)

{
  "Enable this quarry?": true,
  "Quarry custom name": "Personal Quarry",
  "Quarry SkinID": 3187637123,
  "Structure": {
    "Health points": 2500.0,
    "Protection percentage [0.0-100.0] (100 = immortal)": 0.0
  },
  "Remove": {
    "Enable remove?": true,
    "Enable refund?": true,
    "Refund item list": [
      {
        "Custom name (empty = default)": "Personal Quarry",
        "ShortName": "furnace.large",
        "SkinID": 3187637123,
        "Amount": 1
      }
    ]
  },
  "Upgrade": {
    "SkinID of the upgraded quarry (0 = disable upgrades)": 3185891808,
    "Upgrade cost": [
      {
        "ShortName": "wood",
        "SkinID": 0,
        "Amount": 12000
      },
      {
        "ShortName": "stones",
        "SkinID": 0,
        "Amount": 6000
      },
      {
        "ShortName": "metal.fragments",
        "SkinID": 0,
        "Amount": 500
      },
      {
        "ShortName": "metal.refined",
        "SkinID": 0,
        "Amount": 10
      },
      {
        "ShortName": "leather",
        "SkinID": 0,
        "Amount": 100
      },
      {
        "ShortName": "carburetor3",
        "SkinID": 0,
        "Amount": 1
      },
      {
        "ShortName": "scrap",
        "SkinID": 0,
        "Amount": 650
      },
      {
        "ShortName": "rope",
        "SkinID": 0,
        "Amount": 5
      },
      {
        "ShortName": "sheetmetal",
        "SkinID": 0,
        "Amount": 5
      },
      {
        "ShortName": "tarp",
        "SkinID": 0,
        "Amount": 5
      }
    ]
  },
  "Inventory": {
    "Resource container capacity": 6,
    "Fuel container capacity": 1
  },
  "Protection from other players": {
    "Only owner can toggle?": true,
    "Only owner can loot?": true,
    "Include his team?": true
  },
  "Repair": {
    "Allow repair with hammer hit?": true,
    "Unable to repair X seconds after taking damage": 30.0,
    "Repair amount for hit": 100.0,
    "Enable cost?": true,
    "Repair cost": [
      {
        "ShortName": "metal.fragments",
        "SkinID": 0,
        "Amount": 500
      }
    ]
  },
  "Prefab substitution": {
    "Use prefab substitution?": true,
    "This is a quarry (true) or pumpjack (false) ?": true,
    "ShortName of the item from which we create a quarry": "furnace.large",
    "Minimum distance from player to quarry (when installed)": 3.0,
    "Minimum distance from quarry to constructions (when installed)": 17.0,
    "Additional height setting (when installed)": -2.0
  },
  "Production": {
    "List of the fuel used and its production settings": [
      {
        "ShortName": "lowgradefuel",
        "SkinID": 0,
        "Amount": 50,
        "How many seconds can quarry work on one consume of this fuel?": 60.0,
        "Resource production interval on this fuel (seconds)": 60.0,
        "Gathering resources on this fuel": [
          {
            "Custom name (empty = default)": "",
            "ShortName": "stones",
            "SkinID": 0,
            "Amount": 100,
            "Amount max": 100,
            "Probability [0.0-100.0]": 100.0,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "metal.ore",
            "SkinID": 0,
            "Amount": 70,
            "Amount max": 70,
            "Probability [0.0-100.0]": 100.0,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "sulfur.ore",
            "SkinID": 0,
            "Amount": 50,
            "Amount max": 50,
            "Probability [0.0-100.0]": 100.0,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "hq.metal.ore",
            "SkinID": 0,
            "Amount": 10,
            "Amount max": 10,
            "Probability [0.0-100.0]": 10.0,
            "Do not use permission rates": false
          }
        ]
      }
    ]
  }
}

Just delete other fuel blocks from pont to point. Like in any other plugin. Here is an example.

Edited by AvG Лаймон
Landon Smith

Posted

thank you so much for the help 

i am new at this

Landon Smith

Posted

so i am getting this error 

[aQuarry] The configuration does not contain a quarry with this «SkinID»

(08:50:04) | Unloaded plugin aQuarry v2.0.3 by AvG Лаймон

(08:50:04) | Loaded plugin aQuarry v2.0.3 by AvG Лаймон

 

this is what i am using 

 

{
  "Enable this quarry?": true,
  "Quarry custom name": "Personal Quarry",
  "Quarry SkinID": 3187637123,
  "Structure": {
    "Health points": 2500,
    "Protection percentage [0.0-100.0] (100 = immortal)": 0
  },
  "Remove": {
    "Enable remove?": true,
    "Enable refund?": true,
    "Refund item list": [
      {
        "Custom name (empty = default)": "Personal Quarry",
        "ShortName": "furnace.large",
        "SkinID": 3187637123,
        "Amount": 1
      }
    ]
  },
  "Upgrade": {
    "SkinID of the upgraded quarry (0 = disable upgrades)": 3185891808,
    "Upgrade cost": [
      {
        "ShortName": "wood",
        "SkinID": 0,
        "Amount": 12000
      },
      {
        "ShortName": "stones",
        "SkinID": 0,
        "Amount": 6000
      },
      {
        "ShortName": "metal.fragments",
        "SkinID": 0,
        "Amount": 500
      },
      {
        "ShortName": "metal.refined",
        "SkinID": 0,
        "Amount": 10
      },
      {
        "ShortName": "leather",
        "SkinID": 0,
        "Amount": 100
      },
      {
        "ShortName": "carburetor3",
        "SkinID": 0,
        "Amount": 1
      },
      {
        "ShortName": "scrap",
        "SkinID": 0,
        "Amount": 650
      },
      {
        "ShortName": "rope",
        "SkinID": 0,
        "Amount": 5
      },
      {
        "ShortName": "sheetmetal",
        "SkinID": 0,
        "Amount": 5
      },
      {
        "ShortName": "tarp",
        "SkinID": 0,
        "Amount": 5
      }
    ]
  },
  "Inventory": {
    "Resource container capacity": 6,
    "Fuel container capacity": 1
  },
  "Protection from other players": {
    "Only owner can toggle?": true,
    "Only owner can loot?": true,
    "Include his team?": true
  },
  "Repair": {
    "Allow repair with hammer hit?": true,
    "Unable to repair X seconds after taking damage": 30,
    "Repair amount for hit": 100,
    "Enable cost?": true,
    "Repair cost": [
      {
        "ShortName": "metal.fragments",
        "SkinID": 0,
        "Amount": 500
      }
    ]
  },
  "Prefab substitution": {
    "Use prefab substitution?": true,
    "This is a quarry (true) or pumpjack (false) ?": true,
    "ShortName of the item from which we create a quarry": "furnace.large",
    "Minimum distance from player to quarry (when installed)": 3,
    "Minimum distance from quarry to constructions (when installed)": 17,
    "Additional height setting (when installed)": -2
  },
  "Production": {
    "List of the fuel used and its production settings": [
      {
        "ShortName": "lowgradefuel",
        "SkinID": 0,
        "Amount": 50,
        "How many seconds can quarry work on one consume of this fuel?": 60,
        "Resource production interval on this fuel (seconds)": 60,
        "Gathering resources on this fuel": [
          {
            "Custom name (empty = default)": "",
            "ShortName": "stones",
            "SkinID": 0,
            "Amount": 100,
            "Amount max": 100,
            "Probability [0.0-100.0]": 100,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "metal.ore",
            "SkinID": 0,
            "Amount": 70,
            "Amount max": 70,
            "Probability [0.0-100.0]": 100,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "sulfur.ore",
            "SkinID": 0,
            "Amount": 50,
            "Amount max": 50,
            "Probability [0.0-100.0]": 100,
            "Do not use permission rates": false
          },
          {
            "Custom name (empty = default)": "",
            "ShortName": "hq.metal.ore",
            "SkinID": 0,
            "Amount": 10,
            "Amount max": 10,
            "Probability [0.0-100.0]": 10,
            "Do not use permission rates": false
          }
        ]
      }
    ]
  }
}

 

 

AvG Лаймон

Posted

You get this error when you try to give a quarry via the console command with skin that you don't have in the configuration
This is a technical support section, its for bugs, not for learning how to operate your server 

Landon Smith

Posted

this is the skin id you have listed in the json files   and when someone buys item from shop it isnt  showing the pumpjack or quarry

skinned at all     

and if you read all the posts in here you will see alot of other people have the same problem

 

 

AvG Лаймон

Posted

Read documentation
Learn how to use commands and what skins are
This reply told you that you entered skin id that are not exist in config
[aQuarry] The configuration does not contain a quarry with this «SkinID»
Check your command. Make sure that your command use skin from your config "Quarry SkinID": 3187637123,
It shoud be like that
quarry.give «SteamID» 3187637123
And this skin has no additional image
https://steamcommunity.com/sharedfiles/filedetails/?id=3187637123
Just default image for lvl 0 quarry. But you could check it yourself.
And this is just an example of config. You can use your own skins.

Landon Smith

Posted

thank you

i am sorry for being a pain in the ass 

i am new to all this

1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

118k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • 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.