config.yml file is located in the plugin’s root folder (plugins/CoolCars/config.yml) and contains settings that affect the entire plugin.
Key System (keys)
This section defines how players access vehicles. You can create a GTA-style server where cars can be started without a key, or an RP-style server where a key is mandatory.
If
check-entire-inventory is disabled, the player must hold the key in their main or off-hand to start the engine.User Interface (Action Bar)
CoolCars displays important information (speed, fuel, status) directly above the player’s hotbar.Speedometer Settings (ui.action-bar.car)
- format: The string displayed to the player. Supports many placeholders.
- update-ticks: Update frequency.
2ticks is the ideal balance between smoothness and performance.
{speed_kmh}— Speed in km/h.{hp_bar}— Health bar.{fuel_percent}— Fuel percentage.{engine}— Engine status (On/Off).

Language Settings (language)
The plugin supports automatic player language detection.
- global: If
true, all players will see messages in the language specified indefault. - use-player-locale: If
true, the plugin will check the language selected in the player’s Minecraft client (EN, RU, etc.).
Database (database)
CoolCars saves data about car owners, their condition, and location.
- type:
sqlite(file) ormysql(for cross-server sync). - telemetry: If enabled, the plugin records event history (crashes, refueling) that can be viewed later.
Commands (commands)
You can restrict the use of certain administrative commands.
For example, car-heal allows instantly repairing a car. You can allow or deny the use of this command from the server console in the config.
