v1.12.1

Important

This version, reverts back to node 16. Some users seem to still crash when using node 22 runtime. I am unable to fix this since it points to an internal FiveM issue.

If you wish to use node 22 runtime, please open a ticket, i will provide you with a special build.

New

  • Player coordinates history
    • Now you can see where individual players have been traveling in the last 24h
  • Discord Role linked to staff groups
    • Automatically synchronizes staff group members based on Discord role assignments in the linked discord server.
    • When a Discord user gains a role mapped to a staff group, they are automatically added as a staff member in that group or moved if they already exist.
    • When they lose the role, they are removed from the staff group if it matches their current assigned group.
    • For online players, staff permissions are refreshed immediately upon role changes.
    • Roles are optional, if a staff group has no discord role assigned, it will simply skip this feature.

Fixes

  • Warning error
  • Warning Screen missing locales
  • Showing message after stop spectating player
  • Statistics not showing correct change
  • Improve offline player search

SQL Changes

ALTER TABLE `luxu_admin_groups` ADD COLUMN discord_role_id VARCHAR(20) NULL;
ALTER TABLE `luxu_admin_groups` ADD UNIQUE KEY `discord_role_id` (`discord_role_id`);

📁 Files Changed

  • bridge/server/inventory.lua
  • bridge/server/transactions.lua
  • bridge/shared/inventory.lua
  • client/cl_main.lua
  • client/modules/actions.lua
  • client/modules/nui.lua
  • config/commands/sv_commands.lua
  • config/discord.json
  • fxmanifest.lua
  • locales/en.json
  • sql/install.sql
  • web/
  • server/index.js