Admin Panel

Admin Panel

$14.99

Add to Basket

Paylune's Admin Panel — Feature Overview

A full-featured FiveM admin resource with an in-game menu, chat commands, persistent data, and ACE-based permissions. Suitable for roleplay and moderated servers.


Video Preview

https://youtu.be/UaBv9NKPlEU


Overview

  • Optimized: Built for performance: minimal tick usage, lazy menu loading, and sync only when needed. No constant polling or heavy loops — the resource stays lightweight so it won’t drag down your server or clients.
  • Menu: Open with a configurable keybind (default F9). Access to the menu is granted by the same permissions as the commands — there is no separate “menu” permission. If you have at least one of the admin permissions below (e.g. admin.warn, admin.players), you can open the menu; you will only see the sections (Players, Punishments, World, Tools) you have permission for.
  • Commands: All actions are available as chat commands for quick use or scripting. The same ACE nodes that grant a command also grant the corresponding menu section.
  • Permissions: ACE (Allow / Deny). Use admin.<node> or command.admin.<command> to grant access.
  • Persistence: Bans, mutes, gags, freezes, warnings, world state, and config are stored in JSON and survive restarts.

Permissions (ACE)

The resource checks these permission nodes. Grant via your server’s server.cfg or a permissions resource (e.g. ace permissions, esx, QBCore).

Menu access: There is no separate permission to “open” the menu. Who can open the menu is determined by these same nodes. Granting any of the permissions below (e.g. admin.players, admin.warn, admin.world) allows the player to open the admin menu (keybind); the menu then shows only the sections they have permission for (Players, Punishments, World, Tools). No permission at all = menu shows “No Permissions”.

Recommended ACE format: command.admin.<command> or admin.<node>

Permission NodeDescription
admin.playersView Players menu and player list
admin.warnWarn players, view/remove warnings
admin.kickKick players
admin.killKill players
admin.muteMute / unmute (text chat)
admin.gagGag / ungag (voice chat)
admin.freezeFreeze / unfreeze players
admin.banBan, unban, view/lift bans
admin.tempbanTempban players
admin.teleportTeleport to players / bring players to you
admin.worldWeather, time, cleanup, traffic, peds, environment
admin.spawnSet/clear spawn, blip, safezone, teleport to spawn
admin.vanishVanish / unvanish (invisible to non-vanished)
admin.noclipNoclip flight mode
admin.godmodeGod mode (invincibility)

Example (server.cfg):

# Full admin
add_ace group.admin command.admin allow
add_principal identifier.license:xxx group.admin

# Or per-command
add_ace group.moderator command.admin.warn allow
add_ace group.moderator command.admin.kick allow
add_ace group.moderator admin.players allow

The resource also respects command and command.admin (full access) and hierarchical nodes (e.g. admin grants all admin.*).


Commands

All commands are server-side and permission-checked. Replace <id> with the target player’s server ID.

Player management

CommandPermissionUsageDescription
warnadmin.warn/warn <id> [reason]Warn a player (reason optional)
warningsadmin.warn/warnings <id>List a player’s warnings in chat
kickadmin.kick/kick <id> [reason]Kick a player
killadmin.kill/kill <id>Kill a player
muteadmin.mute/mute <id> [reason]Mute (text chat)
unmuteadmin.mute/unmute <id>Unmute
gagadmin.gag/gag <id> [reason]Gag (voice chat)
ungagadmin.gag/ungag <id>Ungag
freezeadmin.freeze/freeze <id> [reason]Freeze in place
unfreezeadmin.freeze/unfreeze <id>Unfreeze
banadmin.ban/ban <id> [reason]Permanent ban
tempbanadmin.tempban/tempban <id> <duration> [reason]Tempban (e.g. 1h, 7d, 30m)
unbanadmin.ban/unban <identifier>Unban by identifier (e.g. license)

Teleport

CommandPermissionUsageDescription
gotoadmin.teleport/goto <id>Teleport yourself to a player
bringadmin.teleport/bring <id>Teleport a player to your location

World

CommandPermissionUsageDescription
weatheradmin.world/weather <type>Set weather (e.g. CLEAR, RAIN, SNOW)
timeadmin.world/time <hour>Set time (0–23)
freezetimeadmin.world/freezetimeToggle time freeze
dvadmin.world/dvDelete current or nearest vehicle (within 10m)
clearvehiclesadmin.world/clearvehiclesClear unoccupied vehicles
clearpedsadmin.world/clearpedsClear peds
clearobjectsadmin.world/clearobjectsClear world objects
trafficadmin.world/traffic [on|off|0-100]Toggle or set traffic density
pedsadmin.world/peds [on|off|0-100]Toggle or set ped density
blackoutadmin.world/blackoutToggle blackout (lights off)
dispatchadmin.world/dispatchToggle police/fire/EMS dispatch
clearwantedadmin.world/clearwantedClear wanted level for all players

Spawn

CommandPermissionUsageDescription
setspawnadmin.spawn/setspawnSet spawn at your current position
clearspawnadmin.spawn/clearspawnRemove spawn point
spawnblipadmin.spawn/spawnblipToggle spawn blip on map
spawnsafezoneadmin.spawn/spawnsafezoneToggle safezone at spawn
spawnsafezoneradiusadmin.spawn/spawnsafezoneradius <m>Set safezone radius (meters)
spawnadmin.spawn/spawnTeleport yourself to spawn

Tools

CommandPermissionUsageDescription
vanishadmin.vanish/vanishGo invisible to players without vanish
unvanishadmin.vanish/unvanishBecome visible again

