Jump to content

hi would you be able to help

Pending 2.4.7

rustmmopve
rustmmopve

Posted (edited)

hi, thank you for the quarry update, how would i add these 2 permissions. I know this is wrong, but if you could help me that would be great 

 

image.png

Edited by rustmmopve
rustmmopve

Posted

a friend of mine said you can only have 1 permission which sucks if that's the case, i assume you can add more than 1 permissions right?

ThePitereq

Posted

why do you need more than one permission? you can just assign same perm to 2 groups

rustmmopve

Posted

because my vip platinum can use 2 quarries/pumpjack and my vip legend can use 3 of each. and of course non vip can only use 1. But only the vips can upgrade their quarries if that makses sense.  So i would need seperate perms right? Sorry i am new to this.

ThePitereq

Posted

you can just create new permission for that, you don't need to use already created one

rustmmopve

Posted

how would i be able to do that on the config of vq?

ThePitereq

Posted

just make the perm like virtualquarries.upgrade1, virtualquarries.upgrade2, virtualquarries.upgrade3 etc.

rustmmopve

Posted

hey i understand, but not sure how to implement this on the config. Sorry i am new to this stuff 😞

rustmmopve

Posted

i created a new permission called vqupgradelegend gave myself that perm along with the vip legend permission, used the vqupgrade on virtual quarries to access viplegend, but it is saying I don't have the permissions to upgrade even though i have the right perms 😞 I am so confused right now 

rustmmopve

Posted (edited)

