v1.10.8
New 🚀
Quick Menu
Tuning Menu There is a new tuning menu in the Quick Menu. It shows you the current vehicle attributes and allows you to modify the upgrades. It doesn't cover every option, only basic performance related mods.
Unlock Vehicle Doors You can now unlock vehicle doors for nearby vehicles or by specifying a license plate.
Open Source Logs You can now edit the client side logs.
Remove client/modules/logs.lua New **config/cl_logs.lua
Logs are now stored under**
Settings
- Main Panel and Quick menu size can now be adjusted
- Change the quick menu page toggler keybind
New Permissions
Find them in the staff page
- unlock_doors
- set_mods
New Config options
If you use a reverse proxy in your server, banning a player could result in banning all players online.
To prevent this, you can whitelist identifiers when banning a player, such as “ip”
📃config/config.json
"ban": {
"skip_identifiers": ["ip"],
"__comment__": "In case you have a reverse proxy, you can skip the ip identifier, otherwise all players may be banned."
},Discord Commands
📁config/discord.json
{
"name": "spawn_vehicle",
"enabled": true,
"description": "Spawn a vehicle for a player",
"type": 1,
"options": [
{
"name": "targetid",
"description": "The player ID to spawn the vehicle for",
"type": 4,
"required": true,
"min_value": 0
},
{
"name": "model",
"description": "The model of the vehicle to spawn",
"type": 3,
"required": true
}
]
}Exports And Statebags
--- Retrieve Open Reports (client & server)
local reportCount = GlobalState.luxu_admin_report_countcreateBan - Create Ban Offline
---@class BanData
---@field name string
---@field identifiers string[]
---@field tokens string[]
---@field expires number Milliseconds
---@field reason string
---@field label string
---@type BanData
local data = {
name = "John Doe",
label = "John the hacker",
reason = "Cheater",
identifiers = {"license2:123", "fivem:123", "discord:123"},
tokens = {"hardware_id_1"},
expires = os.time() + 10*24*60*60*1000, -- Ban 10 days
}
---@type number | false
local reportId = exports.luxu_admin:createBan(data)
ban - Ban an online player
---@type number | false
local reportId = exports.luxu_admin:ban(source:number|string, expiration: number, reason: string, label: string)
removeBan - Remove a ban
exports.luxu_admin:removeBan(banId:number)
warnPlayer - Warn a player
exports.luxu_admin:warnPlayer(source:number, reason:string, authorName:string)
Fixes
- Discord id and permissions matching problem
- Zone colors
- Zone Undo with ctrl+z bug
- Missing logs and permissions
- Missing item images
- Fix Show Tag option in quick menu
📁 Files Changed
- bridge/client/inventory.lua
- bridge/server/inventory.lua
- client/cl_main.lua
- client/modules/actions.lua
- client/modules/logs.lua
- client/modules/nui.lua
- client/modules/tuning.lua
- config/advanced_configuration.json
- config/cl_logs.lua
- config/config.json
- config/discord.json
- config/weapon_hashes.lua
- fxmanifest.lua
- locales/en.json
- locales/es.json
- locales/fr.json
- locales/pl.json
- locales/pt.json
- locales/zh.json
- server/index.js
- web/
🗣️ Locales
"change_quick_menus": "Change Quick Menus",
"keybinds": "Keybinds",
"press_a_key": "Press a key...",
"find_more_keybinds_in_gta_settings": "Find more keybinds in GTA Settings",
"vehicle_doors_unlocked": "Vehicle doors unlocked",
"job_updated_successfully": "Job updated successfully",
"gang_updated_successfully": "Gang updated successfully",
"routing_bucket_updated_successfully": "Routing bucket updated successfully"