v1.15.3
Summary
This release adds an option to stop using player IP addresses, fixes staff clothing so uniforms no longer overwrite the wearer's hair, and adds one_inventory cash handling when setting account money. Discord log channels that have been deleted are now cleared automatically instead of failing on every send.
What's New
Features
- New
disable_ip_address_usagesetting inconfig/config.json(enabled by default). When on, player IPs andip:identifiers are excluded from display, bans, logs, and all other identifier usage - Staff clothing now preserves the wearer's hair unless the outfit explicitly includes hair data
- Setting cash via
setAccountMoneynow updatesone_inventorywhen that resource is running
Bug Fixes
- Cloning a staff uniform no longer bakes the cloner's hair into every wearer
- Discord log channel bindings are cleared when a channel or thread is deleted, and validated when the bot starts
ox_inventoryweapon-hash loading now checks that the resource exists before requiring its data
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/server/player.lua
exports.ox_inventory:AddItem(source, 'cash', amount)
end
+ if account == 'cash' and GetResourceState('one_inventory') == 'started' then
+ local current = exports.one_inventory:GetItem(source, 'cash', nil, true) --[[ @as number ]]
+ exports.one_inventory:RemoveItem(source, 'cash', current or 0)
+ exports.one_inventory:AddItem(source, 'cash', amount)
+ end
if Framework.name == 'esx' then
playerObj.setAccountMoney(account, amount)config/config.json
"cdn": {
"service": "fivemanage"
},
+ "disable_ip_address_usage": true,
+ "__disable_ip_address_usage__": "When enabled, player IP addresses and ip: identifiers are excluded from display, bans, logs, and all other player-identifier usage.",
"ban": {
"skip_identifiers": ["ip"],
"__comment__": "In case you have a reverse proxy, you can skip the ip identifier, otherwise all players may be banned."config/custom_functions/client.lua
-
RegisterAddons({
-- Button: appears in the main panel (same as RegisterAddonButton but in bulk)
{config/logging/cl_logs.lua
}
--- Add missing weapon hashes from ox_inventory
-if GetResourceState('ox_inventory') == 'started' then
+if IsResourceAvailable("ox_inventory") then
local list = require "@ox_inventory.data.weapons"
for k in pairs(list.Weapons) dofxmanifest.lua
author 'luxu-gg'
description 'Admin menu for FiveM'
-version '1.15.2'
+version '1.15.3'
dependencies {
'oxmysql',Full list of files changed
| Change | File |
|---|---|
| Modified | bridge/server/player.lua |
| Modified | config/config.json |
| Modified | config/custom_functions/client.lua |
| Modified | config/logging/cl_logs.lua |
| Modified | fxmanifest.lua |
| Modified | client/modules/clothingmenu.lua |
| Modified | shared/init.lua |
| Modified | shared/utils.lua |
| Modified | web/ |
| Modified | server/index.js |