"You've not got enough pipes to build that I'm afraid" without permissionFixed

Cant get the permissions working for this unless the user is granted syncpipes.admin

"You've not got enough pipes to build that I'm afraid."

The config file has had this added, and test group has been assigned using permissionsmanager

  "permLevels": {
      "default": {
      	"upgradeLimit": -1,
      	"pipeLimit": 6
      },
      "test": {
      	"upgradeLimit": -1,
      	"pipeLimit": 12
      }
  }

Can you let me know what i am doing wrong here

https://prnt.sc/vgib7u

{
  "filterSizes": [
    0,
    6,
    18,
    30,
    42
  ],
  "flowRates": [
    1,
    5,
    10,
    30,
    50
  ],
  "maxPipeDist": 64.0,
  "minPipeDist": 2.0,
  "noDecay": true,
  "commandPrefix": "p",
  "hotKey": "p",
  "updateRate": 2,
  "xmasLights": true,
  "pipeLimit": 100,
  "upgradeLimit": -1
}



there are no pipes built in the world yet, "use" permissions are set. 

additional info: we had jpipes before and we just removed jpipes and added your plugin.
There appears to be a slight fault with that. Working on it now.

Merged post

Found the issue and released a new version which should fix this.
The pipeLimit and the upgradeLimit must be assigned to permission levels.
{
  "filterSizes": [
    0,
    6,
    18,
    30,
    42
  ],
  "flowRates": [
    1,
    5,
    10,
    30,
    50
  ],
  "maxPipeDist": 64.0,
  "minPipeDist": 2.0,
  "noDecay": true,
  "commandPrefix": "p",
  "hotKey": "p",
  "updateRate": 2,
  "xmasLights": true,
  "permLevels": {
    "level1": {
      "upgradeLimit": 1,
      "pipeLimit": 100
    }
  }
}​
There was also an issue with the permissions which should now be fixed.
Awsome, tested and working now, thanks!

Merged post

another question after this limit is now working correctly with the groups.

Is there any way you can put a timer on the message to go away after say 5 seconds ?
otherwise once the limit is reached, the message appears, and i can't get rid of it without reloading the plugin on the server

Ah there should be a timer on it. Will look into why that isn't working.

Merged post

That should be fixed now.
Hey Joe,

I seem to be having this same issue on your latest release. Keeps saying I don't have enough pipes to build. Any ideas? I'm just moving over to Sync from JPipes.
You need to ensure that at least one permLevel has been added to the config file and the user has been assigned to that permission level.
Locked automatically