Jump to content

Cars not locking

Closed 1.1.3

ShannonDoah
ShannonDoah

Posted

Hey, cars are not spawning with codelock despite codelock set to true. I uninstalled all plugins and used default CarSharing config, still no luck. 

ShannonDoah

Posted

Here is the config I'm using now but it also didn't work with the default config. I did fix this temporarily with a separate plugin but would prefer to just use this one. Thanks!

{
  "Commands": [
    "rent"
  ],
  "Permission (example: carsharing.use)": "",
  "Work with Notify?": true,
  "Economy": {
    "Type (Plugin/Item)": "Plugin",
    "Plugin name": "ServerRewards",
    "Balance add hook": "AddPoints",
    "Balance remove hook": "TakePoints",
    "Balance show hook": "CheckPoints",
    "ShortName": "scrap",
    "Display Name (empty - default)": "",
    "Skin": 0
  },
  "Vehicle call item settings": {
    "Display Name": "Rented {carname}",
    "ShortName": "box.wooden.large",
    "Skin": 2591806406
  },
  "Cars": [
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.silverado",
      "Image": "https://www.dropbox.com/scl/fi/c6mczmee590odkp8y8by5/silverado.png?rlkey=4gs6jcvdy4ao79juxha910683&st=3set99hc&dl=1",
      "Name": "Silverado",
      "Cost per minute": 25.0,
      "Car class": "Pickup",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.flatbed"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.tank",
      "Image": "https://www.dropbox.com/scl/fi/utt1ft8ij9tpn55hxuoh2/tank.png?rlkey=3bmavczvyypke1l08myp2e9ba&st=a8sku0k4&dl=1",
      "Name": "Tank",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.speedster",
      "Image": "https://www.dropbox.com/scl/fi/n2qg9qbzomib8d7r41j90/speedster.png?rlkey=vbs3p1uvh0obolfr6l0t0f243&st=mj8o8zp8&dl=1",
      "Name": "Speedster",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.cockpit.with.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.winnebago",
      "Image": "https://www.dropbox.com/scl/fi/iek0dz86kmbf1zmxcw0x0/winnebago.png?rlkey=umsz2jruzowyh991k1vo2jhzr&st=pvgk64w1&dl=1",
      "Name": "Winnebago",
      "Cost per minute": 10.0,
      "Car class": "Battle Bus",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.bfc",
      "Image": "https://www.dropbox.com/scl/fi/6luap9s8v7czw372024cw/BFC.png?rlkey=vi1rtiq89s00uf869a9vsy279&st=pj5xyg7e&dl=1",
      "Name": "BFC",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.hellcat",
      "Image": "https://www.dropbox.com/scl/fi/lnwi2sutwasvwvlq9fv89/Hellcat-2.png?rlkey=q51ioetved27d5fumpr05b6o2&st=6xv6d6ug&dl=1",
      "Name": "Hellcat",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.taxi",
      "Image": "https://www.dropbox.com/scl/fi/1xvoil4cw2srrhmsdkt9f/Taxi.png?rlkey=nilajuwqysi156lepsoqkvak2&st=zp5feldb&dl=1",
      "Name": "Taxi",
      "Cost per minute": 10.0,
      "Car class": "Transport",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.taxi"
        ]
      }
    }
  ],
  "Bots": {
    "5154454": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    },
    "1317845641": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    }
  }
}

MeventSupport

Posted

30 minutes ago, ShannonDoah said:

Here is the config I'm using now but it also didn't work with the default config. I did fix this temporarily with a separate plugin but would prefer to just use this one. Thanks!

{
  "Commands": [
    "rent"
  ],
  "Permission (example: carsharing.use)": "",
  "Work with Notify?": true,
  "Economy": {
    "Type (Plugin/Item)": "Plugin",
    "Plugin name": "ServerRewards",
    "Balance add hook": "AddPoints",
    "Balance remove hook": "TakePoints",
    "Balance show hook": "CheckPoints",
    "ShortName": "scrap",
    "Display Name (empty - default)": "",
    "Skin": 0
  },
  "Vehicle call item settings": {
    "Display Name": "Rented {carname}",
    "ShortName": "box.wooden.large",
    "Skin": 2591806406
  },
  "Cars": [
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.silverado",
      "Image": "https://www.dropbox.com/scl/fi/c6mczmee590odkp8y8by5/silverado.png?rlkey=4gs6jcvdy4ao79juxha910683&st=3set99hc&dl=1",
      "Name": "Silverado",
      "Cost per minute": 25.0,
      "Car class": "Pickup",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.flatbed"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.tank",
      "Image": "https://www.dropbox.com/scl/fi/utt1ft8ij9tpn55hxuoh2/tank.png?rlkey=3bmavczvyypke1l08myp2e9ba&st=a8sku0k4&dl=1",
      "Name": "Tank",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.speedster",
      "Image": "https://www.dropbox.com/scl/fi/n2qg9qbzomib8d7r41j90/speedster.png?rlkey=vbs3p1uvh0obolfr6l0t0f243&st=mj8o8zp8&dl=1",
      "Name": "Speedster",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.cockpit.with.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.winnebago",
      "Image": "https://www.dropbox.com/scl/fi/iek0dz86kmbf1zmxcw0x0/winnebago.png?rlkey=umsz2jruzowyh991k1vo2jhzr&st=pvgk64w1&dl=1",
      "Name": "Winnebago",
      "Cost per minute": 10.0,
      "Car class": "Battle Bus",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.bfc",
      "Image": "https://www.dropbox.com/scl/fi/6luap9s8v7czw372024cw/BFC.png?rlkey=vi1rtiq89s00uf869a9vsy279&st=pj5xyg7e&dl=1",
      "Name": "BFC",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.hellcat",
      "Image": "https://www.dropbox.com/scl/fi/lnwi2sutwasvwvlq9fv89/Hellcat-2.png?rlkey=q51ioetved27d5fumpr05b6o2&st=6xv6d6ug&dl=1",
      "Name": "Hellcat",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.taxi",
      "Image": "https://www.dropbox.com/scl/fi/1xvoil4cw2srrhmsdkt9f/Taxi.png?rlkey=nilajuwqysi156lepsoqkvak2&st=zp5feldb&dl=1",
      "Name": "Taxi",
      "Cost per minute": 10.0,
      "Car class": "Transport",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.taxi"
        ]
      }
    }
  ],
  "Bots": {
    "5154454": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    },
    "1317845641": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    }
  }
}

