Skip to Content

CONFIG

Below is the default configuration file used in Hydex-AdminMenu.


config.lua
Config = {} Config.Framework = 'qb' -- 'qb' or 'esx' or 'qbx' Config.playerLoadevent = 'QBCore:Client:OnPlayerLoaded' -- 'esx:playerLoaded' or 'QBCore:Client:OnPlayerLoaded' ( same for qb and qbx ) Config.Position = 'top-right' -- 'top-left' or 'top-right' or 'bottom-left' or 'bottom-right' Config.OpenKey = 'f11' -- Adminmenu Keybind Config.Appearance = 'illenium-appearance'-- 'fivem-appearance' or 'esx_skin' or 'codem_appearance' or 'illenium-appearance' Config.FuelSystem = 'ox_fuel' -- 'ox_fuel' or 'legacyfuel' or 'native' Config.NoclipKey = 'HOME' -- Keybind for noclip Config.SearchPlayerCommand = 'dc' Config.Inventory = 'ox_inventory' -- 'ox_inventory' or 'qs' or 'chezza' Config.ToggelPlayerID = 'f10' -- Keybind for toggle player id Config.BlacklistedItem = { ["money"] = { ['NGX54563'] = true, -- citizenid for qb and qbx , identifier for esx ['char1:899994281077526599'] = true, }, ["black_money"] = { ['NGX54563'] = true, ['char1:899994281077526599'] = true, } } Config.BlackListedVehicle = { [`sultanrs`] = { ['NGX54563'] = true, ['char1:899994281077526599'] = true, }, [`sultan`] = { ['NGX54563'] = true, ['char1:899994281077526599'] = true, } } Config.char_permission = { ['NGX54563'] = { -- citizenid for qb and qbx , identifier for esx Name = "Hydra", -- just for identification FuLLAccess = true, -- FuLLAccess is for the admin to have all the permissions --// Online Player Options \\-- Noclip = true, -- Noclip is for the admin to be able to noclip TXNoclip = true, Warn = true, Playerdata = true, -- Playerdata is for the admin to be able to see the player character data ingame SendDM = true, -- SendDM is for the admin to be able to send a player a message as notification GiveSkinMenu = true, -- GiveSkinMenu is for the admin to be able to give a player a skin menu ingame AccessInv = true, -- AccessInv is for the admin to be able to access a players inventory GiveItem = true, -- GiveItem is for the admin to be able to give a player an item ingame RemoveItem = true, -- RemoveItem is for the admin to be able to remove a item from a player ChangeSkin = true, -- ChangeSkin is for the admin to be able to change a players skin ingame GiveCar = true, -- GiveCar is for the admin to be able to give a player a Vehicle ownership HealPlayer = true, -- HealPlayer is for the admin to be able to heal a player Revive = true, -- Revive is for the admin to be able to revive a player Kill = true, -- Kill is for the admin to be able to kill a player ChangePed = true, -- ChangePed is for the admin to be able to change a players ped ingame CloneSkin = true, -- CloneSkin is for the admin to be able to clone a players skin ingame (supports only illenium-appearance and fivem-appearance) SetJob = true, -- SetJob is for the admin to be able to set a players job ingame GiveAccountMoney = true, -- GiveAccountMoney is for the admin to be able to give a player money ingame (supported accounts black_money, money, bank) RemoveAccountMoney = true, -- RemoveAccountMoney is for the admin to be able to remove a player money ingame (supported accounts black_money, money, bank) Goto = true, -- Goto is for the admin to be able to teleport to a player Bring = true, -- Bring is for the admin to be able to bring a player SetWaypoint = true, -- SetWaypoint is for the admin to be able to set a mark waypoint on map where a player is Screenshot = true, -- Screenshot is for the admin to be able to take a screenshot of a player(Need ScreenshotBasic) Spectate = true, -- Spectate is for the admin to be able to spectate a player Kick = true, -- Kick is for the admin to be able to kick a player --// Self Options \\-- Godmode = true, -- Godmode is for the admin to be able to toggle godmode ingame Invicible = true, -- Invicible is for the admin to be able to toggle invicible ingame UnlimitedStamina = true, -- UnlimitedStamina is for the admin to be able to toggle unlimited stamina ingame FastRun = true, -- FastRun is for the admin to be able to toggle fastrun ingame FastSwim = true, -- FastSwim is for the admin to be able to toggle fastswim ingame SuperJump = true, -- SuperJump is for the admin to be able to toggle superjump ingame NoRagdoll = true, -- NoRagdoll is for the admin to be able to toggle noragdoll ingame AddArmour = true, -- AddArmour is for the admin to be able to toggle addarmour ingame FreezePlayer = true, -- FreezePlayer is for the admin to be able to freeze --// Vehicle Option \\-- Spawner = true, -- Spawner is for the admin to be able to spawn a vehicle ingame DeleteVehicleRadius = true, -- DeleteVehicleRadius is for the admin to be able to delete vehicles in a radius DeletePlate = true, -- DeletePlate is for the admin to be able to delete a vehicle by plate(Delete player ownership) ModMenu = true, -- ModMenu is for the admin to be able to open a vehicle mod menu ingame FreezeVehicle = true, -- FreezeVehicle is for the admin to be able to freeze a vehicle ChangePlate = true, -- ChangePlate is for the admin to be able to change a vehicle plate Multiplier = true, -- Multiplier is for the admin to be able to change a vehicle multiplier(torque and engine) VehicleMisc = true, -- VehicleMisc is for the admin to be able to change a vehicle misc(flip, delete, refuel, repair, vehicle godmode, wash, clean, set dirt) Colormenu = true, -- Colormenu is for the admin to be able to change a vehicle color --// Troll Menu \\-- TrollMenu = true, -- TrollMenu is for the admin to be able to open the troll menu --// Developer Options \\-- DeveloperOptions = true, -- DeveloperOptions is for the admin to be able to open the developer options } } Config.defaultcar = 'adder' -- Default car when vehspawner command is used without arguments Config.CustomCommands = { deletevehicle = 'dv', -- /dv <radius> (if no radius is provided it will delete the vehicle you are in) go_to = 'gt', -- /gt <playerid> bring = 'br', -- /br <playerid> teleport = 'tp', -- /tp (location must be marked in map) giveitem = 'gi', -- /gi <playerid> <item> <count> vehspawner = 'cars', -- /cars <spawncode> (if no car is provided it will spawn the default car) setjob = 'sjob', -- /sjob <playerid> <job> <grade> revive = 'rv', -- /rv <playerid> (if no playerid is provided it will revive you) kick = 'kick' -- /kick <playerid> }

WEBHOOKS

Below is the webhook configuration file used in Hydex-AdminMenu.


sv_webhooks.lua
Webhooks = {} Webhooks.color = 65280 Webhooks.logs = { SendDM = '', AccessInv = '', SetJob = '', GiveItem = '', RemoveItem = '', GiveAccountMoney = '', RemoveAccountMoney = '', Screenshot = '', GiveCar = '', HealPlayer = '', RevivePlayer = '', Kill = '', Goto = '', Bring = '', SetWaypoint = '', Kick = '', TrollMenu = '', DeleteVehicle = "", FreezePlayer = '' }
Last updated on