Epsilon Garage - Installation

Follow the steps below to install the garage script on your server.

Step 1: SQL Import

install.sql
CREATE TABLE IF NOT EXISTS `epsilon_garages` (
    `id` INT AUTO_INCREMENT PRIMARY KEY,
    `name` VARCHAR(50) NOT NULL UNIQUE,
    `label` VARCHAR(100) NOT NULL,
    `type` VARCHAR(20) DEFAULT 'car',
    `coords` LONGTEXT
);

ALTER TABLE `owned_vehicles`
ADD COLUMN IF NOT EXISTS `garage` VARCHAR(50) DEFAULT 'default',
ADD COLUMN IF NOT EXISTS `damage` LONGTEXT DEFAULT NULL,
ADD COLUMN IF NOT EXISTS `fuel` INT DEFAULT 100;

Step 2: server.cfg

server.cfg
ensure oxmysql
ensure es_extended  # or qb-core

ensure epsilon-garage
Installation complete. Set up garage locations from the Configuration page.