Ares Hydraulics - Configuration Guide

This guide is split into smaller pages:


🚀 Installation

Requirements

  • ares-core (dependency)

  • ox_lib (required)

  • Framework: ESX, QBCore/QBOX, or Standalone

  • Optional: ox_inventory, qb-inventory, or ESX inventory

Setup Steps

  1. Extract ares_hydraulics to your resources folder

  2. IMPORTANT: Folder must be named exactly ares_hydraulics

  3. Add to server.cfg:

  1. Add Item to Database (if using item-based system):

⚠️ Critical: Renaming the resource folder will break the script.


⚙️ Framework Configuration

Framework Detection

Setting
Options
Description

Framework

'auto', 'esx', 'qb-core', 'qbox', 'standalone'

Player/inventory management system

Inventory

'auto', 'ox_inventory', 'qb-inventory', 'esx'

Inventory system for item checks

RequireItem

boolean

Require hydraulic kit item to use system

Debug

boolean

Enable debug console logs

Automatic Detection (Recommended):

Manual Override:

Standalone Mode (No Framework):

Production Settings


📦 Item System

Inventory Item Aliases

Maps logical item names to framework-specific inventory items:

Why Aliases? Different inventory systems may use different item names. This ensures compatibility across all systems.

Adding Custom Item Names:

Item Requirement Toggle

When to Disable:

  • Standalone servers without inventory systems

  • Free-for-all hydraulics (no item cost)

  • Testing/development environments

When to Enable:

  • Roleplay servers with economy

  • Servers selling hydraulic kits

  • Controlled access to hydraulics feature


🎮 Hydraulics Commands

Main Command

Usage: /hydraulics

What it does:

  • Opens the hydraulics control UI

  • Shows available controls and key bindings

  • Displays vehicle hydraulics status

Customizing Command:


⌨️ Jump Key Configuration

Default Jump Key Settings

Setting
Type
Description
Default

defaultKey

string

Default key for hydraulic jump

'G'

playerCanConfigure

boolean

Allow players to change their jump key

true

Player Key Customization

Players can change their own key:

Examples:

Valid Key Names:

  • Single letters: A-Z

  • Function keys: F1-F12

  • Special keys: SPACE, LSHIFT, LCTRL, LALT

  • Number keys: 0-9

📚 Full Key List: FiveM Control Referencearrow-up-right

Admin Key Configuration

Admins can set keys for players:

Examples:

Disabling Key Configuration

Disable for everyone:

Key Configuration Permissions:

  • When playerCanConfigure = true: Both players and admins can change keys

  • When playerCanConfigure = false: Key changes are disabled


🚗 Jump Mechanics

Jump Cooldown System

Purpose: Prevents spam-jumping and maintains realistic hydraulics behavior

Setting
Type
Description
Recommended

enabled

boolean

Enable/disable jump cooldown

true

duration

integer

Seconds between jumps

3

Customizing Cooldown:

Jump Timing Settings

Setting
Type
Description
Default

JumpLockMs

integer

Duration jump input is locked (milliseconds)

900

JumpResetDelayMs

integer

Delay before jump can be triggered again (ms)

900

Technical Explanation:

  • JumpLockMs: How long the jump animation/physics runs before control returns

  • JumpResetDelayMs: Delay to prevent accidental double-jumps

⚠️ Warning: Values below 500ms may cause physics glitches

Jump Force Configuration

Setting
Type
Description
Recommended Range

JumpForce

float

Base jump power

2.0 - 5.0

VerticalBoost

float

Additional upward force

3.0 - 6.0

VerticalBoostSpeedGate

float

Min speed (km/h) for boost

80.0 - 120.0

Force Calculation

Stationary Jump:

Moving Jump (above speed gate):

Tuning Examples

Low Jumps (Realistic):

Medium Jumps (Default):

High Jumps (Fun Mode):

Stunt Server:


🔍 Hydraulics Detection System

The detection system determines which vehicles can use hydraulics.

Detection Methods

Method
Priority
Description

useModSlot38

1st

Checks if vehicle has Lowrider mod slot 38 installed

useModelWhitelist

2nd

Checks if vehicle model is in whitelist

itemWhitelist

3rd

Checks if player has hydraulic item in inventory

useDatabaseCheck

4th

Checks database for custom hydraulic installations

