Installation

Dependencies

Installation

  1. Execute the SQL code found inside LuxuAdmin/SQL

  2. Open discord.lua and add your Discord webhook

  3. Open config.lua and configure your keybinding and other settings

  4. Add ox_lib permissions to server.cfg:

    add_ace resource.ox_lib command.add_ace allow
    add_ace resource.ox_lib command.remove_ace allow
    add_ace resource.ox_lib command.add_principal allow
    add_ace resource.ox_lib command.remove_principal allow

Important

LuxuModules and LuxuAdmin must start after your framework:

ensure qb-core   # QBCore
ensure es_extended  # ESX

ensure LuxuModules
ensure LuxuAdmin

Once started, all online players will have the keybindings registered. Players must go to Pause Menu → GTA Settings → Keybindings → FiveM and search for LuxuAdmin to configure their binds.

Common Issues

Can't change weather

On ESX, install the modified cd_easytime compatible with LuxuAdmin: https://github.com/luxu-gg/cd_easytime

Module not found

CleanShot 2024-05-15 at 19.32.06@2x.png

This error usually means ox_lib is outdated. Update to the latest version.