I am trying to get the npc to grant aaccess to a door and charge 500 scrap this is what i have. i know it has to be something minor that is not letteing it work
any help would be appreciated
{
"NpcTP": {
"125769323": {
"NpcName": "<color=#ffff00>Npc</color> : ",
"SpawnFile": null,
"Cooldown": 86400,
"CanUse": true,
"useUI": false,
"Cost": 500,
"permission": "cardreaderdoors.crook1",
"useItem": true,
"UseCommand": true,
"useMessage": true,
"MessageNpc": "Thanks for the scrap, now I can go gambling tonight. I ahve granted you permission to enter Crook's Cave",
"EnableDead": false,
"DeadOnPlayer": false,
"DeadCmd": null,
"DeadArgs": "5",
"OpenDoor": false,
"DoorLocX": 0.0,
"DoorLocY": 0.0,
"DoorLocZ": 0.0,
"DoorId": 0,
"NoPermKill": false,
"KillSleep": false,
"Commands": {
o.grant
},
"Items": {
"scrap"
}
}
}
}
Door info
{
"pEntity": {
"crook": {
"SpawnEntity": 0,
"doorID": 2590050,
"roomName": "crook",
"permission": "cardreaderdoors.crook1",
"reader": {
"2599257": {}
},
"access": []
}
}
}any help would be appreciated