Admin Panel
The admin panel is a full-featured NUI (New User Interface) that allows authorized administrators to manage all aspects of the safezone system without leaving the game.
Opening the Panel
/szadmin
The panel requires admin permissions. See Configuration — Admin Permissions for details.
Press ESC to close the panel at any time.
Features
Zone Management
The panel displays all zones (both config-defined and custom) with their current status:
- Zone name and type (circle/polygon)
- Active/Inactive status with toggle controls
- Marker visibility toggle
- Zone dimensions (radius, point count, height range)
- Protection settings (invincibility, ghosting, vehicle damage, etc.)
Zone Operations
| Operation | Description |
|---|---|
| Create Zone | Create a new circle or polygon zone with the in-game creator or manual coordinates |
| Edit Zone | Modify any zone property (name, bounds, protection options, markers, blips) |
| Delete Zone | Remove a custom zone permanently (config zones cannot be deleted) |
| Toggle Marker | Show or hide a zone's marker independently |
| Toggle Activation | Enable or disable a zone without deleting it |
| Toggle All | Activate or deactivate all zones at once |
| Teleport | Teleport to the center of any zone |
Player Monitoring
The panel shows a live list of players currently inside safezones:
- Player name and server ID
- Which zone they're in
- When they entered
- Time spent in the zone
The data automatically refreshes every 5 seconds while the panel is open.
Audit Logs
If audit logging is enabled, the panel displays a log of recent admin actions:
- Zone creation, modification, and deletion
- Marker and activation toggles
- Security events (denied access attempts)
- Admin name and identifiers
- Timestamps
Debug Controls
From the panel you can toggle debug visualization modes:
| Mode | Description |
|---|---|
| All | Show debug markers for all zones |
| Active | Show debug markers only for active zones |
| Inactive | Show debug markers only for inactive zones |
You can also toggle debug visualization per individual zone.
Interactive Map
The admin panel includes an interactive map with multiple layers:
- Atlas — Standard GTA map
- Road — Road-focused view
- Satellite — Satellite imagery
Zones are displayed on the map with their boundaries, and you can click to interact with them.
Creating a Zone via the Panel
- Open the panel (
/szadmin) - Click Create Zone
- Select zone type: Circle or Polygon
- Choose input method:
- Configure protection options, marker settings, and blip options
- Click Save
The panel will close temporarily during in-game creation and reopen automatically with the captured data.
Editing a Zone
- Find the zone in the list
- Click Edit
- Modify fields directly in the form, or click Use In-Game Creator to edit the zone's shape visually:
- Polygon zones: The in-game creator opens with all existing points pre-loaded. You are teleported to the zone's location and can select, move, add, or delete points.
- Circle zones: The in-game creator opens with the existing center and radius pre-set. You are teleported to the zone and can adjust the center or radius.
- Click Save to apply changes
See Editing Existing Zones In-Game for full details on the in-game edit mode controls and features.
Changes to custom zones are saved to data/zones.json automatically.
Config-defined zones (from config.lua) can have their marker visibility and activation state toggled from the panel, but their core properties (name, coordinates, radius, etc.) can only be changed by editing the config file directly.
Manual Refresh
Click the Refresh button to force an immediate data refresh instead of waiting for the 5-second auto-refresh interval.
Keyboard Shortcut
| Key | Action |
|---|---|
| ESC | Close the admin panel |
See Also
- Zone Creation — details on the in-game zone creators
- Zone Types — all available zone configuration options
- Debug & Logging — audit log configuration
- Configuration — Commands — customize the
/szadmincommand name