header

How to setup the admin menu

  • Go to the configs/anticheat_config.lua file and find wx.AdminMenu
  • Customize it to your liking
  • Go to the configs/anticheat_webhooks.lua file and find Webhooks.AdminMenuLogs
  • Add your webhook
  • Restart the script, or if possible, the whole server

FAQ

Q: What tools have been used for this admin menu?
A: HTML, Tailwind CSS and Javascript

Q: How's the optimalization?
A: WXAC's admin menu is greatly optimised, so you won't need to worry about lag spikes. The adminmenu is optional, so you can disable it at any time in the config

anticheat_config.lua

wx.AdminMenu = {
enable = true,                                  -- Enable NUI admin menu for your registered admins (/wx)
backgroundBlur = true,                          -- Blur background when the admin menu is opened
espSelf = true,                                 -- See yourself on ESP options
espMaxDist = 1000.0,                            -- Maximum distance for ESP to draw
rgb = {255,255,255},                            -- RGB values for color rendering
permissions = {                                 -- Permission setup for each type of authentication. "tx" = Admins authenticated through wx.txAdminAuth | "config" = Admins in your ac_admins.lua config file
    ["tx"] = {
        open = true, -- Can open the admin menu
        powers = true, -- Can use the admin powers (noclip, godmode etc.)
        ban = true, -- Can ban other players
        unban = true, -- Can unban other players
        logs = true, -- Access to the "logs" page
        acoptions = true, -- Can use the anticheat options (delete peds, vehicles etc.)
        screenshot = true -- Can screenshot other players
    },
    ["config"] = {
        open = true, -- Can open the admin menu
        powers = true, -- Can use the admin powers (noclip, godmode etc.)
        ban = true, -- Can ban other players
        unban = true, -- Can unban other players
        logs = true, -- Access to the "logs" page
        acoptions = true, -- Can use the anticheat options (delete peds, vehicles etc.)
        screenshot = true -- Can screenshot other players
    }
}
}

Admin Menu features

menu

Left Side

  • Sidebar containing:
    • Dashboard (main page)
    • Player List
    • Ban List
    • AntiCheat Logs

Main Page - Dashboard

  • Statistics for online players, admins and banned cheaters
  • Admin Powers (Like ESP, God Mode or Fast Run, ...)
  • AntiCheat Options (Delete objects, peds or vehicles)
  • Object Scanner (Freecam mode that identifies the object, ped or vehicle you're currently looking at, useful when cheaters spawn unknown objects so you can add them to the blacklist. You can press E to copy the info)

Player List

  • Show all online players
  • Option to ban, screenshot or get identifiers of each player

Banlist

  • Shows all banned players with their reason, ban ID and a button to unban each of them

AntiCheat Logs

  • Temporary log page that will keep log of every admin menu action or anticheat ban

example

Admin Menu action logging

WX AntiCheat's admin menu automatically logs every action your admins do with it. For example, if any of your admins turn on the object scanner, you will receive a notification via webhook containing the admin's name, license and the action they did.

logger