Jump to content

My Vehicle 1.1.3

$4.99
   (2 reviews)

3 Screenshots

  • 4.3k
  • 38
  • 36.55 kB
 Share

About My Vehicle

The "MyVehicle" plugin introduces a vehicle management system that allows admins/players to spawn, de-spawn, and manage a variety of vehicles directly within the game. Leveraging a user-friendly interface, players can access this feature through permissions-based commands, ensuring control and customization. The plugin supports configuration for different vehicles, including aspects like spawn distance, fuel amount, and unique permissions for each vehicle type. It also incorporates a cool-down system to regulate vehicle spawning frequency, enhancing game-play balance. Additionally, the plugin tracks and saves data on player-spawned vehicles, ensuring a seamless gaming experience even across server restarts. The plugin is light weighted with a clean and user friendly graphical user interface (GUI).

Command:
          /myvehicle - Opens graphical user interface (GUI) of the vehicle spawner.

Permissions:
          MyVehicle Use - Permission to use/open the GUI.
          MyVehicle Despawn - If you already have a vehicle spawned and you want to spawn another one of the same type, the previous will disappear. You can set which vehicles are affected by this permission in the config.
          MyVehicle cooldown.1m - 1 minute cool-down between spawning vehicles of the same type.
          MyVehicle cooldown.1h - 1 hour cool-down between spawning vehicles of the same type.
          MyVehicle cooldown.1d - 1 day cool-down between spawning vehicles of the same type.
          MyVehicle cooldown.30d - 30 day cool-down between spawning vehicles of the same type.
          myvehicle minicopter - Allow spawning Mini(s).
          myvehicle attackhelicopter - Allow spawning Attack Heli(s).
          myvehicle scrapheli - Allow spawning Scrap Heli(s).
          myvehicle baloon - Allow spawning Balloon(s).
          myvehicle rhib - Allow spawning RHIB(s).
          myvehicle horse - Allow spawning Horse(s).
          myvehicle tugboat - Allow spawning Tugboat(s).
          myvehicle subsolo - Allow spawning Solo Sub(s).
          myvehicle subduo - Allow spawning Duo Sub(s).
          myvehicle rowboat - Allow spawning Rowboat(s).
          myvehicle kayak - Allow spawning Kayak(s).
          myvehicle snowmobile - Allow spawning Snowmobile(s) and Tomaha(s).
          myvehicle sedan - Allow spawning Sedan(s) and Sedan Rail(s).
          myvehicle car2modules - Allow spawning Car(s) with 2 modules.
          myvehicle car3modules - Allow spawning Car(s) with 3 modules.
          myvehicle car4modules - Allow spawning Car(s) with 4 modules.
          myvehicle train - Allow spawning Locomotive(s), Workcart(s) and Caboose(s).
          myvehicle magnetcrane - Allow spawning Magnetcrane(s).
          myvehicle chinook - Allow spawning Chinook(s).
          myvehicle patrolheli - Allow calling in the Patrol Heli.
          myvehicle bradley - Allow spawning Bradley(s).

The "Despawn Last" button will remove all spawned vehicles one by one from last to first!

!!! Magnetcrane, Patrol Heli and Bradley should only be used by admins !!!

  • Magnetcrane will explode if spawned outside Junkyard!
  • Patrol Heli will spawn in a random location outside the map and will fly in.
  • Bradley will open fire at player as soon as it is spawned!
  • These vehicles ( if spawned with MyVehicle ) can also be despawned with the "Despawn Last" button from the GUI.

Cars can be customized through the config. The identifiers for the modules can be obtained on https://rustlabs.com or https://www.corrosionhour.com

  • Cockpit With Engine Vehicle Module: 170758448
  • Cockpit Vehicle Module: -1501451746
  • Armored Cockpit Vehicle Module: 1874610722
  • Engine Vehicle Module: 1559779253
  • Camper Vehicle Module: -1040518150
  • Fuel Tank Vehicle Module: 1186655046
  • Storage Vehicle Module: 268565518
  • Flatbed Vehicle Module: -1880231361
  • Large Flatbed Vehicle Module: -1693832478
  • Taxi Vehicle Module: -626174997
  • Rear Seats Vehicle Module: 1376065505
  • Passenger Vehicle Module: 895374329
  • Armored Passenger Vehicle Module: -1615281216

The tier of the engine parts can be set in the config. Use 1 for low, 2 for medium or 3 for high quality parts.


I want to thank M&B-Studios for assisting me in putting this plugin together. I appreciate his help and recommend his work and services!

Config:

