Players able to spawn freeSolved
So i have set the plugin up as far as i can tell correct and with correct permissons 

But players can use /spawn and they do not need to buy the licence.

config

{
  "Settings": {
    "Store Vehicle On Plugin Unloaded / Server Restart": true,
    "Clear Vehicle Data On Map Wipe": true,
    "Interval to check vehicle for wipe (Seconds)": 0.0,
    "Spawn vehicle in the direction you are looking at": true,
    "Check if any player mounted when recalling a vehicle": true,
    "Check if any player mounted when killing a vehicle": true,
    "Dismount all players when a vehicle is recalled": true,
    "Prevent vehicles from spawning or recalling in safe zone": true,
    "Prevent other players from mounting vehicle": false,
    "Prevent mounting on driver's seat only": true,
    "Use Teams": true,
    "Use Clans": true,
    "Use Friends": true,
    "Vehicle No Decay": false,
    "Vehicle No Fire Ball": true,
    "Vehicle No Server Gibs": true,
    "Chinook No Map Marker": true,
    "Use Raid Blocker (Need NoEscape Plugin)": false,
    "Use Combat Blocker (Need NoEscape Plugin)": false
  },
  "Chat Settings": {
    "Use Universal Chat Command": true,
    "Help Chat Command": "license",
    "Buy Chat Command": "buy",
    "Spawn Chat Command": "spawn",
    "Recall Chat Command": "recall",
    "Kill Chat Command": "kill",
    "Chat Prefix": "[VehicleLicense]: ",
    "Chat SteamID Icon": 76561############
  },
  "Normal Vehicle Settings": {
    "Sedan Vehicle": {
      "Purchasable": true,
      "Display Name": "Sedan",
      "Use Permission": false,
      "Permission": "vehiclelicence.sedan",
      "Distance To Spawn": 5.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 2500,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "car",
        "sedan"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 150.0,
          "recallCooldown": 10.0
        }
      }
    },
    "Chinook Vehicle": {
      "Purchasable": false,
      "Display Name": "Chinook",
      "Use Permission": true,
      "Permission": "vehiclelicence.chinook",
      "Distance To Spawn": 15.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": false,
      "Purchase Prices": {
        "scrap": {
          "amount": 3000,
          "displayName": "Scrap"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "ch47",
        "chinook"
      ],
      "Spawn Cooldown (Seconds)": 3000.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 1500.0,
          "recallCooldown": 10.0
        }
      }
    },
    "Rowboat Vehicle": {
      "Purchasable": true,
      "Display Name": "Row Boat",
      "Use Permission": false,
      "Permission": "vehiclelicence.rowboat",
      "Distance To Spawn": 5.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 2500,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "row",
        "rowboat"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 150.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true,
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false
    },
    "RHIB Vehicle": {
      "Purchasable": true,
      "Display Name": "Rigid Hulled Boat",
      "Use Permission": false,
      "Permission": "vehiclelicence.rhib",
      "Distance To Spawn": 10.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 10000,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "rhib"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 225.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true,
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false
    },
    "Hot Air Balloon Vehicle": {
      "Purchasable": false,
      "Display Name": "Hot Air Balloon",
      "Use Permission": true,
      "Permission": "vehiclelicence.hotairballoon",
      "Distance To Spawn": 20.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": false,
      "Purchase Prices": {
        "economics": {
          "amount": 5000,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "hab",
        "hotairballoon"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 450.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true,
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false
    },
    "Ridable Horse Vehicle": {
      "Purchasable": true,
      "Display Name": "Ridable Horse",
      "Use Permission": false,
      "Permission": "vehiclelicence.ridablehorse",
      "Distance To Spawn": 6.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 1500,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "horse",
        "ridablehorse"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 1500.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false
    },
    "Mini Copter Vehicle": {
      "Purchasable": true,
      "Display Name": "Mini Copter",
      "Use Permission": false,
      "Permission": "vehiclelicence.minicopter",
      "Distance To Spawn": 8.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 20000,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "mini",
        "minicopter"
      ],
      "Spawn Cooldown (Seconds)": 300.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 900.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true
    },
    "Transport Helicopter Vehicle": {
      "Purchasable": true,
      "Display Name": "Transport Copter",
      "Use Permission": false,
      "Permission": "vehiclelicence.transportcopter",
      "Distance To Spawn": 10.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": true,
      "Purchase Prices": {
        "economics": {
          "amount": 50000,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {},
      "Recall Prices": {},
      "Commands": [
        "tcop",
        "transportcopter"
      ],
      "Spawn Cooldown (Seconds)": 600.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 1200.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true
    }
  },
  "Modular Vehicle Settings": {
    "SmallCar": {
      "Purchasable": false,
      "Display Name": "Small Modular Car",
      "Use Permission": true,
      "Permission": "vehiclelicence.smallmodularcar",
      "Distance To Spawn": 5.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": false,
      "Purchase Prices": {
        "economics": {
          "amount": 50,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {
        "metal.refined": {
          "amount": 10,
          "displayName": "High Quality Metal"
        }
      },
      "Recall Prices": {
        "scrap": {
          "amount": 5,
          "displayName": "Scrap"
        }
      },
      "Commands": [
        "small",
        "smallcar"
      ],
      "Spawn Cooldown (Seconds)": 7200.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 3600.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true,
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Refund Engine Items On Kill": true,
      "Refund Engine Items On Crash": true,
      "Refund Module Items On Kill": true,
      "Refund Module Items On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false,
      "Chassis Type (Small, Medium, Large)": "Small",
      "Vehicle Module Items": [
        {
          "shortName": "vehicle.1mod.cockpit.with.engine",
          "healthPercentage": 50.0
        },
        {
          "shortName": "vehicle.1mod.storage",
          "healthPercentage": 50.0
        }
      ],
      "Vehicle Engine Items": [
        {
          "shortName": "carburetor1",
          "conditionPercentage": 20.0
        },
        {
          "shortName": "crankshaft1",
          "conditionPercentage": 20.0
        },
        {
          "shortName": "piston1",
          "conditionPercentage": 20.0
        },
        {
          "shortName": "sparkplug1",
          "conditionPercentage": 20.0
        },
        {
          "shortName": "valve1",
          "conditionPercentage": 20.0
        }
      ]
    },
    "LargeCar": {
      "Purchasable": false,
      "Display Name": "Large Modular Car",
      "Use Permission": true,
      "Permission": "vehiclelicence.largemodularcar",
      "Distance To Spawn": 6.0,
      "Time Before Vehicle Wipe (Seconds)": 0.0,
      "Maximum Health": 0.0,
      "Can Recall Maximum Distance": 0.0,
      "Remove License Once Crashed": false,
      "Purchase Prices": {
        "economics": {
          "amount": 50,
          "displayName": "Money"
        }
      },
      "Spawn Prices": {
        "metal.refined": {
          "amount": 100,
          "displayName": "High Quality Metal"
        }
      },
      "Recall Prices": {
        "scrap": {
          "amount": 10,
          "displayName": "Scrap"
        }
      },
      "Commands": [
        "large",
        "largecar"
      ],
      "Spawn Cooldown (Seconds)": 10800.0,
      "Recall Cooldown (Seconds)": 30.0,
      "Cooldown Permissions": {
        "vehiclelicence.vip": {
          "spawnCooldown": 5400.0,
          "recallCooldown": 10.0
        }
      },
      "Refund Fuel On Kill": true,
      "Refund Fuel On Crash": true,
      "Refund Inventory On Kill": true,
      "Refund Inventory On Crash": true,
      "Refund Engine Items On Kill": true,
      "Refund Engine Items On Crash": true,
      "Refund Module Items On Kill": true,
      "Refund Module Items On Crash": true,
      "Drop Inventory Items When Vehicle Recall": false,
      "Chassis Type (Small, Medium, Large)": "Large",
      "Vehicle Module Items": [
        {
          "shortName": "vehicle.1mod.engine",
          "healthPercentage": 50.0
        },
        {
          "shortName": "vehicle.1mod.cockpit.armored",
          "healthPercentage": 50.0
        },
        {
          "shortName": "vehicle.1mod.passengers.armored",
          "healthPercentage": 50.0
        },
        {
          "shortName": "vehicle.1mod.storage",
          "healthPercentage": 50.0
        }
      ],
      "Vehicle Engine Items": [
        {
          "shortName": "carburetor3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "crankshaft3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "piston3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "piston3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "sparkplug3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "sparkplug3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "valve3",
          "conditionPercentage": 10.0
        },
        {
          "shortName": "valve3",
          "conditionPercentage": 10.0
        }
      ]
    }
  }
}​
Sounds like you granted them the vehiclelicence.bypasscost permission.
5e13a8d5b2bc5.jpg Wulf
Sounds like you granted them the vehiclelicence.bypasscost permission.
oxide.revoke group default vehiclelicence.bypasscost
Group 'default' does not have permission 'vehiclelicence.bypasscost'
oxide.revoke group admin vehiclelicence.bypasscost
Group 'admin' does not have permission 'vehiclelicence.bypasscost'
 
I just double checked they are not on.


Merged post

Also just doubled checked all of them

oxide.revoke group admin vehiclelicence.all
Group 'admin' does not have permission 'vehiclelicence.all'
oxide.revoke group default vehiclelicence.all
Group 'default' does not have permission 'vehiclelicence.all'
oxide.revoke group default vehiclelicence.use
Group 'default' revoked permission 'vehiclelicence.use'
oxide.revoke group admin vehiclelicence.use
Group 'admin' does not have permission 'vehiclelicence.use'
oxide.grant group admin vehiclelicence.use
Group 'admin' granted permission 'vehiclelicence.use'
oxide.revoke group admin vehiclelicence.use
Group 'admin' revoked permission 'vehiclelicence.use'
oxide.revoke group default vehiclelicence.use
Group 'default' does not have permission 'vehiclelicence.use'
oxide.grant group default vehiclelicence.use
Group 'default' granted permission 'vehiclelicence.use'

Now only one on is default group with 'vehiclelicence.use'

And its still letting players /spawn without having to buy
Delete data file after unloading the plugin
5c18c7da631b5.jpg Arainrr
Delete data file after unloading the plugin
Thanks , it is now working correct.
Locked automatically