OpsLab Books
Realplay Scripts /Introduction
Help Sign in Sign up
RPS_LIB

πŸš€ RPS_LIB

Advanced Multi-Framework Bridge Library for FiveM

RPS_LIB is a powerful compatibility framework inspired by ak47_lib, designed to provide developers with a single API that works across multiple frameworks and third-party resources.

Instead of maintaining separate code for ESX, QBCore, QBX, inventories, target systems, fuel scripts, vehicle keys, and garages, RPS_LIB automatically detects and bridges everything for you.

Build once. Support everything.


✨ Features

πŸ”Ή Multi-Framework Support

Automatic framework detection for:

  • ESX Legacy
  • QBCore
  • QBX Core

No framework-specific code required.


πŸ”Ή Unified API

Access all systems through one export:

local RPS = exports['rps_lib']:GetLibObject()

Giving you a consistent interface for:

  • Players
  • Jobs
  • Money
  • Items
  • Vehicles
  • Metadata
  • Stress
  • Notifications
  • Progress Bars
  • Targets
  • Garages
  • Vehicle Keys

πŸ“¦ Inventory Support

Compatible with:

  • ox_inventory
  • qb-inventory
  • qb-inventory-old
  • qs-inventory
  • ps-inventory
  • lj-inventory
  • codem-inventory
  • origen_inventory
  • tgiann-inventory
  • core_inventory
  • jaksam_inventory
  • cheeza_inventory
  • ak47_inventory
  • ak47_qb_inventory

🎯 Target Systems

Supports:

  • ox_target
  • qb-target
  • qtarget
  • ak47_target
  • rps_target

Create interactions once and let RPS_LIB handle the rest.


πŸ”” Notification Systems

Integrated support for:

  • ox_lib
  • ESX notifications
  • QB-Core notifications
  • QBX notifications
  • Custom notification systems

⏳ Progress Bars

Supports:

  • ox_lib progress bars
  • ESX progress bars
  • QB-Core progress bars
  • Custom systems

β›½ Fuel Systems

Compatible with:

  • LegacyFuel
  • ox_fuel
  • ps-fuel
  • lc_fuel

πŸ”‘ Vehicle Key Systems

Supports:

  • tgiann-hotwire
  • qs-vehiclekeys
  • wasabi_carlock
  • qb-vehiclekeys
  • qbx_vehiclekeys
  • vehiclekeys
  • cd_garage
  • ak47_vehiclekeys
  • ak47_qb_vehiclekeys
  • rps_vehiclekeys

πŸš— Garage Support

Works with:

  • jg-advancedgarages
  • qb-garages
  • cd_garage
  • rps_garage

🏦 Banking Support

Compatible with:

  • Renewed-Banking
  • okokBanking
  • qb-banking

🧠 Stress Systems

Supports:

  • jg-stress-addon
  • ps-stress
  • QB stress
  • Ox stress
  • Custom systems

Functions include:

RPS.AddStress()
RPS.RemoveStress()

🎨 Interface Helpers

Built-in helpers for:

  • Notifications
  • Progress bars
  • Context menus
  • Input dialogs
  • 3D text
  • Objectives
  • Checklists

πŸ“‹ Player Utilities

Retrieve:

  • Character information
  • Jobs
  • Job grades
  • Identifiers
  • Metadata
  • Duty status

Using a standardized API regardless of framework.


πŸ“¦ Inventory Utilities

Includes functions for:

  • Add items
  • Remove items
  • Search items
  • Open stashes
  • Item image links
  • Metadata support

🎯 Target Utilities

Easily create:

  • Box zones
  • Entity targets
  • Interaction options
  • Zone removal

Without worrying about which target script the server uses.


⚑ Auto Detection

Set everything to:

Config.Framework = 'auto'
Config.Inventory = 'auto'
Config.Target = 'auto'
Config.VehicleKey = 'auto'
Config.FuelScript = 'auto'
Config.Garage = 'auto'
Config.Banking = 'auto'
Config.Stress = 'auto'

RPS_LIB automatically detects installed resources and configures itself.


πŸ”§ Installation

Add to your fxmanifest.lua:

dependency 'rps_lib'

Then simply use:

local RPS = exports['rps_lib']:GetLibObject()

and start building framework-independent resources.


⭐ Why RPS_LIB?

βœ… One API

βœ… Automatic Detection

βœ… Multi-Framework Support

βœ… Extensive Third-Party Integrations

βœ… Lightweight and Optimized

βœ… Developer Friendly

βœ… Future Proof


🌟 RPS_LIB

Advanced Multi-Framework Bridge System

Develop Once. Support Everything.