Modern Admin Menu [ESX/QBCORE/CUSTOM]

ADMIN MENU by WAVESCRIPTS

Showcase

Description

High-quality, visually appealing script that offers a modern and efficient admin menu. With its sleek interface and optimized performance, it provides server administrators with comprehensive tools for player management.

Features

  • Player list with actions, you can spectate, kick, ban, give item or even spawn vehicle for user
  • Every admin can also add notes about the player so other admins can be cautious
  • Admin chat, allows for easy communication between administrators available on the server
  • Logs, shows all actions that have been made by other admins and yourself using admin menu
  • Logs and notes saved in database
  • Modern and eye appealing menu
  • Editable UI
  • Supports any framework (editable functions)
  • And more

Screenshots

menu without player
menu with player

Config

-- PLEASE READ: if you set framework to "custom", please edit functions under the section "framework functions"
Config = {
    framework = "qbcore", -- esx / qbcore / custom
    defaultKey = "pageup", -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    groupsAllowed = {
        "superadmin",
        "admin",
        "god",
    },
}

Locale = {
    -- logs
    reviveLog = "Revived {name}", -- available variables: {name}
    kickLog = "Kicked {name} for {reason}", -- variables: {name}, {reason}
    banLog = "Banned a {name}<br>Reason: {reason}", -- variables: {name}, {reason}
    giveItemLog = "Gave {playerName} item {itemName} x{count}", -- variables: {playerName}, {itemName}, {count}
    giveWeaponLog = "Gave {name} weapon {weapon} with {ammo} ammo", -- variables: {name}, {weapon}, {ammo}
    setJobLog = "Set {playerName} job to {jobName} and grade {grade}", -- variables: {playerName}, {jobName}, {grade}
    spectateLog = "Started spectating {name}", -- variables: {name}
    bringLog = "Teleported {name} to himself", -- variables: {name}
    gotoLog = "Teleported himself to {name}", -- variables: {name}
    killLog = "Killed {name}", -- variables: {name}
    invisibleLog = "Made {name} invisible", -- variables: {name}
    freezeLog = "Freezed {name}", -- variables: {name}
    healLog = "Healed {name}", -- variables: {name}
    noclipLog = "Gave noclip to {name}", -- variables: {name}
    spawnvehicleLog = "Spawned vehicle {vehicle} for {name}", -- variables: {vehicle}, {name}
    deletevehicleLog = "Deleted vehicle for {name}", -- variables: {name}
    fixvehicleLog = "Fixed vehicle for {name}", -- variables: {name}
    flipvehicleLog = "Flipped vehicle for {name}", -- variables: {name}

    -- actions
    kickMessage = "You have been kicked from the server!\nReason: ",

    -- locales as functions
    -- all of them are executed server-side
    CheckingIfBanned = function(playerId, playerName)
        return ("Hi %s!\nChecking if you are on our ban list..."):format(playerName)
    end,
    PlayerBanned = function(playerId, playerName, reason)
        return ("Hey %s,\nLooks like you are banned from this server!\nReason: %s"):format(playerName, reason)
    end,
}

-- framework functions
-- !!! you need to edit these functions only if you've set your framework to "custom"
function GiveItem(playerId, name, count)
    print("give item", playerId, name, count)
end

function GiveWeapon(playerId, name, ammo)
    print("give weapon", playerId, name, ammo)
end

function SetJob(playerId, name, grade)
    print("set job", playerId, name, grade)
end

function HasGroup(playerId, group) -- you check here if the player has the specified group, used for testing whether player is admin or not
    print("has group", playerId, group)
    return true
end

-- additional functions
function Revive(playerId) 
    -- called server-side when player is revived
    -- normally you don't have to add anything here
    -- however if reviving doesn't work you're probably using custom ambulance script and need to add trigger for it here
end

Buy

Price: 25EUR + Tax

Code is accessible No
Subscription-based No
Lines (approximately) 2100
Requirements database, mysql driver
Support Yes

Zuckerberg made this

2 Likes

Should rename it Meta-AdminMenu made by The Zuck, Zucky Zuckerberg

1 Like

Good job, buddy )

1 Like