Permissions errorSolved

When trying to assign permissions for the mod, after installing it and changing the values in the config file, I am getting the following error when setting the permissions to players:

Permission 'restoreupondeath.default' doesn't exist

It isnt clear what exactly is wrong. I was hoping to see if anyone has any suggestions about where I am going wrong. 

The permissions are derived from the config. When you edited the config, did you rename that permission? Please paste your config.

Thanks for looking. Here is the config. 

{
  "Give default items upon respawn if the players is having items restored": false,
  "Can drop active item on death": false,
  "Don't restore items if player commited suicide": false,
  "Wipe stored data when the map wipes": false,
  "Percentage of total items lost (Permission Name | Percentage (0 - 100))": {
    "restoreupondeath.default": {
      "Belt": 0,
      "Wear": 0,
      "Main": 0
    },
    "restoreupondeath.beltonly": {
      "Belt": 0,
      "Wear": 0,
      "Main": 0
    },
    "restoreupondeath.admin": {
      "Belt": 0,
      "Wear": 0,
      "Main": 0
    }
	},
    "restoreupondeath.niceboy": {
      "Belt": 0,
      "Wear": 0,
      "Main": 0
    }
  },
  "Version": {
    "Major": 0,
    "Minor": 5,
    "Patch": 0
  }
}

There's a syntax error in your config. Two curly braces before the nice boy permission, but should be just one. Please use a json syntax validator.

I can't believe I missed that. Thanks so much. I will use a validator from now on. 

Locked automatically