Jump to content

Snaplatack

Creator
  • Posts

    349
  • Joined

  • Last visited

Everything posted by Snaplatack

  1. Changed Status from Work in Progress to Fixed Changed Fixed In to 1.0.2
  2. Also feel free to test on my test server. connect server.snaplatack.info
  3. Changed Status from Pending to Work in Progress
  4. Interesting. I will take a look tonight after work. This shouldn't have been approved if it didn't work
  5. Will start on later tonight.
  6. Version 1.0.2

    5 downloads

    Electric Vehicles converts a vehicle you want to run off of batteries or other items that you specify! The vehicle can be recharged and can customize the fuel rates (how much to use the battery) per second, per vehicle! Commands /ev: Makes the vehicle you are currently looking at into an electric vehicle. /resetallevs: Resets all vehicles that are spawned to the default vanilla vehicle Permissions electricvehicles.convertownvehicle: Allows the player to convert only a vehicle they own, a teammate owns, or is in their building priv electricvehicles.convertanyvehicle: Bypasses the convertownvehicle permission and can convert any vehicle electricvehicles.resetallevs: Allows the player to reset all electric vehicles on the server Default Configuration { "Plugin Settings": { "Make all vehicles on map electric": false, "Clear data on new wipe": true, "Allow EV engines to be replaced with a frunk (storage container)": true, "Amount of storage slots to add to frunk for EVs [Max = 48]": 5 }, "Commands & Permissions": { "Convert own vehicle permission": "electricvehicles.convertownvehicle", "Convert any vehicle permission": "electricvehicles.convertanyvehicle", "Convert vehicle commands": [ "convertev", "electricvehicle", "electrify", "ev" ], "Reset all vehicles permission": "electricvehicles.resetallevs", "Reset all vehicles commands": [ "resetallevs", "resetallelectricvehicles", "unelectrify", "evclearall" ] }, "Version": { "Major": 1, "Minor": 0, "Patch": 1 } } Default Vehicle Data { "Vehicles": { "minicopter.entity": { "Vehicle display name": "Minicopter", "Counter local position": "(0.00, 0.35, 1.85)", "Counter local rotation": "(-45.00, 180.00, 0.00)", "Hide counter while driving": true, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "attackhelicopter.entity": { "Vehicle display name": "Attack Helicopter", "Counter local position": "(0.25, 2.38, 0.70)", "Counter local rotation": "(60.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "scraptransporthelicopter": { "Vehicle display name": "Scrap Helicopter", "Counter local position": "(0.00, 1.50, 3.30)", "Counter local rotation": "(-15.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "2module_car_spawned.entity": { "Vehicle display name": "Small Car", "Counter local position": "(0.00, 0.60, 0.15)", "Counter local rotation": "(-20.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "3module_car_spawned.entity": { "Vehicle display name": "Medium Car", "Counter local position": "(0.00, 0.60, 0.15)", "Counter local rotation": "(-20.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "4module_car_spawned.entity": { "Vehicle display name": "Large Car", "Counter local position": "(0.00, 0.60, 0.15)", "Counter local rotation": "(-20.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "motorbike": { "Vehicle display name": "Motor Bike", "Counter local position": "(0.00, 1.12, 0.15)", "Counter local rotation": "(-65.00, 180.00, 0.00)", "Hide counter while driving": true, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "motorbike_sidecar": { "Vehicle display name": "Motor Bike Sidecar", "Counter local position": "(0.00, 1.12, 0.15)", "Counter local rotation": "(-65.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "snowmobile": { "Vehicle display name": "Snowmobile", "Counter local position": "(0.08, 0.80, 0.23)", "Counter local rotation": "(-45.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "tomahasnowmobile": { "Vehicle display name": "Tomoha Snowmobile", "Counter local position": "(0.20, 0.78, 0.00)", "Counter local rotation": "(-5.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "submarinesolo.entity": { "Vehicle display name": "Solo Submarine", "Counter local position": "(-0.25, 1.16, -0.68)", "Counter local rotation": "(-114.00, 90.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "submarineduo.entity": { "Vehicle display name": "Duo Submarine", "Counter local position": "(0.00, 1.35, -1.47)", "Counter local rotation": "(-12.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "ptboat": { "Vehicle display name": "PT Boat", "Counter local position": "(-0.60, 2.39, 0.27)", "Counter local rotation": "(0.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "rhib": { "Vehicle display name": "RHIB", "Counter local position": "(-0.23, 2.00, 0.55)", "Counter local rotation": "(-30.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "rowboat": { "Vehicle display name": "Rowboat", "Counter local position": "(0.00, 0.62, 1.73)", "Counter local rotation": "(0.00, 180.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "tugboat": { "Vehicle display name": "Tugboat", "Counter local position": "(0.98, 6.68, 3.70)", "Counter local rotation": "(-50.00, -135.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "playerboat": { "Vehicle display name": "Player Boat", "Counter local position": "(0.00, 0.85, 0.65)", "Counter local rotation": "(0.00, 0.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "locomotive.entity": { "Vehicle display name": "Locomotive", "Counter local position": "(-0.50, 3.00, 5.70)", "Counter local rotation": "(180.00, 0.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "workcart.entity": { "Vehicle display name": "Workcart", "Counter local position": "(0.10, 2.50, 1.82)", "Counter local rotation": "(180.00, 0.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "workcart_aboveground.entity": { "Vehicle display name": "Workcart Above Ground", "Counter local position": "(0.10, 2.50, 1.82)", "Counter local rotation": "(180.00, 0.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } }, "workcart_aboveground2.entity": { "Vehicle display name": "Workcart Above Ground", "Counter local position": "(0.10, 2.50, 1.82)", "Counter local rotation": "(180.00, 0.00, 0.00)", "Hide counter while driving": false, "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": { "fuse": { "Remove battery when health hits 0": true, "Item health amount to consume per second": 3.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 1.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.medium": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.5, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.battery.rechargable.large": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.1, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] }, "electric.generator.small": { "Remove battery when health hits 0": false, "Item health amount to consume per second": 0.0, "Item health amount to charge per second": 1.0, "Item skinIDs [0 = vanilla]": [ 0 ] } } } }, "Version": { "Major": 1, "Minor": 0, "Patch": 1 } } API // Checks if the vehicle is an electric vehicle private bool IsElectricVehicle(BaseVehicle vehicle); private bool IsElectricVehicle(ulong vehicleID); // Converts the vehicle from the vanilla, gas powered version to an EV private void SetupElectricVehicle(BaseVehicle vehicle); private void SetupElectricVehicle(ulong vehicleID); // Resets the vehicle back to vanilla settings private void ResetElectricVehicle(BaseVehicle vehicle); private void ResetElectricVehicle(ulong vehicleID); // Returns the electric vehicle via the entity ID private BaseVehicle GetElectricVehicle(ulong vehicleID); // Gets the electric vehicles display name private string GetElectricVehicleDisplayName(BaseVehicle vehicle); private string GetElectricVehicleDisplayName(string vehicleName); // Checks if the player is a valid owner or in TC priv to do said action private bool IsValidElectricVehicleOwner(BasePlayer player, BaseVehicle vehicle); private bool IsValidElectricVehicleOwner(string player, ulong vehicleOwnerID); // Checks if an electric vehicle is currently charging private bool IsElectricVehicleCharging(ulong vehicleID); private bool IsElectricVehicleCharging(BaseVehicle vehicle); Hooks // Overrides the setup of a vehicle. Return null to allow setup. private object OnElectricVehicleSetup(BaseVehicle vehicle); // Overrides the reset of a vehicle. Return null to allow reset. private object OnElectricVehicleReset(BaseVehicle vehicle); // Called when the vehicle is charging. No return type. private void OnElectricVehicleChargeStart(BaseVehicle vehicle); // Called when the vehicle is disconnected. No return type. private void OnElectricVehicleChargeStop(BaseVehicle vehicle);
    $15.00
  7. Does this export into native rust code? I've used others and they required an extra 1k lines of code to simply the editors output. Looking for one to spit out the code native to the CUI library
  8. I don't think I have this code anymore. Used it for my servers. I would essentially use the hook for when a player would enter a base and teleport them x distance from the sphere. Then turn a helicopter around 180 degrees if they entered
  9. Suggestion. I would decompile the assemblies for the game and oxide/carbon and see how it works. You don't need spheres for scaling as FP implemented native scaling for the client recently.
  10. Snaplatack

    A couple of problems

    Alrighty. I have been a bit busy but try this version. It should take into account the percentage of rewuired votes when displaying the message. KillHeliVote2.cs
  11. Snaplatack

    A couple of problems

    Edit. Little divide by 0 bug. Whoops. Try this one KillHeliVote2.cs
  12. Snaplatack

    A couple of problems

    Try this version. Should auto klill the helis too if the vote is the correct percentage if a voter logs off. KillHeliVote2.cs
  13. Snaplatack

    A couple of problems

    No fucking clue. Lmao. I'll look into it tonight.
  14. Snaplatack

    A couple of problems

    Ah. interesting. Did they have the blacklisted perm? Also, if its easier we can take this to discord
  15. Snaplatack

    A couple of problems

    You can change it in the config. Like this "A Patrol Helicopter has appeared!\nCast your vote with <color=#87a3ff>/{2}</color> to kill it!\n{0}/{1} needed players have voted!" Ill update all messages that are like that to use that format tho. Thanks again for testing my dude!
  16. Snaplatack

    A couple of problems

    Give this one a swing. I couldnt reproduce the 2 message bug you were talking about. Fixed the toasts actually working as intended and the 0/1 votes now read as whats below "A Patrol Helicopter has appeared!\nCast your vote with <color=#87a3ff>/{2}</color> to kill it!\nWe still need {0} out of {1} votes!" Ofc that m essage is a config option so you can change it as you see fit. KillHeliVote2.cs
  17. Just ask that developer. They can hel;p you more than I can.
  18. Snaplatack

    A couple of problems

    Ill look into those problems. The vote goes up to the max amount of people required to vote. I can make it count down if that makes more sense
  19. Snaplatack

    A couple of problems

    Care to test out this version? It wont actually be named KillHeliVote2 just doing that for now when rewriting KillHeliVote2.cs
  20. Snaplatack

    A couple of problems

    If you wish to do that it's fine. Feel free to send it to me for me to review. I'm in the middle of rewriting it since it's horrendous lmao. This was my first plugin I ever made lol
  21. Snaplatack

    A couple of problems

    Ill look into this tomorrow. I saw your post on Umod but got lost with real life stuff happening. sorry...
  22. Snaplatack

    A couple of problems

    Changed Status from Pending to Work in Progress
  23. This trims bushes. It doesn't uproot them lol. But I see what you mean. I might look into it. No promises yet.
  24. Snaplatack

    Error

    Changed Status from Pending to Fixed Changed Fixed In to Next Version

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.6k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.