Vehicle Configuration
The vehicle configuration system works in a similar way to the arena system. Each .yml inside the folder "plugins/BattleRoyale/vehicle" is a different configuration. This way each battlefield can have a different vehicle configuration; but also different battlefields can use the same vehicle configuration. Note that if you don't specify which vehicle configuration a particular battlefield will use, a random vehicle configuration from the loot configurations folder will be used.
Each section in a vehicle configuration represents a vehicle with a certain spawning chance. Of course a vehicles plugin is required to enable vehicles.
How to setup a vehicle section
Simply create a new section, then specify some values:
chance: Chance/probability of spawning. A value between 0 or 100 is recommended, however you can enter a number even greater than 100.
vehicle-name: The vehicle to spawn. This value refers to a vehicle in a vehicles plugin.
fuel:
enable: Whether or not to enable/disable the fuel system. Note that there might be vehicle plugins that don't support the fuel system.
initial-fuel: The fuel the vehicle will spawn with.
Here is an example vehicle configuration:
(vehicles shown in this configuration are QualityArmoryVehicle vehicles)
Last updated