Documentation

Everything you need to manage your FiveM servers

v1.0.0

Getting Started

Welcome to Veil Server Management! This comprehensive platform provides everything you need to manage, monitor, and optimize your FiveM servers from a single, unified dashboard.

What is Veil?

Veil is a powerful server management platform designed specifically for FiveM server owners. It offers real-time monitoring, player management, automated backups, anti-cheat systems, and comprehensive analytics all in one place.

Real-time server monitoring
Advanced player tracking
Automated backup systems
Multi-server support

Quick Start

  1. 1

    Create an Account

    Sign up for a Veil account at veilmgmt.com

  2. 2

    Install Veil Agent & Veil Monitor Resource

    Download and install the Veil Agent & Veil Monitor Resource on your FiveM server

  3. 3

    Connect Your Server

    Link your FiveM server to your Veil dashboard using your API key

  4. 4

    Start Managing

    Access your dashboard and begin managing your server

Installation

Prerequisites

  • FiveM server (latest artifact recommended)
  • Active Veil account
  • Server access for file management

Step 1: Download Veil Agent

Download the latest version of Veil Agent from your dashboard or GitHub:

git clone https://github.com/PhoenixVeil/veil-agent.git

Step 2: Install on Server

  1. 1

    Extract the veil-monitor folder to your server's resources directory

    resources/veil-monitor
  2. 2

    Add the resource to your server.cfg:

    ensure veil-monitor
  3. 3

    Configure your settings in the server.cfg:

    set vm_server_key "your_api_key_here"
    set rcon_password "your_api_key_here"
    set vm_agent_socket_port "port_number_here"

Step 3: Restart Your Server

Restart your FiveM server to load the Veil Agent. You should see confirmation messages in the console:

[Veil] Server linked successfully.
[Veil] Heartbeat sent successfully.

Server Management

Veil provides comprehensive server management capabilities through an intuitive dashboard interface.

Starting and Stopping Servers

Control your server's state directly from the dashboard:

Start Server

Boots up your FiveM server and loads all resources

Restart Server

Gracefully restarts the server with a countdown notification

Stop Server

Safely shuts down the server and saves all data

Resource Management

Manage your server resources without accessing the console:

  • Start/Stop Resources: Control individual resources without full server restarts
  • Restart Resources: Reload specific resources to apply configuration changes
  • Monitor Resource Usage: Track CPU and memory usage per resource

Live Console

Access your server console directly from the dashboard with real-time WebSocket connection:

  • Real-time log streaming
  • Execute server commands remotely
  • Auto-scroll and searchable history

Monitoring & Analytics

Get comprehensive insights into your server's performance and player activity with real-time monitoring and detailed analytics.

Real-Time Metrics

CPU Usage

Monitor CPU utilization in real-time with historical trends

RAM Usage

Track memory consumption and prevent overages

Player Count

Live player tracking with peak time analysis

Server Uptime

99.9% uptime monitoring with downtime alerts

Weekly Reports

Automated weekly reports provide comprehensive insights:

  • Player activity trends and peak hours
  • Server performance metrics and optimization suggestions
  • Resource usage analysis
  • Security incidents and anti-cheat detections

Player Management

Comprehensive player tracking and management tools to maintain a healthy community.

Player Tracking

Track detailed player information including:

Play time and session history
Identifiers (Steam, Discord, License)
Character progression and stats
Behavioral patterns and warnings
Connection history and IP logs
Social connections (who plays with who)

Moderation Tools

Kick Players

Remove players from the server with custom messages

Temporary Bans

Issue time-limited bans with automatic unbanning

Permanent Bans

Ban players permanently with reason logging

Activity Logging

All player activities are automatically logged to an activity database:

[JOIN] Player "John_Doe" connected from 192.168.1.1
[ACTION] Player "John_Doe" purchased vehicle for $50,000
[WARNING] Player "John_Doe" flagged for suspicious activity
[LEAVE] Player "John_Doe" disconnected

Anti-Cheat System

Veil includes a powerful server-side anti-cheat system that monitors player behavior and detects suspicious activities.

⚠️ Important Note

Veil's Anti-Cheat operates at the server level and monitors gameplay patterns. It cannot access client-side files or processes. All detection is based on behavioral analysis and statistical anomalies.

Detection Methods

Speed Hacks

Detects impossible movement speeds and teleportation

Resource Injection

Monitors for unauthorized resource spawning (vehicles, weapons, money)

Statistical Anomalies

Flags suspicious progression patterns (too much XP/money gained too quickly)

Behavioral Patterns

AI-powered analysis of player behavior to detect automation and bots

Anti-Cheat Configuration

Customize detection thresholds and automated responses through the dashboard:

Admin Alerts

Real-time notifications when suspicious activity is detected:

  • In-game admin notifications
  • Dashboard alerts with evidence logs
  • Discord webhook integration (optional)
  • Email notifications for critical detections

Troubleshooting

Common issues and their solutions.

Server not connecting to dashboard

If your server isn't showing up in the dashboard:

  1. 1. Verify your API key is correct in the server.cfg
  2. 2. Check that veil-monitor is started in your server.cfg
  3. 3. Ensure your server can reach veilmgmt.com (check firewall)
  4. 4. Check server console for Veil connection errors
WebSocket connection failed

If you're getting WebSocket errors in the console:

  1. 1. Verify that the port you set in the server.cfg, as well as port 3000 is open on your server
  2. 2. Check if your hosting provider blocks WebSocket connections
  3. 3. Try restarting the veil-monitor resource
OAuth login requires 2 attempts

If you need to click login twice:

  1. 1. Clear your browser cookies and cache
  2. 2. Check that your OAuth callback URL is correct
  3. 3. This is a known issue and will be fixed in the next update
Metrics not updating in real-time

If server metrics appear frozen or outdated:

  1. 1. Refresh the dashboard page
  2. 2. Check that your server is online and responding
  3. 3. Verify that you started the FXServer using the Agent and that port 3000 is open
  4. 4. Check the System Health status for any API issues
Anti-cheat false positives

If legitimate players are being flagged:

  1. 1. Review detection logs to identify the trigger
  2. 2. Adjust threshold values in anti-cheat config
  3. 3. Consider disabling AutoKick for specific detection types
  4. 4. Report persistent false positives to support

Need More Help?

If you can't find a solution to your issue: