Hello,
I am not able to grant permission for the players to use this mod. I am able to use the admin permission but when I try to do "oxide.grant group default syncpipes.level.5" it says the permission doesn't exist. What permission do I need to grant for everyone to be able to use pipes up to high quality?
Permission syncpipes.level.5 not workingSolved
Prmissions need to be set in the config file under permLevels.
{
...
"xmasLights": false,
"permLevels": {
// "newLevel":{
// "upgradeLimit": 0 - twigs, 1 - Wood, 2 - stone, 3 - metal, 4 - high quality, -1 - unlimited (high quality)
// "pipeLimit": -1 - unlimited, or the number of pipes that can be built
// },
"level1": {
"upgradeLimit": 1, // This allows pipes to be upgraded to wood.
"pipeLimit": 25 // This allows the player a maximum of 25 pipes.
},
"level2": {
"upgradeLimit": -1, // This allows pipes to be upgraded all the way to high quality metal.
"pipeLimit": -1 // This allows the player to build an unlimited number of pipes.
}
}
}More information can be found here: https://umod.org/plugins/sync-pipes#configuration-file
Joe90
Prmissions need to be set in the config file under permLevels.
{ ... "xmasLights": false, "permLevels": { // "newLevel":{ // "upgradeLimit": 0 - twigs, 1 - Wood, 2 - stone, 3 - metal, 4 - high quality, -1 - unlimited (high quality) // "pipeLimit": -1 - unlimited, or the number of pipes that can be built // }, "level1": { "upgradeLimit": 1, // This allows pipes to be upgraded to wood. "pipeLimit": 25 // This allows the player a maximum of 25 pipes. }, "level2": { "upgradeLimit": -1, // This allows pipes to be upgraded all the way to high quality metal. "pipeLimit": -1 // This allows the player to build an unlimited number of pipes. } } }More information can be found here: https://umod.org/plugins/sync-pipes#configuration-file
Hello Joe,
My config file looks nothing like yours. Here is my config file:
{
"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": false,
"salvageDestroy": false
}
You need to add the permLevels section.
Do I add all these permissions for the default group for that?
oxide.grant group default syncpipes.level.1
oxide.grant group default syncpipes.level.2
oxide.grant group default syncpipes.level.3
oxide.grant group default syncpipes.level.4
oxide.grant group default syncpipes.level.5
Merged post
It says those permissions dont exist
Are you sure the plugin is loaded?
I'm assuming you have the plugin running as you were able to grant admin. Although it might be best to check that there are no errors being throw after you changed the config.
There are no default levels added to the config. It's up to you to decide what you want to give for each level. They can be called anything you like. For each level you can set what the maximum number of pipes they are allowed to build and the highest material they are allowed to upgrade to.
You will need to ensure that you reload the plugin once you have set the levels and saved the config file.
Joe90
I'm assuming you have the plugin running as you were able to grant admin. Although it might be best to check that there are no errors being throw after you changed the config.
There are no default levels added to the config. It's up to you to decide what you want to give for each level. They can be called anything you like. For each level you can set what the maximum number of pipes they are allowed to build and the highest material they are allowed to upgrade to.
You will need to ensure that you reload the plugin once you have set the levels and saved the config file.
Hello Joe, how can I modify the config to allow people to upgrade to Armoured? Here is my current config:
{
"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": false,
"salvageDestroy": false
}
You don't need all the permission levels listed but I thought it might clarify the settings a bit.
So to give eveyone unlimited pipes and allow them to upgrade to HQM you need to:
oxide.grant group default syncpipes.permlevels.hqm
I hope this helps.
Config File:
{
"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": false,
"permLevels": {
"twigs": { // oxide.grant group [group name] syncpipes.level.twigs
"upgradeLimit": 0, // upgrade limit twigs
"pipeLimit": 25, // maximum pipes 25
},
"wood": { // oxide.grant group [group name] syncpipes.level.wood
"upgradeLimit": 1, // upgrade limit wood
"pipeLimit": 30 // maximum pipes 30
},
"stone": { // oxide.grant group [group name] syncpipes.level.stone
"upgradeLimit": 2, // upgrade limit stone
"pipeLimit": 35 // maximum pipes 40
},
"metal": { // oxide.grant group [group name] syncpipes.level.metal
"upgradeLimit": 3, // upgrade limit metal
"pipeLimit": 40 // maximum pipes 45
},
"hqm": { // oxide.grant group [group name] syncpipes.level.hqm
"upgradeLimit": 4, // upgrade limit HQM
"pipeLimit": -1 // maximum pipes 40
}
},
"salvageDestroy": false
}Merged post
Just realised I got some of the max pipe comments wong, it shoul have read:
"stone": { // oxide.grant group [group name] syncpipes.level.stone
"upgradeLimit": 2, // upgrade limit stone
"pipeLimit": 35 // maximum pipes 35
},
"metal": { // oxide.grant group [group name] syncpipes.level.metal
"upgradeLimit": 3, // upgrade limit metal
"pipeLimit": 40 // maximum pipes 40
},
"hqm": { // oxide.grant group [group name] syncpipes.level.hqm
"upgradeLimit": 4, // upgrade limit HQM
"pipeLimit": -1 // maximum pipes unlimited
} Hello Joe, Thank you for your detailed reply. I changed my config settings as shown below to match what you sent me:
"xmasLights": false,
"permLevels": {
"twigs": {
"upgradeLimit": 0,
"pipeLimit": 25,
},
"wood": {
"upgradeLimit": 1,
"pipeLimit": 30
},
"stone": {
"upgradeLimit": 2,
"pipeLimit": 35
},
"metal": {
"upgradeLimit": 3,
"pipeLimit": 40
},
"hqm": {
"upgradeLimit": 4,
"pipeLimit": 40
}
},
"salvageDestroy": false
}
I then successfully granted these permissions to the default group after I changed the config and restarted the mod:
oxide.grant group default syncpipes.level.twigs
oxide.grant group default syncpipes.level.wood
oxide.grant group default syncpipes.level.stone
oxide.grant group default syncpipes.level.metal
oxide.grant group default syncpipes.level.hqm
Here is a picture of the commands accepted in my f1 console: https://gyazo.com/b0d829e00e0bacca62fdfae5fb32e8f5
But when players try to hit with the hammer it says the players don't have permissions to use SyncPipes. The spacing looks correct in the config file too.
Have you granted syncpipes.user
Merged post
Ah I see the instuctions seem to have reverted to an old vesion. So that section is missing. I'll try to find the right version of them.
It should say that for admin you need to grant syncpipes.admin. To be able to interact with pipes you need to grant syncpipes.user.
Is there any way I can direct send you my config file?
Have you tried running:
oxide.grant group default syncpipes.user
it works! Thank you so much <3
Merged post
Thank you again very much Joe. My players really love this mod. It is a great addition to my server.