Live
badgyver published Npc BandsWrecks published The DiverWrecks followed @JeffGoldblumeZA_Machete published ShoppyStock EditorWizla reacted 👍 to Triviamagnumk reacted 🔥 to Zombie AnimalsSilent_Creations published Node-loot IslandSilent_Creations published Halloween RaidIslandsSilent_Creations published New Haven OutpostAmanda Davis followed @Silent_Creations𝐻𝒾𝑔𝒽𝑀𝒾𝓁𝑒𝓈 followed @Silent_CreationsSilent_Creations published Map DecorMabel published TriviaSilent_Creations published Murder FarmSilent_Creations published The Morgue Silent_Creations published Large Mod/Staff RoomSilent_Creations published Halloween DecorSilent_Creations published 5 Pack of Custom Build LocationsSilent_Creations published Mini Raid Islands 5 PackSilent_Creations published Small Mod/Staff RoomSilent_Creations published 2 Pack Custom Raid IslandsSilent_Creations published Silents Heli Tower V2Silent_Creations published The Auto ShopSilent_Creations published Modular Road TunnelsSilent_Creations published Node-Loot Island V2Silent_Creations published Roadside WarehouseSilent_Creations published Silents ArenaSilent_Creations published Sewage Treatment PlantSilent_Creations published Black Rock Medical CenterSilent_Creations published Mills Trailer Park
Browse/Rust/Plugins/Electric Vehicles

Electric Vehicles

Electric Vehicles
Make all vehicles electric!
Description

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:

code
1{
2 "Plugin Settings": {
3 "Make all vehicles on map electric": false,
4 "Clear data on new wipe": true,
5 "Allow EV engines to be replaced with a frunk (storage container)": true,
6 "Amount of storage slots to add to frunk for EVs [Max = 48]": 5
7 },
8 "Commands & Permissions": {
9 "Convert own vehicle permission": "electricvehicles.convertownvehicle",
10 "Convert any vehicle permission": "electricvehicles.convertanyvehicle",
11 "Convert vehicle commands": [
12 "convertev",
13 "electricvehicle",
14 "electrify",
15 "ev"
16 ],
17 "Reset all vehicles permission": "electricvehicles.resetallevs",
18 "Reset all vehicles commands": [
19 "resetallevs",
20 "resetallelectricvehicles",
21 "unelectrify",
22 "evclearall"
23 ]
24 },
25 "Version": {
26 "Major": 1,
27 "Minor": 0,
28 "Patch": 1
29 }
30}

Default Vehicle Data

