Jump to content
eov-dev

Posted

Hi, 

Thanks again for your great plugin!

 

I have some problem with the permissions to automate Quarries and Pumpjacks: it seems like the two permissions "industrial.miningquarry" and "industrial.pumpjack" have no effect. I have some profiles set up with a limit of how many quarries/pumpjacks can have storage adaptors, but I only want my players to be able to put those on IF they have these permissions.

Thanks for your help

Scalbox

Posted

send your configuration

eov-dev

Posted

Sent by private message, thanks for your help 🙂

Scalbox

Posted (edited)

hi

Run these commands in the console and then send me the console output.

oxide.show perm ultimateindustrialfarm.use
oxide.show perm ultimateindustrialfarm.industrial.miningquarry
oxide.show perm ultimateindustrialfarm.industrial.pumpjack
oxide.show perm ultimateindustrialfarm.auto_attach.storage_adaptor.miningquarry
oxide.show perm ultimateindustrialfarm.auto_attach.storage_adaptor.pumpjack

PS: I remind you that the system only works for mining quarries that have an owner, an associated steamid, otherwise it doesn't work

Edited by Scalbox
eov-dev

Posted

Hi, here are the results:


Permission 'ultimateindustrialfarm.auto_attach.storage_adaptor.miningquarry' Players: No players with this permission Permission 'ultimateindustrialfarm.auto_attach.storage_adaptor.miningquarry' Groups: No groups with this permission

Permission 'ultimateindustrialfarm.industrial.miningquarry' Players: **Some players here** Permission 'ultimateindustrialfarm.industrial.miningquarry' Groups: No groups with this permission

Permission 'ultimateindustrialfarm.use' Players: No players with this permission Permission 'ultimateindustrialfarm.use' Groups: default

 

eov-dev

Posted

To add to my previous message: the quarries do have owners. I am using two other plugins interacting with quarries and pumpjacks: Quarry Levels (they change the skinid of the item I believe, don't know if that changes anything) and Quarry Lock (from umod) that adds locks to quarries/pumpjack (but not automatically and the problem still appears even before locks are put on).

All I want is for my players to not be able to automate quarries until they get the industrial.quarry (or industrial.pumpjack) permission, it's strange that the default behavior is to authorise automation.

Thanks again for your help

Scalbox

Posted

You haven't run all the commands, and I need you to send me the console output.

oxide.show perm ultimateindustrialfarm.use
oxide.show perm ultimateindustrialfarm.industrial.miningquarry
oxide.show perm ultimateindustrialfarm.industrial.pumpjack
oxide.show perm ultimateindustrialfarm.auto_attach.storage_adaptor.miningquarry
oxide.show perm ultimateindustrialfarm.auto_attach.storage_adaptor.pumpjack

Censor whatever you want, but the output must be from the console, and I don't see all the commands executed.

eov-dev

Posted

I ran all the commands. These are the console outputs.
I only showed for mining quarry, the two outputs that are "missing" are for pumpjacks, which give the exact same result as the ones for mining quarries, so you really don't need anything else.

Permission 'ultimateindustrialfarm.industrial.pumpjack' Players: **some players here** Permission 'ultimateindustrialfarm.industrial.pumpjack' Groups: No groups with this permission
 

Permission 'ultimateindustrialfarm.auto_attach.storage_adaptor.pumpjack' Players: No players with this permission Permission 'ultimateindustrialfarm.auto_attach.storage_adaptor.pumpjack' Groups: No groups with this permission

Scalbox

Posted (edited)

run also

oxide.show perm ultimateindustrialfarm.eleveur5
oxide.show perm ultimateindustrialfarm.eleveur4
oxide.show perm ultimateindustrialfarm.eleveur3
oxide.show perm ultimateindustrialfarm.eleveur2
oxide.show perm ultimateindustrialfarm.eleveur
oxide.show perm ultimateindustrialfarm.cultivateur5
oxide.show perm ultimateindustrialfarm.cultivateur4
oxide.show perm ultimateindustrialfarm.cultivateur4
oxide.show perm ultimateindustrialfarm.cultivateur3
oxide.show perm ultimateindustrialfarm.cultivateur2
oxide.show perm ultimateindustrialfarm.cultivateur
oxide.show perm ultimateindustrialfarm.default
 

You created these groups and set the limit to a maximum of 1 Mining Quarry and 1 Pump Jack that storage adapters can have, so you may have exceeded the limit.

A video would be helpful if you can.

Because the plugin works without any issues, your problem is currently unrepeatable.

Edited by Scalbox

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3m
Total downloads
Customers
12k
Customers served
Files Sold
170.9k
Total sales
Payments
3.7m
Processed total
×
×
  • 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.