{
  "Command List": [
    "vq"
  ],
  "UI Action Cooldown (in seconds, 0 to disable)": 0,
  "Enable Console Logs": true,
  "PopUpAPI - Preset Name": "Legacy",
  "Override Custom Skinned Items With Steam Icons (no URLs needed)": false,
  "Additional Steam Image Download": false,
  "Require Permission For Use": true,
  "Lock Access To Quarry Profiles If Lost Permission": true,
  "Check For Quarry Amount Permission (option above must be set to true to work)": false,
  "OnEntityTakeDamage Return Value": false,
  "Mining Quarry/Pump Jack Limit Permissions": {
    "virtualquarries.default": {
      "pumpjack": 1,
      "quarry": 1
    },
    "virtualquarries.viplegend": {
      "pumpjack": 3,
      "quarry": 3
    },
    "virtualquarries.vipplatinum": {
      "pumpjack": 2,
      "quarry": 2
    }
  },
  "Sharing - Require Permission": true,
  "Sharing - Remove Members If Owner Offline More Than X Days (0, to disable)": 0,
  "Sharing - Share Only To Teammates": false,
  "Data - Enable Data Wipe On Server Wipe": false,
  "Data - Store Container Data In File And Restore On Server Wipe": false,
  "Data - Store Container Interval (in seconds)": 1800,
  "Quarry Tick (how often quarries dig resources, in seconds)": 60,
  "Static Quarry Tick (how often quarries dig resources, in seconds)": 60,
  "Excavator Quarry Tick (how often quarries dig resources, in seconds)": 60,
  "Storage Prefab": "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab",
  "Sound - Start Sound": "assets/prefabs/npc/autoturret/effects/online.prefab",
  "Sound - Stop Sound": "assets/prefabs/npc/autoturret/effects/offline.prefab",
  "Listed Quarries Permissions Font Size": 20,
  "Survey Charge - Allow Throwing Survey Charges": true,
  "Survey Charget Types": {
    "survey": {
      "Effect Path": "assets/bundled/prefabs/fx/survey_explosion.prefab",
      "Required Permission (empty, if not required)": "",
      "Chance For Resources (0-100)": 75,
      "Displayed Survey Title Translation Key": "SurveyCharge",
      "Required Item": {
        "Shortname": "surveycharge",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      }
    }
  },
  "Upgrades - Used Economy Plugin (0 - None, See Website For More Info)": 2,
  "Upgrades - Economy Currency (If Economy Plugin Is 5 - ShoppyStock)": "rp",
  "Removing Quarries - Refund Items": true,
  "Removing Quarries - Refund Upgrades": false,
  "Go Back Button - Position (1-2)": 1,
  "Upgrade UI - Responsive Position": true,
  "Static Quarries - Enable": false,
  "Static Quarries - Disable Running Effect": false,
  "Static Quarries - Check For Running Before Fuel Consume": false,
  "Excavator Quarry - Enable": false,
  "Excavator Quarry - Lock Air Drops": false,
  "Excavator Quarry - Resource Container Size": 18,
  "Excavator Quarry - Fuel Container Size": 6,
  "Static Quarries - Quarry Requires Permission": false,
  "Static Quarries - Pump Jack Requires Permission": false,
  "Static Quarries - Excavator Requires Permission": false,
  "Static Quarries - Resource Container Size": 18,
  "Static Quarries - Fuel Container Size": 6,
  "Static Quarries - Fuel Item": {
    "Shortname": "diesel_barrel",
    "Skin": 0,
    "Amount": 1,
    "Display Name": null,
    "Icon URL": null
  },
  "Excavator Quarry - Fuel Item": {
    "Shortname": "diesel_barrel",
    "Skin": 0,
    "Amount": 1,
    "Display Name": null,
    "Icon URL": null
  },
  "Static Quarries - Metal Quarry Output": [
    {
      "Shortname": "stones",
      "Skin": 0,
      "Amount Per Tick": 150,
      "Display Name": ""
    },
    {
      "Shortname": "metal.ore",
      "Skin": 0,
      "Amount Per Tick": 22.5,
      "Display Name": ""
    }
  ],
  "Static Quarries - Sulfur Quarry Output": [
    {
      "Shortname": "sulfur.ore",
      "Skin": 0,
      "Amount Per Tick": 22.5,
      "Display Name": ""
    }
  ],
  "Static Quarries - HQM Quarry Output": [
    {
      "Shortname": "hq.metal.ore",
      "Skin": 0,
      "Amount Per Tick": 1.5,
      "Display Name": ""
    }
  ],
  "Static Quarries - Pump Jack Output": [
    {
      "Shortname": "crude.oil",
      "Skin": 0,
      "Amount Per Tick": 18,
      "Display Name": ""
    }
  ],
  "Static Quarries - Excavator Outputs": {
    "HQM": [
      {
        "Shortname": "hq.metal.ore",
        "Skin": 0,
        "Amount Per Tick": 50,
        "Display Name": ""
      }
    ],
    "Metal": [
      {
        "Shortname": "metal.fragments",
        "Skin": 0,
        "Amount Per Tick": 2000,
        "Display Name": ""
      }
    ],
    "Stone": [
      {
        "Shortname": "stones",
        "Skin": 0,
        "Amount Per Tick": 5000,
        "Display Name": ""
      }
    ],
    "Sulfur": [
      {
        "Shortname": "sulfur.ore",
        "Skin": 0,
        "Amount Per Tick": 1000,
        "Display Name": ""
      }
    ]
  },
  "Quarry Profiles": {
    "pumpjack": {
      "Required Permission (empty, if not required)": "",
      "Displayed Icon": {
        "Shortname": "mining.pumpjack",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      },
      "Survey Type": "survey",
      "Displayed Quarry Title Translation Key": "PumpjackTitle",
      "Chance": 5,
      "Minimal Resources Per Node": 1,
      "Maximal Resources Per Node": 2,
      "Fuel Required Per Tick": {
        "Shortname": "diesel_barrel",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": null
      },
      "Enable Upgrades": true,
      "Items Required To Place": [
        {
          "Shortname": "mining.pumpjack",
          "Skin": 0,
          "Amount": 1,
          "Display Name": null,
          "Icon URL": ""
        }
      ],
      "Resources": {
        "crude": {
          "Output Item - Shortname": "crude.oil",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": true,
          "Required Permission (empty if not required)": "",
          "Chance": 0,
          "Minimal Output Per Tick": 118,
          "Maximal Output Per Tick": 118,
          "Additional Items Required To Place": []
        }
      },
      "Upgrades": [
        {
          "Required Items": [],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 0,
          "Fuel Storage Capacity": 6,
          "Capacity": 12,
          "Gather Multiplier": 1,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 50000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 10000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 100,
          "Fuel Storage Capacity": 8,
          "Capacity": 14,
          "Gather Multiplier": 1.25,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 100000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 20000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 200,
          "Fuel Storage Capacity": 10,
          "Capacity": 16,
          "Gather Multiplier": 1.5,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 150000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 30000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 300,
          "Fuel Storage Capacity": 12,
          "Capacity": 18,
          "Gather Multiplier": 1.75,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 200000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 40000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 400,
          "Fuel Storage Capacity": 14,
          "Capacity": 20,
          "Gather Multiplier": 2,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        }
      ]
    },
    "quarry": {
      "Required Permission (empty, if not required)": "",
      "Displayed Icon": {
        "Shortname": "mining.quarry",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      },
      "Survey Type": "survey",
      "Displayed Quarry Title Translation Key": "QuarryTitle",
      "Chance": 25,
      "Minimal Resources Per Node": 1,
      "Maximal Resources Per Node": 2,
      "Fuel Required Per Tick": {
        "Shortname": "diesel_barrel",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": null
      },
      "Enable Upgrades": true,
      "Items Required To Place": [
        {
          "Shortname": "mining.quarry",
          "Skin": 0,
          "Amount": 1,
          "Display Name": null,
          "Icon URL": ""
        }
      ],
      "Resources": {
        "stone": {
          "Output Item - Shortname": "stones",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": true,
          "Required Permission (empty if not required)": "",
          "Chance": 0,
          "Minimal Output Per Tick": 5000,
          "Maximal Output Per Tick": 5000,
          "Additional Items Required To Place": []
        },
        "metal": {
          "Output Item - Shortname": "metal.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "",
          "Chance": 30,
          "Minimal Output Per Tick": 1000,
          "Maximal Output Per Tick": 1000,
          "Additional Items Required To Place": []
        },
        "sulfur": {
          "Output Item - Shortname": "sulfur.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "",
          "Chance": 20,
          "Minimal Output Per Tick": 1000,
          "Maximal Output Per Tick": 1000,
          "Additional Items Required To Place": []
        },
        "hq": {
          "Output Item - Shortname": "hq.metal.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "",
          "Chance": 10,
          "Minimal Output Per Tick": 50,
          "Maximal Output Per Tick": 50,
          "Additional Items Required To Place": []
        }
      },
      "Upgrades": [
        {
          "Required Items": [],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 0,
          "Fuel Storage Capacity": 6,
          "Capacity": 12,
          "Gather Multiplier": 1,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 50000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 10000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 100,
          "Fuel Storage Capacity": 8,
          "Capacity": 14,
          "Gather Multiplier": 1.25,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 100000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 20000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 200,
          "Fuel Storage Capacity": 10,
          "Capacity": 16,
          "Gather Multiplier": 1.5,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 150000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 30000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 300,
          "Fuel Storage Capacity": 12,
          "Capacity": 18,
          "Gather Multiplier": 1.75,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 200000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 40000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Permission To Upgrade": "virtualquarries.vqupgrade",
          "Required Currency (0 to disable)": 400,
          "Fuel Storage Capacity": 14,
          "Capacity": 20,
          "Gather Multiplier": 2,
          "Fuel Usage Multiplier": 1,
          "Additional Resources (Resources keys)": []
        }
      ]
    }
  }
}