code
1{
2 "Vehicles": {
3 "minicopter.entity": {
4 "Vehicle display name": "Minicopter",
5 "Counter local position": "(0.00, 0.35, 1.85)",
6 "Counter local rotation": "(-45.00, 180.00, 0.00)",
7 "Hide counter while driving": true,
8 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
9 "fuse": {
10 "Remove battery when health hits 0": true,
11 "Item health amount to consume per second": 3.0,
12 "Item health amount to charge per second": 1.0,
13 "Item skinIDs [0 = vanilla]": [
14 0
15 ]
16 },
17 "electric.battery.rechargable.small": {
18 "Remove battery when health hits 0": false,
19 "Item health amount to consume per second": 1.0,
20 "Item health amount to charge per second": 1.0,
21 "Item skinIDs [0 = vanilla]": [
22 0
23 ]
24 },
25 "electric.battery.rechargable.medium": {
26 "Remove battery when health hits 0": false,
27 "Item health amount to consume per second": 0.5,
28 "Item health amount to charge per second": 1.0,
29 "Item skinIDs [0 = vanilla]": [
30 0
31 ]
32 },
33 "electric.battery.rechargable.large": {
34 "Remove battery when health hits 0": false,
35 "Item health amount to consume per second": 0.1,
36 "Item health amount to charge per second": 1.0,
37 "Item skinIDs [0 = vanilla]": [
38 0
39 ]
40 },
41 "electric.generator.small": {
42 "Remove battery when health hits 0": false,
43 "Item health amount to consume per second": 0.0,
44 "Item health amount to charge per second": 1.0,
45 "Item skinIDs [0 = vanilla]": [
46 0
47 ]
48 }
49 }
50 },
51 "attackhelicopter.entity": {
52 "Vehicle display name": "Attack Helicopter",
53 "Counter local position": "(0.25, 2.38, 0.70)",
54 "Counter local rotation": "(60.00, 180.00, 0.00)",
55 "Hide counter while driving": false,
56 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
57 "fuse": {
58 "Remove battery when health hits 0": true,
59 "Item health amount to consume per second": 3.0,
60 "Item health amount to charge per second": 1.0,
61 "Item skinIDs [0 = vanilla]": [
62 0
63 ]
64 },
65 "electric.battery.rechargable.small": {
66 "Remove battery when health hits 0": false,
67 "Item health amount to consume per second": 1.0,
68 "Item health amount to charge per second": 1.0,
69 "Item skinIDs [0 = vanilla]": [
70 0
71 ]
72 },
73 "electric.battery.rechargable.medium": {
74 "Remove battery when health hits 0": false,
75 "Item health amount to consume per second": 0.5,
76 "Item health amount to charge per second": 1.0,
77 "Item skinIDs [0 = vanilla]": [
78 0
79 ]
80 },
81 "electric.battery.rechargable.large": {
82 "Remove battery when health hits 0": false,
83 "Item health amount to consume per second": 0.1,
84 "Item health amount to charge per second": 1.0,
85 "Item skinIDs [0 = vanilla]": [
86 0
87 ]
88 },
89 "electric.generator.small": {
90 "Remove battery when health hits 0": false,
91 "Item health amount to consume per second": 0.0,
92 "Item health amount to charge per second": 1.0,
93 "Item skinIDs [0 = vanilla]": [
94 0
95 ]
96 }
97 }
98 },
99 "scraptransporthelicopter": {
100 "Vehicle display name": "Scrap Helicopter",
101 "Counter local position": "(0.00, 1.50, 3.30)",
102 "Counter local rotation": "(-15.00, 180.00, 0.00)",
103 "Hide counter while driving": false,
104 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
105 "fuse": {
106 "Remove battery when health hits 0": true,
107 "Item health amount to consume per second": 3.0,
108 "Item health amount to charge per second": 1.0,
109 "Item skinIDs [0 = vanilla]": [
110 0
111 ]
112 },
113 "electric.battery.rechargable.small": {
114 "Remove battery when health hits 0": false,
115 "Item health amount to consume per second": 1.0,
116 "Item health amount to charge per second": 1.0,
117 "Item skinIDs [0 = vanilla]": [
118 0
119 ]
120 },
121 "electric.battery.rechargable.medium": {
122 "Remove battery when health hits 0": false,
123 "Item health amount to consume per second": 0.5,
124 "Item health amount to charge per second": 1.0,
125 "Item skinIDs [0 = vanilla]": [
126 0
127 ]
128 },
129 "electric.battery.rechargable.large": {
130 "Remove battery when health hits 0": false,
131 "Item health amount to consume per second": 0.1,
132 "Item health amount to charge per second": 1.0,
133 "Item skinIDs [0 = vanilla]": [
134 0
135 ]
136 },
137 "electric.generator.small": {
138 "Remove battery when health hits 0": false,
139 "Item health amount to consume per second": 0.0,
140 "Item health amount to charge per second": 1.0,
141 "Item skinIDs [0 = vanilla]": [
142 0
143 ]
144 }
145 }
146 },
147 "2module_car_spawned.entity": {
148 "Vehicle display name": "Small Car",
149 "Counter local position": "(0.00, 0.60, 0.15)",
150 "Counter local rotation": "(-20.00, 180.00, 0.00)",
151 "Hide counter while driving": false,
152 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
153 "fuse": {
154 "Remove battery when health hits 0": true,
155 "Item health amount to consume per second": 3.0,
156 "Item health amount to charge per second": 1.0,
157 "Item skinIDs [0 = vanilla]": [
158 0
159 ]
160 },
161 "electric.battery.rechargable.small": {
162 "Remove battery when health hits 0": false,
163 "Item health amount to consume per second": 1.0,
164 "Item health amount to charge per second": 1.0,
165 "Item skinIDs [0 = vanilla]": [
166 0
167 ]
168 },
169 "electric.battery.rechargable.medium": {
170 "Remove battery when health hits 0": false,
171 "Item health amount to consume per second": 0.5,
172 "Item health amount to charge per second": 1.0,
173 "Item skinIDs [0 = vanilla]": [
174 0
175 ]
176 },
177 "electric.battery.rechargable.large": {
178 "Remove battery when health hits 0": false,
179 "Item health amount to consume per second": 0.1,
180 "Item health amount to charge per second": 1.0,
181 "Item skinIDs [0 = vanilla]": [
182 0
183 ]
184 },
185 "electric.generator.small": {
186 "Remove battery when health hits 0": false,
187 "Item health amount to consume per second": 0.0,
188 "Item health amount to charge per second": 1.0,
189 "Item skinIDs [0 = vanilla]": [
190 0
191 ]
192 }
193 }
194 },
195 "3module_car_spawned.entity": {
196 "Vehicle display name": "Medium Car",
197 "Counter local position": "(0.00, 0.60, 0.15)",
198 "Counter local rotation": "(-20.00, 180.00, 0.00)",
199 "Hide counter while driving": false,
200 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
201 "fuse": {
202 "Remove battery when health hits 0": true,
203 "Item health amount to consume per second": 3.0,
204 "Item health amount to charge per second": 1.0,
205 "Item skinIDs [0 = vanilla]": [
206 0
207 ]
208 },
209 "electric.battery.rechargable.small": {
210 "Remove battery when health hits 0": false,
211 "Item health amount to consume per second": 1.0,
212 "Item health amount to charge per second": 1.0,
213 "Item skinIDs [0 = vanilla]": [
214 0
215 ]
216 },
217 "electric.battery.rechargable.medium": {
218 "Remove battery when health hits 0": false,
219 "Item health amount to consume per second": 0.5,
220 "Item health amount to charge per second": 1.0,
221 "Item skinIDs [0 = vanilla]": [
222 0
223 ]
224 },
225 "electric.battery.rechargable.large": {
226 "Remove battery when health hits 0": false,
227 "Item health amount to consume per second": 0.1,
228 "Item health amount to charge per second": 1.0,
229 "Item skinIDs [0 = vanilla]": [
230 0
231 ]
232 },
233 "electric.generator.small": {
234 "Remove battery when health hits 0": false,
235 "Item health amount to consume per second": 0.0,
236 "Item health amount to charge per second": 1.0,
237 "Item skinIDs [0 = vanilla]": [
238 0
239 ]
240 }
241 }
242 },
243 "4module_car_spawned.entity": {
244 "Vehicle display name": "Large Car",
245 "Counter local position": "(0.00, 0.60, 0.15)",
246 "Counter local rotation": "(-20.00, 180.00, 0.00)",
247 "Hide counter while driving": false,
248 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
249 "fuse": {
250 "Remove battery when health hits 0": true,
251 "Item health amount to consume per second": 3.0,
252 "Item health amount to charge per second": 1.0,
253 "Item skinIDs [0 = vanilla]": [
254 0
255 ]
256 },
257 "electric.battery.rechargable.small": {
258 "Remove battery when health hits 0": false,
259 "Item health amount to consume per second": 1.0,
260 "Item health amount to charge per second": 1.0,
261 "Item skinIDs [0 = vanilla]": [
262 0
263 ]
264 },
265 "electric.battery.rechargable.medium": {
266 "Remove battery when health hits 0": false,
267 "Item health amount to consume per second": 0.5,
268 "Item health amount to charge per second": 1.0,
269 "Item skinIDs [0 = vanilla]": [
270 0
271 ]
272 },
273 "electric.battery.rechargable.large": {
274 "Remove battery when health hits 0": false,
275 "Item health amount to consume per second": 0.1,
276 "Item health amount to charge per second": 1.0,
277 "Item skinIDs [0 = vanilla]": [
278 0
279 ]
280 },
281 "electric.generator.small": {
282 "Remove battery when health hits 0": false,
283 "Item health amount to consume per second": 0.0,
284 "Item health amount to charge per second": 1.0,
285 "Item skinIDs [0 = vanilla]": [
286 0
287 ]
288 }
289 }
290 },
291 "motorbike": {
292 "Vehicle display name": "Motor Bike",
293 "Counter local position": "(0.00, 1.12, 0.15)",
294 "Counter local rotation": "(-65.00, 180.00, 0.00)",
295 "Hide counter while driving": true,
296 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
297 "fuse": {
298 "Remove battery when health hits 0": true,
299 "Item health amount to consume per second": 3.0,
300 "Item health amount to charge per second": 1.0,
301 "Item skinIDs [0 = vanilla]": [
302 0
303 ]
304 },
305 "electric.battery.rechargable.small": {
306 "Remove battery when health hits 0": false,
307 "Item health amount to consume per second": 1.0,
308 "Item health amount to charge per second": 1.0,
309 "Item skinIDs [0 = vanilla]": [
310 0
311 ]
312 },
313 "electric.battery.rechargable.medium": {
314 "Remove battery when health hits 0": false,
315 "Item health amount to consume per second": 0.5,
316 "Item health amount to charge per second": 1.0,
317 "Item skinIDs [0 = vanilla]": [
318 0
319 ]
320 },
321 "electric.battery.rechargable.large": {
322 "Remove battery when health hits 0": false,
323 "Item health amount to consume per second": 0.1,
324 "Item health amount to charge per second": 1.0,
325 "Item skinIDs [0 = vanilla]": [
326 0
327 ]
328 },
329 "electric.generator.small": {
330 "Remove battery when health hits 0": false,
331 "Item health amount to consume per second": 0.0,
332 "Item health amount to charge per second": 1.0,
333 "Item skinIDs [0 = vanilla]": [
334 0
335 ]
336 }
337 }
338 },
339 "motorbike_sidecar": {
340 "Vehicle display name": "Motor Bike Sidecar",
341 "Counter local position": "(0.00, 1.12, 0.15)",
342 "Counter local rotation": "(-65.00, 180.00, 0.00)",
343 "Hide counter while driving": false,
344 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
345 "fuse": {
346 "Remove battery when health hits 0": true,
347 "Item health amount to consume per second": 3.0,
348 "Item health amount to charge per second": 1.0,
349 "Item skinIDs [0 = vanilla]": [
350 0
351 ]
352 },
353 "electric.battery.rechargable.small": {
354 "Remove battery when health hits 0": false,
355 "Item health amount to consume per second": 1.0,
356 "Item health amount to charge per second": 1.0,
357 "Item skinIDs [0 = vanilla]": [
358 0
359 ]
360 },
361 "electric.battery.rechargable.medium": {
362 "Remove battery when health hits 0": false,
363 "Item health amount to consume per second": 0.5,
364 "Item health amount to charge per second": 1.0,
365 "Item skinIDs [0 = vanilla]": [
366 0
367 ]
368 },
369 "electric.battery.rechargable.large": {
370 "Remove battery when health hits 0": false,
371 "Item health amount to consume per second": 0.1,
372 "Item health amount to charge per second": 1.0,
373 "Item skinIDs [0 = vanilla]": [
374 0
375 ]
376 },
377 "electric.generator.small": {
378 "Remove battery when health hits 0": false,
379 "Item health amount to consume per second": 0.0,
380 "Item health amount to charge per second": 1.0,
381 "Item skinIDs [0 = vanilla]": [
382 0
383 ]
384 }
385 }
386 },
387 "snowmobile": {
388 "Vehicle display name": "Snowmobile",
389 "Counter local position": "(0.08, 0.80, 0.23)",
390 "Counter local rotation": "(-45.00, 180.00, 0.00)",
391 "Hide counter while driving": false,
392 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
393 "fuse": {
394 "Remove battery when health hits 0": true,
395 "Item health amount to consume per second": 3.0,
396 "Item health amount to charge per second": 1.0,
397 "Item skinIDs [0 = vanilla]": [
398 0
399 ]
400 },
401 "electric.battery.rechargable.small": {
402 "Remove battery when health hits 0": false,
403 "Item health amount to consume per second": 1.0,
404 "Item health amount to charge per second": 1.0,
405 "Item skinIDs [0 = vanilla]": [
406 0
407 ]
408 },
409 "electric.battery.rechargable.medium": {
410 "Remove battery when health hits 0": false,
411 "Item health amount to consume per second": 0.5,
412 "Item health amount to charge per second": 1.0,
413 "Item skinIDs [0 = vanilla]": [
414 0
415 ]
416 },
417 "electric.battery.rechargable.large": {
418 "Remove battery when health hits 0": false,
419 "Item health amount to consume per second": 0.1,
420 "Item health amount to charge per second": 1.0,
421 "Item skinIDs [0 = vanilla]": [
422 0
423 ]
424 },
425 "electric.generator.small": {
426 "Remove battery when health hits 0": false,
427 "Item health amount to consume per second": 0.0,
428 "Item health amount to charge per second": 1.0,
429 "Item skinIDs [0 = vanilla]": [
430 0
431 ]
432 }
433 }
434 },
435 "tomahasnowmobile": {
436 "Vehicle display name": "Tomoha Snowmobile",
437 "Counter local position": "(0.20, 0.78, 0.00)",
438 "Counter local rotation": "(-5.00, 180.00, 0.00)",
439 "Hide counter while driving": false,
440 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
441 "fuse": {
442 "Remove battery when health hits 0": true,
443 "Item health amount to consume per second": 3.0,
444 "Item health amount to charge per second": 1.0,
445 "Item skinIDs [0 = vanilla]": [
446 0
447 ]
448 },
449 "electric.battery.rechargable.small": {
450 "Remove battery when health hits 0": false,
451 "Item health amount to consume per second": 1.0,
452 "Item health amount to charge per second": 1.0,
453 "Item skinIDs [0 = vanilla]": [
454 0
455 ]
456 },
457 "electric.battery.rechargable.medium": {
458 "Remove battery when health hits 0": false,
459 "Item health amount to consume per second": 0.5,
460 "Item health amount to charge per second": 1.0,
461 "Item skinIDs [0 = vanilla]": [
462 0
463 ]
464 },
465 "electric.battery.rechargable.large": {
466 "Remove battery when health hits 0": false,
467 "Item health amount to consume per second": 0.1,
468 "Item health amount to charge per second": 1.0,
469 "Item skinIDs [0 = vanilla]": [
470 0
471 ]
472 },
473 "electric.generator.small": {
474 "Remove battery when health hits 0": false,
475 "Item health amount to consume per second": 0.0,
476 "Item health amount to charge per second": 1.0,
477 "Item skinIDs [0 = vanilla]": [
478 0
479 ]
480 }
481 }
482 },
483 "submarinesolo.entity": {
484 "Vehicle display name": "Solo Submarine",
485 "Counter local position": "(-0.25, 1.16, -0.68)",
486 "Counter local rotation": "(-114.00, 90.00, 0.00)",
487 "Hide counter while driving": false,
488 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
489 "fuse": {
490 "Remove battery when health hits 0": true,
491 "Item health amount to consume per second": 3.0,
492 "Item health amount to charge per second": 1.0,
493 "Item skinIDs [0 = vanilla]": [
494 0
495 ]
496 },
497 "electric.battery.rechargable.small": {
498 "Remove battery when health hits 0": false,
499 "Item health amount to consume per second": 1.0,
500 "Item health amount to charge per second": 1.0,
501 "Item skinIDs [0 = vanilla]": [
502 0
503 ]
504 },
505 "electric.battery.rechargable.medium": {
506 "Remove battery when health hits 0": false,
507 "Item health amount to consume per second": 0.5,
508 "Item health amount to charge per second": 1.0,
509 "Item skinIDs [0 = vanilla]": [
510 0
511 ]
512 },
513 "electric.battery.rechargable.large": {
514 "Remove battery when health hits 0": false,
515 "Item health amount to consume per second": 0.1,
516 "Item health amount to charge per second": 1.0,
517 "Item skinIDs [0 = vanilla]": [
518 0
519 ]
520 },
521 "electric.generator.small": {
522 "Remove battery when health hits 0": false,
523 "Item health amount to consume per second": 0.0,
524 "Item health amount to charge per second": 1.0,
525 "Item skinIDs [0 = vanilla]": [
526 0
527 ]
528 }
529 }
530 },
531 "submarineduo.entity": {
532 "Vehicle display name": "Duo Submarine",
533 "Counter local position": "(0.00, 1.35, -1.47)",
534 "Counter local rotation": "(-12.00, 180.00, 0.00)",
535 "Hide counter while driving": false,
536 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
537 "fuse": {
538 "Remove battery when health hits 0": true,
539 "Item health amount to consume per second": 3.0,
540 "Item health amount to charge per second": 1.0,
541 "Item skinIDs [0 = vanilla]": [
542 0
543 ]
544 },
545 "electric.battery.rechargable.small": {
546 "Remove battery when health hits 0": false,
547 "Item health amount to consume per second": 1.0,
548 "Item health amount to charge per second": 1.0,
549 "Item skinIDs [0 = vanilla]": [
550 0
551 ]
552 },
553 "electric.battery.rechargable.medium": {
554 "Remove battery when health hits 0": false,
555 "Item health amount to consume per second": 0.5,
556 "Item health amount to charge per second": 1.0,
557 "Item skinIDs [0 = vanilla]": [
558 0
559 ]
560 },
561 "electric.battery.rechargable.large": {
562 "Remove battery when health hits 0": false,
563 "Item health amount to consume per second": 0.1,
564 "Item health amount to charge per second": 1.0,
565 "Item skinIDs [0 = vanilla]": [
566 0
567 ]
568 },
569 "electric.generator.small": {
570 "Remove battery when health hits 0": false,
571 "Item health amount to consume per second": 0.0,
572 "Item health amount to charge per second": 1.0,
573 "Item skinIDs [0 = vanilla]": [
574 0
575 ]
576 }
577 }
578 },
579 "ptboat": {
580 "Vehicle display name": "PT Boat",
581 "Counter local position": "(-0.60, 2.39, 0.27)",
582 "Counter local rotation": "(0.00, 180.00, 0.00)",
583 "Hide counter while driving": false,
584 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
585 "fuse": {
586 "Remove battery when health hits 0": true,
587 "Item health amount to consume per second": 3.0,
588 "Item health amount to charge per second": 1.0,
589 "Item skinIDs [0 = vanilla]": [
590 0
591 ]
592 },
593 "electric.battery.rechargable.small": {
594 "Remove battery when health hits 0": false,
595 "Item health amount to consume per second": 1.0,
596 "Item health amount to charge per second": 1.0,
597 "Item skinIDs [0 = vanilla]": [
598 0
599 ]
600 },
601 "electric.battery.rechargable.medium": {
602 "Remove battery when health hits 0": false,
603 "Item health amount to consume per second": 0.5,
604 "Item health amount to charge per second": 1.0,
605 "Item skinIDs [0 = vanilla]": [
606 0
607 ]
608 },
609 "electric.battery.rechargable.large": {
610 "Remove battery when health hits 0": false,
611 "Item health amount to consume per second": 0.1,
612 "Item health amount to charge per second": 1.0,
613 "Item skinIDs [0 = vanilla]": [
614 0
615 ]
616 },
617 "electric.generator.small": {
618 "Remove battery when health hits 0": false,
619 "Item health amount to consume per second": 0.0,
620 "Item health amount to charge per second": 1.0,
621 "Item skinIDs [0 = vanilla]": [
622 0
623 ]
624 }
625 }
626 },
627 "rhib": {
628 "Vehicle display name": "RHIB",
629 "Counter local position": "(-0.23, 2.00, 0.55)",
630 "Counter local rotation": "(-30.00, 180.00, 0.00)",
631 "Hide counter while driving": false,
632 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
633 "fuse": {
634 "Remove battery when health hits 0": true,
635 "Item health amount to consume per second": 3.0,
636 "Item health amount to charge per second": 1.0,
637 "Item skinIDs [0 = vanilla]": [
638 0
639 ]
640 },
641 "electric.battery.rechargable.small": {
642 "Remove battery when health hits 0": false,
643 "Item health amount to consume per second": 1.0,
644 "Item health amount to charge per second": 1.0,
645 "Item skinIDs [0 = vanilla]": [
646 0
647 ]
648 },
649 "electric.battery.rechargable.medium": {
650 "Remove battery when health hits 0": false,
651 "Item health amount to consume per second": 0.5,
652 "Item health amount to charge per second": 1.0,
653 "Item skinIDs [0 = vanilla]": [
654 0
655 ]
656 },
657 "electric.battery.rechargable.large": {
658 "Remove battery when health hits 0": false,
659 "Item health amount to consume per second": 0.1,
660 "Item health amount to charge per second": 1.0,
661 "Item skinIDs [0 = vanilla]": [
662 0
663 ]
664 },
665 "electric.generator.small": {
666 "Remove battery when health hits 0": false,
667 "Item health amount to consume per second": 0.0,
668 "Item health amount to charge per second": 1.0,
669 "Item skinIDs [0 = vanilla]": [
670 0
671 ]
672 }
673 }
674 },
675 "rowboat": {
676 "Vehicle display name": "Rowboat",
677 "Counter local position": "(0.00, 0.62, 1.73)",
678 "Counter local rotation": "(0.00, 180.00, 0.00)",
679 "Hide counter while driving": false,
680 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
681 "fuse": {
682 "Remove battery when health hits 0": true,
683 "Item health amount to consume per second": 3.0,
684 "Item health amount to charge per second": 1.0,
685 "Item skinIDs [0 = vanilla]": [
686 0
687 ]
688 },
689 "electric.battery.rechargable.small": {
690 "Remove battery when health hits 0": false,
691 "Item health amount to consume per second": 1.0,
692 "Item health amount to charge per second": 1.0,
693 "Item skinIDs [0 = vanilla]": [
694 0
695 ]
696 },
697 "electric.battery.rechargable.medium": {
698 "Remove battery when health hits 0": false,
699 "Item health amount to consume per second": 0.5,
700 "Item health amount to charge per second": 1.0,
701 "Item skinIDs [0 = vanilla]": [
702 0
703 ]
704 },
705 "electric.battery.rechargable.large": {
706 "Remove battery when health hits 0": false,
707 "Item health amount to consume per second": 0.1,
708 "Item health amount to charge per second": 1.0,
709 "Item skinIDs [0 = vanilla]": [
710 0
711 ]
712 },
713 "electric.generator.small": {
714 "Remove battery when health hits 0": false,
715 "Item health amount to consume per second": 0.0,
716 "Item health amount to charge per second": 1.0,
717 "Item skinIDs [0 = vanilla]": [
718 0
719 ]
720 }
721 }
722 },
723 "tugboat": {
724 "Vehicle display name": "Tugboat",
725 "Counter local position": "(0.98, 6.68, 3.70)",
726 "Counter local rotation": "(-50.00, -135.00, 0.00)",
727 "Hide counter while driving": false,
728 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
729 "fuse": {
730 "Remove battery when health hits 0": true,
731 "Item health amount to consume per second": 3.0,
732 "Item health amount to charge per second": 1.0,
733 "Item skinIDs [0 = vanilla]": [
734 0
735 ]
736 },
737 "electric.battery.rechargable.small": {
738 "Remove battery when health hits 0": false,
739 "Item health amount to consume per second": 1.0,
740 "Item health amount to charge per second": 1.0,
741 "Item skinIDs [0 = vanilla]": [
742 0
743 ]
744 },
745 "electric.battery.rechargable.medium": {
746 "Remove battery when health hits 0": false,
747 "Item health amount to consume per second": 0.5,
748 "Item health amount to charge per second": 1.0,
749 "Item skinIDs [0 = vanilla]": [
750 0
751 ]
752 },
753 "electric.battery.rechargable.large": {
754 "Remove battery when health hits 0": false,
755 "Item health amount to consume per second": 0.1,
756 "Item health amount to charge per second": 1.0,
757 "Item skinIDs [0 = vanilla]": [
758 0
759 ]
760 },
761 "electric.generator.small": {
762 "Remove battery when health hits 0": false,
763 "Item health amount to consume per second": 0.0,
764 "Item health amount to charge per second": 1.0,
765 "Item skinIDs [0 = vanilla]": [
766 0
767 ]
768 }
769 }
770 },
771 "playerboat": {
772 "Vehicle display name": "Player Boat",
773 "Counter local position": "(0.00, 0.85, 0.65)",
774 "Counter local rotation": "(0.00, 0.00, 0.00)",
775 "Hide counter while driving": false,
776 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
777 "fuse": {
778 "Remove battery when health hits 0": true,
779 "Item health amount to consume per second": 3.0,
780 "Item health amount to charge per second": 1.0,
781 "Item skinIDs [0 = vanilla]": [
782 0
783 ]
784 },
785 "electric.battery.rechargable.small": {
786 "Remove battery when health hits 0": false,
787 "Item health amount to consume per second": 1.0,
788 "Item health amount to charge per second": 1.0,
789 "Item skinIDs [0 = vanilla]": [
790 0
791 ]
792 },
793 "electric.battery.rechargable.medium": {
794 "Remove battery when health hits 0": false,
795 "Item health amount to consume per second": 0.5,
796 "Item health amount to charge per second": 1.0,
797 "Item skinIDs [0 = vanilla]": [
798 0
799 ]
800 },
801 "electric.battery.rechargable.large": {
802 "Remove battery when health hits 0": false,
803 "Item health amount to consume per second": 0.1,
804 "Item health amount to charge per second": 1.0,
805 "Item skinIDs [0 = vanilla]": [
806 0
807 ]
808 },
809 "electric.generator.small": {
810 "Remove battery when health hits 0": false,
811 "Item health amount to consume per second": 0.0,
812 "Item health amount to charge per second": 1.0,
813 "Item skinIDs [0 = vanilla]": [
814 0
815 ]
816 }
817 }
818 },
819 "locomotive.entity": {
820 "Vehicle display name": "Locomotive",
821 "Counter local position": "(-0.50, 3.00, 5.70)",
822 "Counter local rotation": "(180.00, 0.00, 0.00)",
823 "Hide counter while driving": false,
824 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
825 "fuse": {
826 "Remove battery when health hits 0": true,
827 "Item health amount to consume per second": 3.0,
828 "Item health amount to charge per second": 1.0,
829 "Item skinIDs [0 = vanilla]": [
830 0
831 ]
832 },
833 "electric.battery.rechargable.small": {
834 "Remove battery when health hits 0": false,
835 "Item health amount to consume per second": 1.0,
836 "Item health amount to charge per second": 1.0,
837 "Item skinIDs [0 = vanilla]": [
838 0
839 ]
840 },
841 "electric.battery.rechargable.medium": {
842 "Remove battery when health hits 0": false,
843 "Item health amount to consume per second": 0.5,
844 "Item health amount to charge per second": 1.0,
845 "Item skinIDs [0 = vanilla]": [
846 0
847 ]
848 },
849 "electric.battery.rechargable.large": {
850 "Remove battery when health hits 0": false,
851 "Item health amount to consume per second": 0.1,
852 "Item health amount to charge per second": 1.0,
853 "Item skinIDs [0 = vanilla]": [
854 0
855 ]
856 },
857 "electric.generator.small": {
858 "Remove battery when health hits 0": false,
859 "Item health amount to consume per second": 0.0,
860 "Item health amount to charge per second": 1.0,
861 "Item skinIDs [0 = vanilla]": [
862 0
863 ]
864 }
865 }
866 },
867 "workcart.entity": {
868 "Vehicle display name": "Workcart",
869 "Counter local position": "(0.10, 2.50, 1.82)",
870 "Counter local rotation": "(180.00, 0.00, 0.00)",
871 "Hide counter while driving": false,
872 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
873 "fuse": {
874 "Remove battery when health hits 0": true,
875 "Item health amount to consume per second": 3.0,
876 "Item health amount to charge per second": 1.0,
877 "Item skinIDs [0 = vanilla]": [
878 0
879 ]
880 },
881 "electric.battery.rechargable.small": {
882 "Remove battery when health hits 0": false,
883 "Item health amount to consume per second": 1.0,
884 "Item health amount to charge per second": 1.0,
885 "Item skinIDs [0 = vanilla]": [
886 0
887 ]
888 },
889 "electric.battery.rechargable.medium": {
890 "Remove battery when health hits 0": false,
891 "Item health amount to consume per second": 0.5,
892 "Item health amount to charge per second": 1.0,
893 "Item skinIDs [0 = vanilla]": [
894 0
895 ]
896 },
897 "electric.battery.rechargable.large": {
898 "Remove battery when health hits 0": false,
899 "Item health amount to consume per second": 0.1,
900 "Item health amount to charge per second": 1.0,
901 "Item skinIDs [0 = vanilla]": [
902 0
903 ]
904 },
905 "electric.generator.small": {
906 "Remove battery when health hits 0": false,
907 "Item health amount to consume per second": 0.0,
908 "Item health amount to charge per second": 1.0,
909 "Item skinIDs [0 = vanilla]": [
910 0
911 ]
912 }
913 }
914 },
915 "workcart_aboveground.entity": {
916 "Vehicle display name": "Workcart Above Ground",
917 "Counter local position": "(0.10, 2.50, 1.82)",
918 "Counter local rotation": "(180.00, 0.00, 0.00)",
919 "Hide counter while driving": false,
920 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
921 "fuse": {
922 "Remove battery when health hits 0": true,
923 "Item health amount to consume per second": 3.0,
924 "Item health amount to charge per second": 1.0,
925 "Item skinIDs [0 = vanilla]": [
926 0
927 ]
928 },
929 "electric.battery.rechargable.small": {
930 "Remove battery when health hits 0": false,
931 "Item health amount to consume per second": 1.0,
932 "Item health amount to charge per second": 1.0,
933 "Item skinIDs [0 = vanilla]": [
934 0
935 ]
936 },
937 "electric.battery.rechargable.medium": {
938 "Remove battery when health hits 0": false,
939 "Item health amount to consume per second": 0.5,
940 "Item health amount to charge per second": 1.0,
941 "Item skinIDs [0 = vanilla]": [
942 0
943 ]
944 },
945 "electric.battery.rechargable.large": {
946 "Remove battery when health hits 0": false,
947 "Item health amount to consume per second": 0.1,
948 "Item health amount to charge per second": 1.0,
949 "Item skinIDs [0 = vanilla]": [
950 0
951 ]
952 },
953 "electric.generator.small": {
954 "Remove battery when health hits 0": false,
955 "Item health amount to consume per second": 0.0,
956 "Item health amount to charge per second": 1.0,
957 "Item skinIDs [0 = vanilla]": [
958 0
959 ]
960 }
961 }
962 },
963 "workcart_aboveground2.entity": {
964 "Vehicle display name": "Workcart Above Ground",
965 "Counter local position": "(0.10, 2.50, 1.82)",
966 "Counter local rotation": "(180.00, 0.00, 0.00)",
967 "Hide counter while driving": false,
968 "Vehicle fuel settings [ITEM MUST HAVE HEALTH BAR TO WORK]": {
969 "fuse": {
970 "Remove battery when health hits 0": true,
971 "Item health amount to consume per second": 3.0,
972 "Item health amount to charge per second": 1.0,
973 "Item skinIDs [0 = vanilla]": [
974 0
975 ]
976 },
977 "electric.battery.rechargable.small": {
978 "Remove battery when health hits 0": false,
979 "Item health amount to consume per second": 1.0,
980 "Item health amount to charge per second": 1.0,
981 "Item skinIDs [0 = vanilla]": [
982 0
983 ]
984 },
985 "electric.battery.rechargable.medium": {
986 "Remove battery when health hits 0": false,
987 "Item health amount to consume per second": 0.5,
988 "Item health amount to charge per second": 1.0,
989 "Item skinIDs [0 = vanilla]": [
990 0
991 ]
992 },
993 "electric.battery.rechargable.large": {
994 "Remove battery when health hits 0": false,
995 "Item health amount to consume per second": 0.1,
996 "Item health amount to charge per second": 1.0,
997 "Item skinIDs [0 = vanilla]": [
998 0
999 ]
1000 },
1001 "electric.generator.small": {
1002 "Remove battery when health hits 0": false,
1003 "Item health amount to consume per second": 0.0,
1004 "Item health amount to charge per second": 1.0,
1005 "Item skinIDs [0 = vanilla]": [
1006 0
1007 ]
1008 }
1009 }
1010 }
1011 },
1012 "Version": {
1013 "Major": 1,
1014 "Minor": 0,
1015 "Patch": 1
1016 }
1017}