Mod Slot 38 Detection

What is Mod Slot 38?

  • GTA V's official lowrider hydraulics modification

  • Available on Benny's Original Motor Works vehicles

  • Visually adds hydraulic pumps to vehicle

Vehicles with Mod Slot 38:

  • All Benny's lowriders (Faction, Buccaneer, Chino, etc.)

  • Some custom vehicle mods

When to Use:

  • ✅ Servers using vanilla lowriders

  • ✅ Want automatic detection without configuration

  • ❌ Custom vehicles without mod slot 38

Model Whitelist

Purpose: Manually specify which vehicle models can use hydraulics

Adding Custom Vehicles:

Getting Vehicle Model Names:

  1. Sit in vehicle

  2. Type /carname (if you have such command) or check vehicle spawn name

Item-Based Hydraulics

How It Works:

  • Player has hydraulic_kit in inventory

  • Any vehicle becomes hydraulic-enabled

  • Item is NOT consumed (reusable)

Use Cases:

  • Portable hydraulics system

  • Rental hydraulics service

  • Economy-based hydraulic access

Multiple Item Support:

Database Check

Purpose: Check database for permanent hydraulic installations

When to Enable:

  • ✅ Using custom garage scripts (Lunar Garages, etc.)

  • ✅ Permanent hydraulic installations via mechanic jobs

  • ✅ Vehicle customization systems that save to database

When to Disable:

  • ❌ Not using database-based vehicle mods

  • ❌ Using only mod slot 38 or whitelist detection

  • ❌ Standalone mode

UI Requirement

When true: UI only shows for vehicles with hydraulics When false: UI shows for all vehicles (but hydraulics won't work without detection)

Recommendation: Leave as true to prevent confusion


📢 Notifications

Notification Settings

Customizing Messages

Change Notification Title:

Customize Messages (supports multiple languages):

Add Emoji/Unicode:


🎨 Customization

Detection Strategy Examples

Strategy 1: Whitelist Only (Most Common)

Strategy 2: Item-Based System

Strategy 3: Mod Slot Only (Vanilla Servers)

Strategy 4: Everything Enabled (Most Permissive)


📊 Quick Reference

Common Modifications

Task
Setting
Recommended Value

Disable item requirement

Config.RequireItem

false

Change jump key

Config.JumpKey.defaultKey

'H', 'SPACE'

Faster jumps

Config.JumpCooldown.duration

1-2 seconds

Higher jumps

Config.JumpForce

4.0-6.0

Add custom vehicle

Config.HydraulicsDetection.modelWhitelist

Add model name

Change command

Config.Command

'hydro', 'lowrider'


🆘 Troubleshooting

Hydraulics Not Working

Issue: Vehicle has hydraulics but system doesn't detect them

Solutions:

  • ✅ Check vehicle is in modelWhitelist

  • ✅ Verify useModSlot38 or useModelWhitelist is enabled

  • ✅ Ensure player is driver (not passenger)

  • ✅ Check player has hydraulic_kit item (if RequireItem = true)

  • ✅ Enable Config.Debug = true and check console

Jump Key Not Working

Issue: Pressing jump key does nothing

Solutions:

  • ✅ Check key isn't bound to another resource

  • ✅ Verify player is in a vehicle with hydraulics

  • ✅ Check cooldown hasn't expired yet

  • ✅ Try changing jump key with /myjumpkey [newkey]

Item Not Found Error

Issue: "Item not found" when using hydraulics

Solutions:

  • ✅ Verify item exists in database

  • ✅ Check Config.InventoryAliases matches your item name

  • ✅ Ensure inventory system is detected correctly

  • ✅ Set Config.RequireItem = false to disable item requirement

Vehicle Jumps Too High/Low

Solutions:

  • Too high: Reduce Config.JumpForce and Config.VerticalBoost

  • Too low: Increase Config.JumpForce and Config.VerticalBoost

  • Inconsistent: Adjust Config.VerticalBoostSpeedGate

Custom Vehicles Not Detected

Solutions:

  1. Get exact vehicle spawn name

  2. Add to modelWhitelist:

  1. Restart resource


🎥 Video Tutorials

https://youtu.be/cm32UJr-3lw?si=n4aInrfaC0dobQTCarrow-up-right


📚 Additional Resources

Last updated