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
eov-dev

Posted

I think you misunderstand my problem. The problem is NOT that the players can't place storage adaptors. They can place them without any problem. The issue I face is that even players WITHOUT the industrial.miningquarry permission can place these adaptors. I want only players who have industrial.miningquarry permission to be able to automate quarries (and same with pumpjacks) regardless of the limit amount of groups.

My guess is that group limits overwrite the need to have the permission industrial.miningquarry. But my groups have other purposes (for automating animals and plants) and I still want all players to have a limit of 1 to quarry and pumpjacks. The permission industrial.miningquarry is given in another way than the groups. If I put a limit of 0 to a group all groups except for default, players can't place storage adaptors, even if they have the industrial.minginquarry permission if they are in any other group (even tough the limit for group "default" is set to 1). If all groups' limits are set to 0 no one can place storage adaptors, even with the permission industrial.miningquarry. And as soon as I set a limit > 0 to any group, any player in that group can place a storage adaptor even if they don't have the industrial.miningquarry permission. So there seem to be an incompatibility between that permission and group limits (but I might be completly wrong)

For the groups:
- everyone is in default
- some players gain access to the other groups throughout the wipe

The limit is set to 1 because I want it to be limited to one quarry and one pumpjack per player. 

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.