API:

csharp
1// Checks if the vehicle is an electric vehicle
2private bool IsElectricVehicle(BaseVehicle vehicle);
3private bool IsElectricVehicle(ulong vehicleID);
4
5// Converts the vehicle from the vanilla, gas powered version to an EV
6private void SetupElectricVehicle(BaseVehicle vehicle);
7private void SetupElectricVehicle(ulong vehicleID);
8
9// Resets the vehicle back to vanilla settings
10private void ResetElectricVehicle(BaseVehicle vehicle);
11private void ResetElectricVehicle(ulong vehicleID);
12
13// Returns the electric vehicle via the entity ID
14private BaseVehicle GetElectricVehicle(ulong vehicleID);
15
16// Gets the electric vehicles display name
17private string GetElectricVehicleDisplayName(BaseVehicle vehicle);
18private string GetElectricVehicleDisplayName(string vehicleName);
19
20// Checks if the player is a valid owner or in TC priv to do said action
21private bool IsValidElectricVehicleOwner(BasePlayer player, BaseVehicle vehicle);
22private bool IsValidElectricVehicleOwner(string player, ulong vehicleOwnerID);
23
24// Checks if an electric vehicle is currently charging
25private bool IsElectricVehicleCharging(ulong vehicleID);
26private bool IsElectricVehicleCharging(BaseVehicle vehicle);

Hooks:

code
1// Overrides the setup of a vehicle. Return null to allow setup.
2private object OnElectricVehicleSetup(BaseVehicle vehicle);
3
4// Overrides the reset of a vehicle. Return null to allow reset.
5private object OnElectricVehicleReset(BaseVehicle vehicle);
6
7// Called when the vehicle is charging. No return type.
8private void OnElectricVehicleChargeStart(BaseVehicle vehicle);
9
10// Called when the vehicle is disconnected. No return type.
11private void OnElectricVehicleChargeStop(BaseVehicle vehicle);
$10.00
Views1.2k
Downloads2
Purchases0
Rating 0.0
Version1.0.1
PlatformRust
CategoryPlugins
CompatibleOxide · Carbon
Size57 KB
PublishedApr 9, 2026
UpdatedJun 20, 2026
✓ Reviewed for safety and integrity