Skip to content

Getting Started

Configuration

Change the settings to fit your server.


All settings live in the config file inside the script folder. Every option is commented so you know what it does.

Editing the config#

  1. Open resources/zolt_admin/config.lua in a code editor (VS Code is recommended).
  2. Change the values you need. Keep the commas and brackets intact.
  3. Save the file and restart the script.
config.lua· lua
Config = {} Config.Framework = 'auto' -- 'qbox' | 'qb' | 'esx' | 'standalone' Config.OpenCommand    = 'adminm'    -- /adminm opens the admin menu Config.OpenKey        = ''          -- e.g. 'F10' to give the menu a default keyConfig.ReportsCommand = 'reports'   -- /reports opens the menu straight on the Reports page (staff)Config.ReportCommand  = 'report'    -- /report lets any player send a report to staffConfig.NoclipCommand  = 'anoclip'   -- /anoclip toggles noclip (needs the noclip permission)Config.NoclipKey      = ''          -- e.g. 'HOME' to give noclip a default key Config.ReportCooldown   = 60        -- seconds a player must wait before sending another report-- Categories players pick from when they make a report (add, remove or rename freely)Config.ReportCategories = { 'Player Report', 'Bug Report', 'Question', 'Stuck / Need Help', 'Other' }  --  nil = the menu detects qbx_medical, qb-ambulancejob, esx_ambulancejob--  and wasabi_ambulance by itself. If your ambulance script is different,--  put its CLIENT revive event here, e.g. 'hospital:client:Revive'Config.ReviveEvent = nil  -- Garage that owned vehicles go into when staff use "Give car" (qb / qbox).-- Must match a garage name from your garage script.Config.DefaultGarage = 'garage' --  NOCLIP--  W/S/A/D move · Q/E up/down · Shift = 3x faster · Alt = slower--  Mouse scroll changes between the speeds below.Config.Noclip = {    speeds       = { 0.15, 0.5, 1.2, 2.5, 5.0, 10.0 },  -- speed steps (slowest -> fastest)    defaultSpeed = 3,                                  -- which step to start on (3 = 1.2)} -- Only change this if you use a different clothing / appearance script.Config.PedMenuEvent = 'illenium-appearance:client:openClothingShopMenu' --  label = tab name, list = spawn codes (any model name works, addon cars too)Config.QuickVehicles = {    { label = 'Super',     list = { 'adder', 't20', 'zentorno', 'krieger', 'emerus', 'italirsx', 'nero2', 'tezeract' } },    { label = 'Sports',    list = { 'sultan', 'kuruma', 'elegy2', 'jester', 'comet2', 'banshee', 'neon', 'pariah' } },    { label = 'Muscle',    list = { 'dominator', 'gauntlet', 'dukes', 'sabregt', 'vigero', 'buffalo2' } },    { label = 'Off-road',  list = { 'sandking', 'trophytruck', 'kamacho', 'mesa3', 'bifta', 'brawler' } },    { label = 'Bikes',     list = { 'bati', 'akuma', 'hakuchou', 'sanchez', 'manchez', 'shotaro' } },    { label = 'Emergency', list = { 'police', 'police2', 'police3', 'fbi', 'ambulance', 'firetruk' } },    { label = 'Air',       list = { 'buzzard2', 'frogger', 'maverick', 'luxor', 'velum', 'duster' } },} Config.QuickPeds = {    'mp_m_freemode_01',   -- default MP male    'mp_f_freemode_01',   -- default MP female} -- Weather buttons on the Server page Config.Weathers = { 'EXTRASUNNY', 'CLEAR', 'CLOUDS', 'OVERCAST', 'RAIN', 'THUNDER', 'FOGGY', 'SMOG', 'CLEARING', 'SNOW', 'BLIZZARD', 'XMAS', 'HALLOWEEN' } Config.BanDurations = { --  value is in seconds    { label = '1 Hour',    value = 3600 },    { label = '6 Hours',   value = 21600 },    { label = '1 Day',     value = 86400 },    { label = '3 Days',    value = 259200 },    { label = '1 Week',    value = 604800 },    { label = '2 Weeks',   value = 1209600 },    { label = '1 Month',   value = 2592000 },    { label = 'Permanent', value = 0 },} Config.LiveScreen = {    default      = 'low',     --  'low' | 'medium' | 'high'    presets = {        low    = { label = 'Low · 480p',    w = 854,  h = 480, fps = 30, q = 0.45, order = 1 },        medium = { label = 'Medium · 540p', w = 960,  h = 540, fps = 10, q = 0.50, order = 2 },        high   = { label = 'High · 720p',   w = 1280, h = 720, fps = 12, q = 0.60, order = 3 },    },    bps          = 600000,     -- max bytes per second for one stream (600000 = 600 KB/s)    notifyPlayer = false,      -- true = player gets a message when staff open their screen    flipY        = false,      -- set true if the picture shows upside down}

Applying changes#

Restart just this script from the server console or txAdmin:

Server console· bash
restart zolt_admin

Warning

If you see a Lua syntax error after editing, you've most likely removed a comma or a quote. Undo your last change and try again.

Your cart

Your cart is empty.

Browse scripts

Saved Items(0)

No saved items yet

Tap the heart on a product to keep it here.

Browse scripts
Configuration · Admin Menu | Zolt Scripts