Edited by rustmmopve
rustmmopve

Posted (edited)

all i want is for my vips to only upgrade and non vips to not upgrade basically haha hence why I gave the new perm (vqupgrade). But seems like it's an easy fix but i am not clever enough to sort it out 😞

Edited by rustmmopve
ThePitereq

Posted

this should work, just assign virtualquarries.vqupgrade perm to your vip group and it should work as you want

rustmmopve

Posted

yeah i done that and when i tried to upgrade even as a vip to test, i got the pop up saying I don't have the required permissions 😞

ThePitereq

Posted

Yeah, sorry, wasn't available through weekend. I've been testing that on the friday and everything worked for me, not sure where you have an issue.

rustmmopve

Posted (edited)

image.png.c7c01b148ed7b093b4176aa757e33194.pngthis is what i get..image.png.01f1412873024afcaa45bef87e4bb8e6.png

Edited by rustmmopve
rustmmopve

Posted

can you please help as i am waiting to let players know they can use vq :(, been like a week since you last replied.

ThePitereq

Posted

On 10/22/2024 at 3:20 PM, rustmmopve said:

can you please help as i am waiting to let players know they can use vq :(, been like a week since you last replied.

hey, sorry, investigated the problem once more and i realised i had some different development version of vq on my server and when i loaded the one from cf i have the same problem and already found the issue. Will push the update today. I am very sorry for waiting.

rustmmopve

Posted

thank you, will check this out later on.

 

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.