Skip to content
1amZachPublic

About

In-game admin menu for FiveM: noclip, spectate, player, vehicle and world tools. Server-checked, works with fivecord, warden and fivepanel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fiveadmin

An in-game admin menu for staff. Noclip, spectate, teleport, player tools, vehicles and the world, all from one menu. The server checks every option before it happens, so a cheat can't use it.

Works on its own, and ties into fivecord, warden and fivepanel when they're running.

Features

Yourself

  • Noclip with four speeds (scroll to change, shift for double), invisible while flying
  • Godmode and invisibility
  • Teleport to your waypoint or to typed coordinates
  • Copy your position as a vector3, vector4 or heading
  • Names and server ids over players' heads, and map blips for everyone
  • Revive and heal yourself

Players

  • Everyone online, with distance and ping
  • Go to, bring, and send back to where they were
  • Spectate (Backspace to stop)
  • Revive, heal, freeze, message, warn, kick, ban
  • Open their inventory (ox_inventory)
  • Their profile: character, playtime, warnings, notes and bans

Vehicles

  • Spawn any model, with keys for qbx_vehiclekeys and qb-vehiclekeys
  • Fix, clean, flip upright, max upgrades, delete
  • Change the plate and colour
  • Delete every empty vehicle within a radius

World

  • Weather and time of day
  • Freeze time
  • Clear empty vehicles, peds or props within a radius

With the others

  • fivecord: staff levels come from Discord roles, the same ones the slash commands use. Warn, kick, ban, revive, heal, freeze and messages go through fivecord, so they're saved to the player's record and logged under your name. Profiles need it.
  • warden: before you noclip, spectate, teleport, go invisible, turn on godmode or spawn something, warden is told it's on purpose, so staff never get flagged.
  • fivepanel: everything staff do in the menu shows up in the panel's activity feed.

Install

Needs ox_lib.

  1. Drop fiveadmin into your resources and add to server.cfg after ox_lib:

    ensure fiveadmin
    
  2. Without fivecord, give staff levels with aces:

    add_ace group.admin fiveadmin.admin allow
    add_ace group.mod fiveadmin.mod allow
    
  3. Open the menu with F10 or /admin. Players can change the key in their FiveM settings. There's also a noclip key binding with no default key, for staff who want one.

Config

config.lua:

  • Config.tiers: staff level names, lowest first. Keep them the same as fivecord's.
  • Config.permissions: the lowest level for every option. Defaults:
Level Can use
support open, copy coords, names, player list, go to, revive, heal, message, warn, profile
mod noclip, invisible, teleport, blips, revive yourself, bring, send back, spectate, freeze, kick, ban, fix, delete, weather, time, freeze time
admin godmode, inventory, spawn, upgrade, plate and colour, delete nearby, clear area
  • Config.noclip.speeds: the four noclip speeds.
  • Config.weatherCommand, timeCommand, freezeTimeCommand: used for the world options when fivecord isn't running.
  • Config.revive, Config.heal: how players are revived without fivecord. Set up for qbx_medical, QBCore and ESX.

Testing

lua5.4 test/run.lua

Runs the server side against a fake FiveM server.

Support

Made by IamZach. Questions, bugs or ideas: discord.gg/agn

License

MIT

About

In-game admin menu for FiveM: noclip, spectate, player, vehicle and world tools. Server-checked, works with fivecord, warden and fivepanel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages