[FREE] [ESX] Cosmic Crafts Admin Zone

Cosmic Crafts Admin Zone

Cosmic Crafts Admin Zone script is used to create OOC zone where combat is restricted and can set only admin can speak

A comprehensive admin zone management system for FiveM ESX servers with voice control capabilities.


:arrow_down: Download here


:sparkles: Features

  • Safe Zone Management: Create temporary safe zones where combat is prohibited
  • Voice Control: Admin-only voice communication within zones
  • Visual Indicators: Blips and UI notifications for zone status
  • Automatic Cleanup: Proper resource management and cleanup
  • Permission System: ESX-based admin permission checking
  • Performance Optimized: Efficient code with proper error handling

:hammer_and_wrench: Configuration (config.lua)

Config = {}

Config.DefaultRadius = 50.0
Config.BlipColor = 2 -- Green
Config.BlipAlpha = 80
Config.BlipSprite = 197
Config.BlipName = "SAFEZONE - No Combat Allowed"

:spiral_notepad: Commands

/adminzone- Usage: Toggle admin zone on/off

  • Permission: Admin only
  • Description: Creates a safe zone around the admin’s current position where combat is disabled

/adminspeak- Usage: Toggle voice control within admin zone

  • Permission: Admin only (requires active admin zone)
  • Description: Enables admin-only voice communication within the safe zone`

7e9fe1c9526adea44d0f6ba71069c20873cc381a.png0858620a5f46c7fe7aa7260e6176fe392570d9dc.png

:trident: Installation

  1. Ensure you have the required dependencies:

    • es_extended
    • pma-voice
  2. Place the resource in your server’s resources folder

  3. Add to your server.cfg:

    ensure adminarea
    
  4. Restart your server

:gear: Configuration

I) Edit config.lua to customize the script

II) Edit index.html to customize the script

III) Add custom alert sound to html/beep.mp3 or remove it if you don’t want to use it

:clipboard: Client-Side Features:

  • Real-time zone detection,
  • Combat prevention for non-admin players,
  • Vehicle ejection for non-admin players,
  • Visual and audio notifications,
  • Blip management and updates,

:clipboard: Server-Side Features:,

  • Admin permission validation,
  • Zone state management,
  • Voice control integration,
  • Player disconnect handling,
  • Resource lifecycle management,

:scroll: UI Features:

  • Responsive notification system,
  • Voice status indicators,
  • Audio feedback with beep sounds

:inbox_tray: Social:

Discord: Cosmic Crafts Store
Tebex: https://cosmic-crafts.tebex.io/

Code is accessible Yes , Partially Accessible
Subscription-based No
Lines (approximately) 700
Requirements es_extended , pma-voice
Support No
6 Likes

The leg-breaking comes with the script?

1 Like