Good, I’ll check it out 

  • Like 1
MeventSupport

Posted

On 6/10/2024 at 4:59 PM, ShannonDoah said:

Here is the config I'm using now but it also didn't work with the default config. I did fix this temporarily with a separate plugin but would prefer to just use this one. Thanks!

{
  "Commands": [
    "rent"
  ],
  "Permission (example: carsharing.use)": "",
  "Work with Notify?": true,
  "Economy": {
    "Type (Plugin/Item)": "Plugin",
    "Plugin name": "ServerRewards",
    "Balance add hook": "AddPoints",
    "Balance remove hook": "TakePoints",
    "Balance show hook": "CheckPoints",
    "ShortName": "scrap",
    "Display Name (empty - default)": "",
    "Skin": 0
  },
  "Vehicle call item settings": {
    "Display Name": "Rented {carname}",
    "ShortName": "box.wooden.large",
    "Skin": 2591806406
  },
  "Cars": [
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.silverado",
      "Image": "https://www.dropbox.com/scl/fi/c6mczmee590odkp8y8by5/silverado.png?rlkey=4gs6jcvdy4ao79juxha910683&st=3set99hc&dl=1",
      "Name": "Silverado",
      "Cost per minute": 25.0,
      "Car class": "Pickup",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.flatbed"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.tank",
      "Image": "https://www.dropbox.com/scl/fi/utt1ft8ij9tpn55hxuoh2/tank.png?rlkey=3bmavczvyypke1l08myp2e9ba&st=a8sku0k4&dl=1",
      "Name": "Tank",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.speedster",
      "Image": "https://www.dropbox.com/scl/fi/n2qg9qbzomib8d7r41j90/speedster.png?rlkey=vbs3p1uvh0obolfr6l0t0f243&st=mj8o8zp8&dl=1",
      "Name": "Speedster",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.cockpit.with.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.engine"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.winnebago",
      "Image": "https://www.dropbox.com/scl/fi/iek0dz86kmbf1zmxcw0x0/winnebago.png?rlkey=umsz2jruzowyh991k1vo2jhzr&st=pvgk64w1&dl=1",
      "Name": "Winnebago",
      "Cost per minute": 10.0,
      "Car class": "Battle Bus",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.bfc",
      "Image": "https://www.dropbox.com/scl/fi/6luap9s8v7czw372024cw/BFC.png?rlkey=vi1rtiq89s00uf869a9vsy279&st=pj5xyg7e&dl=1",
      "Name": "BFC",
      "Cost per minute": 10.0,
      "Car class": "Assault",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.passengers.armored",
          "vehicle.1mod.passengers.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.hellcat",
      "Image": "https://www.dropbox.com/scl/fi/lnwi2sutwasvwvlq9fv89/Hellcat-2.png?rlkey=q51ioetved27d5fumpr05b6o2&st=6xv6d6ug&dl=1",
      "Name": "Hellcat",
      "Cost per minute": 10.0,
      "Car class": "Speed",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored"
        ]
      }
    },
    {
      "Permission (example: carsharing.vip)": "",
      "Command to give": "share.taxi",
      "Image": "https://www.dropbox.com/scl/fi/1xvoil4cw2srrhmsdkt9f/Taxi.png?rlkey=nilajuwqysi156lepsoqkvak2&st=zp5feldb&dl=1",
      "Name": "Taxi",
      "Cost per minute": 10.0,
      "Car class": "Transport",
      "Average Speed": "100",
      "Modular Car Settings": {
        "CodeLock": true,
        "KeyLock": false,
        "Engine Parts Tier": 2,
        "Fresh Water Amount": 0,
        "Fuel Amount": 140,
        "Modules": [
          "vehicle.1mod.engine",
          "vehicle.1mod.cockpit.armored",
          "vehicle.1mod.taxi"
        ]
      }
    }
  ],
  "Bots": {
    "5154454": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    },
    "1317845641": {
      "Car Classes (* - all)": [
        "Transport",
        "Speed"
      ]
    }
  }
}

Hi! You need to install: 

https://umod.org/plugins/vehicle-deployed-locks

  • Like 1
Mevent

Posted

Changed Status from Pending to Closed

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.3k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.