I have setup a shop to sell an item by using a Human NPC 8469905920 only, no /shop command
"EnabledCategory": false,
"EnableNPC": true,
"NpcIds": [
"8469905920"
],
"Items": [
"Trucking Mission Beginner",
A second NPC is setup to only sell an item to you if you have the permission of 1trucking
"Permission": "1trucking", -In Oxide the security group 1trucking has guishop.1trucking added
"Permission": "1trucking",
"Currency": "",
"CustomCurrencyNames": "",
"CustomCurrencyIDs": 0,
"CustomCurrencySkinIDs": 0,
"EnabledCategory": false,
"EnableNPC": true,
"NpcIds": [
"6425178624"
],
"Items": [
"Unload Truck"
1. The problem is, if you have the oxide permission called, guishop.1trucking enabled you cannot access this shop at the npc. It works if you remove all permissions
"Permission": "",
2. If you type /shop at the npc it does open the shop but disregards whether the permission is set or not bypassing the permission system.
So /shop shouldnt work on an npc with the permission is enabled because the player doesn't have that permission.
NPC shop won't open if you have the permission enabled.
NPC opens shop normally when the permission is removed, so it knows it is restricted.
Can you please tell me what I am doing wrong? I love this plugin just wanted to use the permissions system.