Jump to content

Feature request - add permission

Closed 1.2.91 1.2.92

BetterDeadThanZed
BetterDeadThanZed

Posted

Could you add a permission, where if the player has the permission, Tiers Mode is completely disabled for them? They get no notifications, no /tier command, etc? I am trying to set up my server so that the plugins that affect a player depends on an Oxide group. 

BetterDeadThanZed

Posted

I also believe I found a bug.

Current tier mode prevents placing of any tier workbench. The correct message appears when trying to place a workbench. "Blocked Placement"

If the player has permission bypass.block_place_all_workbench and they try to place the workbench during this period, the workbench vanishes when placed.

ninco90

Posted

How do you have the configuration for the workbench placement?

BetterDeadThanZed

Posted

1 hour ago, ninco90 said:

How do you have the configuration for the workbench placement?

      "Workbench": {
        "Allow research from Workbench": true,
        "Allow Place All Workbench": false,
        "Allow placing only the following workbenches": [
          "assets/prefabs/deployable/tier 1 workbench/workbench1.deployed.prefab",
          "assets/prefabs/deployable/tier 2 workbench/workbench2.deployed.prefab",
          "assets/prefabs/deployable/tier 3 workbench/workbench3.deployed.prefab"
        ]
      },

 

ninco90

Posted

If you want to allow players to place any type of workbench, you should ideally set this to true:
"Allow Place All Workbench": false,

Also make sure you don't lock it as an item in any tier. Otherwise it won't let you put it on the player's belt.

BetterDeadThanZed

Posted

I don't think you understand the problem.

I was testing the plugin. I disabled T3 workbench from being placed in the config. I tried placing one and it worked correctly. It wouldn't let me place it. Then I gave myself the permission bypass.block_place_all_workbench so that I could test the permission to be sure it works. When I had the permission and I tried to place the workbench, the workbench disappeared. I should have been able to place it. That's the point of the permission, to bypass the config for specific players.

ninco90

Posted

I think I've patched it, contact me privately and I'll send you the edited plugin so you can try it and confirm if your problem has been solved.

ninco90

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.5m

Downloads

Total number of downloads.

7.3k

Customers

Total customers served.

108.5k

Files Sold

Total number of files sold.

2.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.