π TRI-RENTAL β Source Edition
Full source access. Fork it, modify it, make it yours.
https://youtu.be/iyl0adRGxcU
The same rental system. Every line of source included.
Tri-Rental Source Edition is identical in features to the Standard Edition β same three-column NUI storefront, same live telemetry, same itemised billing, same multi-framework bridge. The difference is you get the full, unencrypted source code. Modify the billing formula. Swap the framework bridge for your own. Add a vehicle condition rating system. Strip out the owner panel and rebuild it as a Discord bot integration. The source is there; what you do with it is your call.
This is not a "Pro" version with extra features. If you want to plug it in and go, the Standard Edition at Β£8 does that. Source Edition is for developers who find value in reading, forking, and extending the code itself.
β¨ What makes it different
-
π― Itemised return bill β base rate, fuel deduction, damage fee, and mileage overage broken out separately. Not a flat-fee guess.
-
π₯οΈ Three-column Tier 1 NUI β dark glass shell, teal-gradient accents, Poppins font, inline SVG icons. Full HTML/CSS/JS source included β restyle completely without touching the Lua.
-
π Live server telemetry β distance and fuel sampled every 5 seconds (configurable). Accurate billing. No server restarts nullifying trips.
-
π§ Owner Fleet Panel β add any GTA vehicle model to the fleet at runtime, live preview updates as you type. Saved to the database and rehydrated on restart.
-
π Single config, three frameworks β Qbox, QBCore, and ESX share one
config.lua. Bridge pattern (bridge.lua+bridge_sv.lua) makes swapping frameworks a three-line edit.
π§© What's inside
- | Section | Features |
- |---|---|
- | Storefront | 3-column NUI, vehicle list with Rented By badges, 8 paint swatches, duration slider, mileage display, up-front rental summary |
- | Rental flow | Server-authoritative: validates cap + availability, debits up-front charge, spawns at lot, applies chosen color, stamps RENT-XXXX plate, warps player to driver seat |
- | Live telemetry | 5s server tick β accumulates KM from coord deltas, reads fuel via
ox_fuel/LegacyFuel/cdn-fuel/ native statebag fallback, records damage baseline at spawn | - | Return & billing | Itemised modal (base + fuel + damage + mileage overage), server-side return-radius check, charge or refund on confirm |
- | Owner panel | Add Vehicle (model, label, $/hr, category, top speed, image, notes + live preview), View Rentals (all active rentals with time/KM/fuel status dots), Force Return |
- | Rental papers |
rental_papersinventory item stamped with rental metadata β auto-detected forox_inventoryorqb-inventory| - | Infrastructure | Fleet persistence to
tri_rental_fleettable viaoxmysql(optional), dark/light theme toggle with KVP persistence, disconnect void handling, multi-lot support |
βοΈ Everything is config-driven β and now so is everything else
All the same config options as the Standard Edition (framework, billing rates, distance unit, fleet, colors, location, payment method, return radius, etc.) β PLUS you get the full source to extend beyond what config can reach.
Billing formula lives in server/return.lua. Framework bridge lives in client/bridge.lua + server/bridge_sv.lua. NUI lives in html/index.html + html/style.css + html/script.js. All readable, all modifiable.
π Performance
- βΈ Server telemetry tick runs per-rental, not globally β no overhead when no rentals are active
- βΈ NUI uses no
backdrop-filter, no scroll overflow, no external CDN calls at runtime - βΈ Bridge files resolve framework once at resource start, not per event
- βΈ Fleet state broadcast is delta-only β only fires on rent and return, not on a continuous tick
π What you're getting
- β Full tri-rental resource β complete unencrypted source (Lua + HTML + CSS + JS)
- β
README.mdwith full install guide, framework notes, fuel tracking setup, rental papers item registration - β
LICENSE.mdβ Tri Studios Community License (fork-friendly, no-resale β full text in the zip) - β
3-vehicle starter fleet (
sultan,buffalo3,zentorno) β replace or extend via config - β 8 default paint swatches β swap to your server's palette via config
- β
items/rental_papers.pngplaceholder (256Γ256) β copy into your inventory'sweb/images/folder
π License summary
Tri Studios Community License β no-resale, fork-friendly.
- β Use on any server you own or operate
- β Modify the source for your own server
- β Fork and extend for your own server use
- β Read and learn from the source
- β Resell as a standalone product or in a bundle
- β Re-upload to Tebex, CFX.re, GitHub, or any marketplace
- β Sub-license to third parties
Full license text is in LICENSE.md inside your download.
π§ Requirements
-
Framework: Qbox (
qbx_core) / QBCore (qb-core) / ESX (es_extended) -
Dependencies:
ox_libΒ·ox_targetΒ·ox_inventory -
Optional:
oxmysql(only required whenConfig.PersistFleet = true) -
Vehicle keys:
qbx_vehiclekeys(Qbox) Β·qb-vehiclekeys(QBCore) Β·qs-vehiclekeys/wasabi_carlock/ genericvehiclekeys:client:SetOwner(ESX) β auto-detected -
Fuel (optional):
ox_fuel/LegacyFuel/cdn-fuelβ or leave blank to use native vehicle statebag - FiveM: FXServer build 6116+
π¬ Support
Join the Tri Studios Discord for setup help, bug reports, and feature requests. Source Edition buyers get priority queue support.