{
  "Vehicles": {
    "assets/content/vehicles/minicopter/minicopter.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Mini Copter",
      "Permission": "myvehicle.minicopter",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/attackhelicopter/attackhelicopter.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Attack Heli",
      "Permission": "myvehicle.attackhelicopter",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/scrap heli carrier/scraptransporthelicopter.prefab": {
      "Despawn": true,
      "DisplayName": "Scrap Heli",
      "Permission": "myvehicle.scrapheli",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/rust.ai/nextai/testridablehorse.prefab": {
      "Despawn": false,
      "DisplayName": "Horse",
      "Permission": "myvehicle.horse",
      "ButtonColor": "vlgreen",
      "FuelAmount": 0,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/boats/rhib/rhib.prefab": {
      "Despawn": true,
      "DisplayName": "RHIB",
      "Permission": "myvehicle.rhib",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/boats/tugboat/tugboat.prefab": {
      "Despawn": true,
      "DisplayName": "Tugboat",
      "Permission": "myvehicle.tugboat",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/submarine/submarinesolo.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Solo Sub",
      "Permission": "myvehicle.subsolo",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/submarine/submarineduo.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Duo Sub",
      "Permission": "myvehicle.subduo",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/boats/rowboat/rowboat.prefab": {
      "Despawn": true,
      "DisplayName": "Rowboat",
      "Permission": "myvehicle.rowboat",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/boats/kayak/kayak.prefab": {
      "Despawn": true,
      "DisplayName": "Kayak",
      "Permission": "myvehicle.kayak",
      "ButtonColor": "vlgreen",
      "FuelAmount": 0,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/snowmobiles/snowmobile.prefab": {
      "Despawn": true,
      "DisplayName": "Snowmobile",
      "Permission": "myvehicle.snowmobile",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/snowmobiles/tomahasnowmobile.prefab": {
      "Despawn": true,
      "DisplayName": "Tomaha",
      "Permission": "myvehicle.snowmobile",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/prefabs/deployable/hot air balloon/hotairballoon.prefab": {
      "Despawn": true,
      "DisplayName": "Balloon",
      "Permission": "myvehicle.baloon",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/sedan_a/sedantest.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Sedan",
      "Permission": "myvehicle.sedan",
      "ButtonColor": "vlgreen",
      "FuelAmount": 0,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/sedan_a/sedanrail.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Sedan Rail",
      "Permission": "myvehicle.sedan",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/modularcar/car_chassis_2module.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Car 2",
      "Permission": "myvehicle.car2modules",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": [
        170758448,
        268565518
      ],
      "EnginePartsTier": 1
    },
    "assets/content/vehicles/modularcar/car_chassis_3module.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Car 3",
      "Permission": "myvehicle.car3modules",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": [
        170758448,
        -1040518150
      ],
      "EnginePartsTier": 2
    },
    "assets/content/vehicles/modularcar/car_chassis_4module.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Car 4",
      "Permission": "myvehicle.car4modules",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": [
        1559779253,
        170758448,
        268565518,
        268565518
      ],
      "EnginePartsTier": 3
    },
    "assets/content/vehicles/trains/locomotive/locomotive.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Locomotive",
      "Permission": "myvehicle.train",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/trains/workcart/workcart.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Workcart",
      "Permission": "myvehicle.train",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/trains/workcart/workcart_aboveground2.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Workcart 2",
      "Permission": "myvehicle.train",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/trains/workcart/workcart_aboveground.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Workcart 3",
      "Permission": "myvehicle.train",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/trains/caboose/traincaboose.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Caboose",
      "Permission": "myvehicle.train",
      "ButtonColor": "vlgreen",
      "FuelAmount": 0,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/content/vehicles/crane_magnet/magnetcrane.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Magnetcrane",
      "Permission": "myvehicle.magnetcrane",
      "ButtonColor": "vlgreen",
      "FuelAmount": 100,
      "SpawnDistance": 5.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/prefabs/npc/ch47/ch47.entity.prefab": {
      "Despawn": true,
      "DisplayName": "Chinook",
      "Permission": "myvehicle.chinook",
      "ButtonColor": "vlblue",
      "FuelAmount": 0,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab": {
      "Despawn": true,
      "DisplayName": "Patrol Heli",
      "Permission": "myvehicle.patrolheli",
      "ButtonColor": "vlred",
      "FuelAmount": 0,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    },
    "assets/prefabs/npc/m2bradley/bradleyapc.prefab": {
      "Despawn": true,
      "DisplayName": "Bradley",
      "Permission": "myvehicle.bradley",
      "ButtonColor": "vlred",
      "FuelAmount": 0,
      "SpawnDistance": 15.0,
      "ModuleIDs": null,
      "EnginePartsTier": 0
    }
  },
  "DefaultButtonColor": "vlgreen",
  "DespawnButtonColor": "vlorange",
  "CloseButtonColor": "vlred",
  "UIChatCommand": "myvehicle",
  "SpawnEffect": "assets/prefabs/missions/portal/proceduraldungeon/effects/appear.prefab",
  "DespawnEffect": "assets/prefabs/missions/portal/proceduraldungeon/effects/disappear.prefab",
  "ChatPrefix": "<color=green>[MyVehicle]</color>",
  "UITitle": "Vehicle Spawner"
}

 

Language EN:

{
  "NoPermission": "You don't have permission to use this command.",
  "NoVehicles": "You have no spawned vehicles to despawn.",
  "Despawned": "Your last spawned vehicle has been despawned.",
  "CantFind": "Could not find your last spawned vehicle.",
  "NotFound": "Vehicle not found.",
  "Spawn": "Spawning {0}.",
  "WaterVehicle": "This vehicle can only be spawned in water.",
  "Usage": "Usage: /spawn <vehicleType>",
  "NoType": "Vehicle type '{0}' not found.",
  "NoPermissionToSpawn": "You don't have permission to spawn '{0}'.",
  "Cooldown": "You need to wait for {0} seconds to spawn your vehicle.",
  "AlreadyDestroyed": "Previously destroyed vehicle has been removed from your data."
}

 

  • Like 3

User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.7k

Files Sold

Total number of files sold.

1.6m

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.