v1.15.1
Summary
This release adds a privacy mode that censors player identifiers in the panel, reworks nametags for better performance, and extracts vehicle repair into a customizable bridge function. Fuel setting now passes the requested amount to lc_fuel, and staff chat notifications respect group restrictions.
What's New
Features
- Privacy toggle in the header censors identifiers (license, Steam, tokens, and similar) while still allowing copy
- Nametags were moved into a dedicated gamer-tag module with range hysteresis and a recreate budget
- Vehicle repair is now a customizable bridge function in
bridge/client/utils.lua - Player-names toggle now uses the
self.player_namespermission (still acceptsself.player_ids)
Bug Fixes
lc_fuelnow receives the requested fuel amount instead of always setting 100- Staff chat message notifications now respect chat staff restrictions
- Money transaction reasons that are not strings no longer error
- Developer files storage is more resilient to corrupted or incomplete saved files
File Changes
⚙️ Configuration & Bridge Files
These files are not encrypted. Review the changes below — you may need to manually apply updates to your server's config files.
bridge/client/fuel.lua
local fuel = {}
-function fuel.setFuel(vehicle, fuel)
+function fuel.setFuel(vehicle, value)
if GetResourceState("ti_fuel") == "started" then
- exports["ti_fuel"]:setFuel(vehicle, fuel, "RON91")
+ exports["ti_fuel"]:setFuel(vehicle, value, "RON91")
elseif GetResourceState("lc_fuel") == "started" then
- exports["lc_fuel"]:SetFuel(vehicle, 100.0)
+ exports["lc_fuel"]:SetFuel(vehicle, value)
end
- SetVehicleFuelLevel(vehicle, fuel)
+ SetVehicleFuelLevel(vehicle, value)
end
function fuel.getFuel(vehicle)bridge/client/utils.lua
+local utils = {}
+
+function utils.repairVehicle(vehicle)
+ SetVehicleFixed(vehicle)
+ SetVehicleDeformationFixed(vehicle)
+ SetVehicleFuelLevel(vehicle, 100.0)
+ SetVehicleUndriveable(vehicle, false)
+ SetVehicleEngineOn(vehicle, true, true, false)
+ SetVehiclePetrolTankHealth(vehicle, 1000.0)
+ SetVehicleOilLevel(vehicle, 100.0)
+ SetVehicleDirtLevel(vehicle, 0.0)
+ SetVehicleEngineHealth(vehicle, 1000.0)
+ SetVehicleBodyHealth(vehicle, 1000.0)
+ Luxu.fuel.setFuel(vehicle, 100.0)
+ for i = 0, 7 do
+ SetVehicleTyreFixed(vehicle, i)
+ end
+end
+
+return utilsfxmanifest.lua
author 'luxu-gg'
description 'Admin menu for FiveM'
-version '1.15.0'
+version '1.15.1'
dependencies {
'oxmysql',Full list of files changed
| Change | File |
|---|---|
| Modified | bridge/client/fuel.lua |
| Added | bridge/client/utils.lua |
| Modified | fxmanifest.lua |
| Modified | client/cl_main.lua |
| Modified | client/modules/actions.lua |
| Added | client/modules/gamer_tags.lua |
| Modified | client/utils/cl_functions.lua |
| Modified | client/utils/userConfig.lua |
| Modified | web/ |
| Modified | server/index.js |