Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Vehicle Scripts

esx insurance

Core Insurance (ESX)

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Dependencies
mysql-asyncmythic_notify
File size
305.7 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Core Insurance is a vehicle insurance script for ESX servers. Players insure their owned vehicles at an insurance desk and can claim a lost vehicle back, with each plan setting its own prices, claim time and cooldown.

Features

  • Three preset insurance plans (Basic, Advanced, Premium), each with a signup fee, a recurring payment, a claim fee, a claim cooldown and a claim time
  • Recurring insurance payments from the bank at a configurable interval (default 3600 seconds), with an optional notification; if a player can't pay, the insurance is removed
  • Claimed vehicles spawn at configurable parking lots and a waypoint is set; there is support for several lots
  • By default a vehicle can only be claimed when it doesn't already exist in the world (CanClaimExisting, experimental when enabled)
  • Option to allow or block insuring vehicles that are not stored (CanInsureNotStored)
  • Option to spawn claimed vehicles locked (SpawnLocked)
  • Optional payment with Core Credits (UsingCoreCredits, off by default) to get the vehicle instantly without the claim time
  • HTML menu with car brand logo images and a map blip for the insurance desk
  • All texts editable in config.lua

Requirements

  • ESX with the owned_vehicles table
  • mysql-async
  • mythic_notify for the default notifications (you can change the SendTextMessage function in the config)
  • Core Credits only if you enable credit payments

Installation

  • Import core_insurance.sql. It adds the insurance and cooldown columns to owned_vehicles.
  • Place the core_insurance folder in your resources folder.
  • Add ensure core_insurance to your server.cfg.
  • Set the insurance desk, parking lots and plans in config.lua.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Not for your framework

    JG Dealerships

    JG Scripts

    $30.00$21.00
  • Car Radio
    • ESX
    • QBCore, vRP
    Not for your framework

    Car Music System V3 [Standalone]

    $14.99$10.49
  • Simple ESX HUD FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    $9.00$6.30
  • mCarControl
    • ESX
    • QBCore
    Not for your framework

    CodeM mCarControl

    CodeM

    $5.00$3.50
  • Contract ESX
    • ESX
    Not for your framework

    okokContract

    okok Scripts

    $13.99$9.79
  • Quasar Vehiclekeys 2.0 FiveM resource preview 2
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    $10.00$7.00
  • CodeM mVehicleshop v2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    CodeM mVehicleshop v2

    CodeM

    $15.00$10.50
  • Smart Motorways
    • ESX
    • QBCore, Qbox, vRP
    Not for your framework

    London Studios Smart Motorways

    London Studios

    $30.00$21.00