The admin menu is opened via the configured keybind (default F9); the keybind uses +admin / -admin internally.


Menu Structure

The main menu (keybind, default F9) is available to anyone with at least one of the admin permissions above; it shows only the submenus you have permission for.

Players (admin.players + action permissions)

  • Players → List of online players by ID and name.
  • Select a player → actions (each requires its own permission):
    • Warn — prompt for reason, then warn (admin.warn).
    • Warnings — submenu of that player’s warnings; select one to remove it (admin.warn).
    • Teleport — submenu (admin.teleport):
      • Teleport to Player — teleport yourself to the player.
      • Teleport to Me — bring the player to your location.
    • Kick — prompt for reason (admin.kick).
    • Kill (admin.kill).
    • Mute / Unmute (admin.mute).
    • Gag / Ungag (admin.gag).
    • Freeze / Unfreeze (admin.freeze).
    • Tempban — duration (e.g. 1h, 7d) + reason (admin.tempban).
    • Ban — prompt for reason (admin.ban).

Punishments (per-action permission)

  • Punishments
    • Bans — list all bans; select to lift (admin.ban). Shows online/offline, expiry for tempbans.
    • Mutes — list all mutes; select to lift (admin.mute).
    • Gags — list all gags; select to lift (admin.gag).
    • Freezes — list all freezes; select to lift (admin.freeze).

World (admin.world and/or admin.spawn)

  • World
    • Weather — choose weather type (Clear, Rain, Snow, etc.).
    • Time — set hour (0–23), toggle freeze time.
    • Cleanup — Clear Vehicles, Clear Peds, Clear Objects.
    • Traffic — enable/disable, set density 0–100%.
    • Pedestrians — enable/disable, set density 0–100%.
    • Environment — Blackout, Emergency Dispatch, Clear All Wanted.
    • Spawn (admin.spawn) — Set Spawn Here, Clear Spawn, Show Blip, Enable Safezone, Safezone Radius.

Tools

  • Tools
    • Vanish — toggle (admin.vanish).
    • God Mode — toggle (admin.godmode).
    • Noclip — submenu: enable/disable, set flight speed (admin.noclip).

Configuration

Config is stored in config.json at the root of the resource folder (persistent). Defaults:

KeyDefaultDescription
menu.title"Paylune's Admin"Main menu title
menu.subtitle"Admin Panel"Main menu subtitle
menu.keybind"F9"Key to open the admin menu
noclip.defaultSpeed2.0Default noclip flight speed
noclip.keybinds.forward"W"Move forward
noclip.keybinds.backward"S"Move backward
noclip.keybinds.left"A"Move left
noclip.keybinds.right"D"Move right
noclip.keybinds.up"SPACE"Move up
noclip.keybinds.down"LCONTROL"Move down
noclip.keybinds.exit"X"Exit noclip

Config is loaded from config.json at the root of the resource folder. Adjust by editing that file or via any system that writes to the same store.


Data Persistence

Config is stored in config.json at the resource root. The following are stored in the resource’s data/ directory (or equivalent used by @paylune/resource-db), as JSON files. Data survives server restarts.

Store FileContents
config.json (resource root)Menu title, subtitle, keybind, noclip speed and keybinds
bans.jsonBans (player, reason, issuer, time, optional expiry)
mutes.jsonActive mutes
gags.jsonActive gags
freezes.jsonActive freezes
warnings.jsonAll warnings (history; can be removed from menu or via logic)
world.jsonWeather, time, time freeze, traffic/ped toggles and density, blackout, dispatch, spawn (position, blip, safezone, radius)
vanishes.jsonList of vanished identifier sets (persists across reconnect until unvanish)
  • Bans: Checked on playerConnecting; tempbans with past expiresAt are removed on connect. Kick reason shows ban reason and issuer.
  • Mutes: Restored on join; chat is blocked in chatMessage for muted identifiers.
  • Gags / Freezes / Warnings: Restored or applied by the resource when appropriate (e.g. restore-punishments, enforcement).
  • World: Synced to all clients on join and when settings change.
  • Vanish: Synced so only admins with admin.vanish see vanished players; vanish state is restored on reconnect if still in vanishes.json.

Notifications and Logging

  • In-game: Admins with the relevant permission receive notifications for warns, kicks, kills, mutes, gags, freezes, bans, tempbans, and vanish. Target players get notifications for warn/mute/gag/freeze/ban.
  • Chat commands: Success/error messages are sent to the issuer’s chat (or console for server ID 0).
  • Console: Failed permission checks and ban blocks are logged (e.g. [BAN] Blocked connection from banned player).

Summary

  • Full player management: Warn, kick, kill, mute, gag, freeze, ban, tempban, teleport, with reasons and history (warnings).
  • Punishment overview: View and lift bans, mutes, gags, freezes from dedicated menus.
  • Teleport: Go to any player or bring them to you — from the menu or via /goto and /bring commands.
  • World control: Weather, time, freeze time, cleanup, traffic/ped density, blackout, dispatch, clear wanted.
  • Spawn system: Set/clear spawn, blip, safezone with radius, teleport to spawn.
  • Admin tools: Vanish, god mode, noclip with configurable speed and keybinds.
  • ACE permissions: Granular admin.<node> or command.admin.<command>.
  • Persistence: All punishments, world state, vanish, and config stored in JSON.
  • Menu + commands: Every feature available in both the F9 menu and as chat commands.

Ideal for servers that want one integrated admin solution with clear permissions and persistent data.