Spawn Any Vehicle with Full Customization

obviously mods like "mymini" exist, but has there been a "my Crane"? or a "myRhib" or a "mych47"? I know there might be a mod that gives you one of these but thats a one trick pony, we need a mod for ALL of these vehicles, with a toggle in the config file to select what can be spawned, that way people can download this mod and be like "well i want the bike, an the trike, but i dont want the cars or the mini, but yes to the attack chopper an chinook"

idea for the config

it would be nice to be able to edit these stats per vehicles
-cooldown
-maxiumperplayer
-MaxHp
-SpawnedHp
and a maxium of one vehicle per player, to stop people from spawning every single vehicle at once
and make the tugboat an exception to that rule as having a tugboat would decline you access from the mod

car
modular car 2 [spawns with nothing but a driver seat engine combo]
modular car 3 [spawns with nothing but a driver seat engine combo]
modular car 4 [spawns with nothing but a driver seat engine combo]
Pedalbike
trike
motorbike sidecar
motorbike
snowmobile
tomaha
horse
mini
scrappy
attackchopper
Chinook
Sub
Two Seater Sub
kayak
motorboat
tugboat
Rhib
locomotive
workcart
wagon
drone
sled
sled
DPV
Siegetower
Batteringram
mountedBallista
ballista
catapult
THE FUCKING CRANE!
 
Ik this is probably a really tedious mod to code sooo I wouldnt be surprised if your looking at this and thinking "well fuck that" so is cool if this just never becomes a thing, i just really want a personalized crane...
 
The cooldown stat is probably the most important one as it'll be what deters players from spawning the same vehicle every single time
 
I never digged into it, I think (I could be very wrong bout this) it just spawns a license plate on every vehicle, and restricted randoms from hijacking the vehicle
Besides, I don't think it matters because I don't think they're mod will let me spawn a personalized crane

You should make a '/mycrane' plugin :D
 
I just checked and its literally everything I described sooo uhh, yeah, ignore everything here, even the crane, cause they have a crane, Delete this, delete it all, BURN THE EVIDENCED
 
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Make sure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart