RedLineCAD.app

๐Ÿš” RedLineCAD โ€” GTA RP Computer Aided Dispatch System

![RedLineCAD](https://img.shields.io/badge/RedLineCAD-v5.0-cc0000?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMiAyTDIgN2wxMCA1IDEwLTV6Ii8+PC9zdmc+) ![Platform](https://img.shields.io/badge/Platform-Console%20%7C%20PC-1a6fff?style=for-the-badge) ![Game](https://img.shields.io/badge/Game-GTA%20V%20%7C%20GTA%20VI-ff6600?style=for-the-badge) ![License](https://img.shields.io/badge/License-Free%20Forever-00cc66?style=for-the-badge) ![PWA](https://img.shields.io/badge/PWA-Installable-aa44ff?style=for-the-badge) **The free, console-first Computer Aided Dispatch system built for GTA RP communities.** Live dispatch ยท Real-time Firebase sync ยท No monthly fees ยท Installable as a mobile app. [๐Ÿš€ Launch CAD](https://slayerkingg.github.io/redlinecad) ยท [๐Ÿ“Š Public Dashboard](https://slayerkingg.github.io/redlinecad/public.html) ยท [๐ŸŒ Landing Page](https://slayerkingg.github.io/redlinecad/landing.html)

๐Ÿ“‹ Table of Contents


Overview

RedLineCAD is a full-featured, Progressive Web App (PWA) built specifically for GTA V and GTA VI roleplay communities. It runs entirely in the browser โ€” no server required โ€” and syncs live across all connected users via Firebase Realtime Database.

Designed for console RP. No mods, no FiveM, no external tools needed. Open the link, add it to your home screen, and youโ€™re dispatching.


โœจ Features

๐Ÿšจ Dispatch & Operations

๐Ÿ‘ฎ Law Enforcement

๐Ÿง  Intelligence

๐Ÿ”ฅ Fire & EMS

๐Ÿ“ก Communications

๐Ÿ“… Personnel & Scheduling

๐ŸŽ“ Training

๐Ÿ’ฐ Economy

๐ŸŒ Community

๐ŸŽจ Customization

๐Ÿ”’ Special Units


๐Ÿ›๏ธ Departments

Department Role Access Level
Law Enforcement Full CAD access LEO
Dispatch Call management, radio, map Dispatch
Fire / EMS Incidents, patient care, apparatus Fire/EMS
Court Cases, hearings, sentencing Legal
Investigations NCIC, intelligence, evidence LEO
Search & Rescue Map, mutual aid, incidents Fire/EMS
Air Support Map, unit tracking, relay LEO
SWAT / Special Ops Tactical deployments Admin/LEO
Corrections Inmate processing, custody LEO
Civilian Self-service portal, 911 Civilian

๐Ÿš€ Installation

For Your Community

  1. Open the CAD โ€” navigate to the GitHub Pages URL in any browser
  2. Sign Up โ€” create an account and set up your server
  3. Share the invite code โ€” send it to your members via Discord
  4. Install as App โ€” tap โ€œAdd to Home Screenโ€ on mobile for a native app experience

Self-Hosting (New Community)

  1. Fork or clone this repository
  2. Enable GitHub Pages (Settings โ†’ Pages โ†’ main branch โ†’ root)
  3. Set up a Firebase Realtime Database
  4. Update firebase.js with your Firebase config
  5. Update manifest.json with your community name
  6. Share your GitHub Pages URL

๐Ÿ”ฅ Firebase Setup

RedLineCAD uses Firebase Realtime Database for live sync across all users.

Steps

  1. Go to Firebase Console
  2. Create a new project
  3. Add a Realtime Database (start in test mode)
  4. Copy your config and update firebase.js:
const firebaseConfig = {
  apiKey:            "YOUR_API_KEY",
  authDomain:        "YOUR_PROJECT.firebaseapp.com",
  databaseURL:       "https://YOUR_PROJECT-default-rtdb.firebaseio.com",
  projectId:         "YOUR_PROJECT",
  storageBucket:     "YOUR_PROJECT.appspot.com",
  messagingSenderId: "YOUR_SENDER_ID",
  appId:             "YOUR_APP_ID"
};
  1. Under Authentication โ†’ Settings โ†’ Authorized Domains, add your GitHub Pages URL
{
  "rules": {
    "servers": {
      "$serverId": {
        ".read": "auth != null || true",
        ".write": "auth != null || true"
      }
    }
  }
}

โš ๏ธ For production use, tighten rules to require authentication.


๐Ÿ“ File Structure

redlinecad/
โ”œโ”€โ”€ index.html                  # Main app entry point
โ”œโ”€โ”€ landing.html                # Public marketing / onboarding page
โ”œโ”€โ”€ public.html                 # Shareable no-login community dashboard
โ”œโ”€โ”€ manifest.json               # PWA manifest
โ”œโ”€โ”€ sw.js                       # Service worker (offline + caching)
โ”œโ”€โ”€ styles.css                  # Global dark theme styles
โ”‚
โ”œโ”€โ”€ firebase.js                 # Firebase initialization & connection
โ”œโ”€โ”€ offline.js                  # Offline queue, sync, listener management
โ”œโ”€โ”€ auth.js                     # Login, signup, role routing, sidebar
โ”œโ”€โ”€ sidebar.js                  # Page router (60+ pages)
โ”œโ”€โ”€ servers.js                  # Multi-server management
โ”‚
โ”œโ”€โ”€ calls.js                    # 911 call management
โ”œโ”€โ”€ units.js                    # Unit status and management
โ”œโ”€โ”€ smartflow.js                # AI dispatch suggestions
โ”œโ”€โ”€ radio.js                    # Multi-channel radio
โ”œโ”€โ”€ messages.js                 # Dispatch messaging
โ”œโ”€โ”€ livemap.js                  # Canvas live map
โ”œโ”€โ”€ proximity.js                # Unit proximity detection
โ”œโ”€โ”€ intelligence.js             # Zone heatmaps, predictive analysis
โ”‚
โ”œโ”€โ”€ civilians.js                # Civilian registry
โ”œโ”€โ”€ civilian-profiles.js        # Full civilian profile system
โ”œโ”€โ”€ civilian-search-enhanced.js # LEO NCIC view
โ”œโ”€โ”€ civilian-portal.js          # Civilian self-service + 911 view
โ”œโ”€โ”€ vehicles.js                 # Vehicle registration
โ”œโ”€โ”€ weapons.js                  # Weapons registry
โ”œโ”€โ”€ bolo.js                     # BOLOs and warrants
โ”œโ”€โ”€ penal-codes.js              # 200+ penal codes + charge builder
โ”œโ”€โ”€ citations.js                # Citation and fine system
โ”œโ”€โ”€ evidence.js                 # Evidence logging
โ”‚
โ”œโ”€โ”€ officer-profiles.js         # Officer profiles, certs, records
โ”œโ”€โ”€ reports.js                  # 12 report templates
โ”œโ”€โ”€ legal-system.js             # Court cases and hearings
โ”œโ”€โ”€ internal-affairs.js         # IA system + leaderboards
โ”œโ”€โ”€ promotion-review.js         # Auto-scored promotion reviews
โ”‚
โ”œโ”€โ”€ fire-ems.js                 # Fire/EMS incident reports
โ”œโ”€โ”€ hospital.js                 # Hospital intake
โ”œโ”€โ”€ apparatus.js                # Apparatus tracking
โ”‚
โ”œโ”€โ”€ economy.js                  # Core economy system
โ”œโ”€โ”€ economy-advanced.js         # Payroll, debt, business revenue
โ”œโ”€โ”€ banking.js                  # Full banking system
โ”‚
โ”œโ”€โ”€ secret-service.js           # Secret Service operations
โ”œโ”€โ”€ swat-special-ops.js         # SWAT + Special Ops
โ”œโ”€โ”€ scenarios.js                # Scenario builder
โ”‚
โ”œโ”€โ”€ duty-clock.js               # Duty clock + body cam + on-call
โ”œโ”€โ”€ cad-extras.js               # Tones, timeline, impound, weather
โ”œโ”€โ”€ newspaper.js                # Tribune press release system
โ”œโ”€โ”€ shift-schedule.js           # Shift scheduling
โ”œโ”€โ”€ alerts-system.js            # EAS + AMBER/Silver/Blue + Mutual Aid
โ”œโ”€โ”€ training-federation.js      # Training mode + Federation
โ”œโ”€โ”€ themes.js                   # 24 themes + display options
โ”œโ”€โ”€ data-export.js              # JSON/CSV backup and restore
โ”œโ”€โ”€ admin-health.js             # Server health dashboard
โ”œโ”€โ”€ notifications.js            # Push notifications (FCM)
โ”‚
โ”œโ”€โ”€ discord-webhooks.js         # CAD โ†’ Discord webhooks
โ”œโ”€โ”€ discord-sync.js             # Discord role sync
โ”œโ”€โ”€ game-config.js              # GTA V / GTA VI department presets
โ”‚
โ””โ”€โ”€ voice-radio.js              # Agora voice radio

๐Ÿ› ๏ธ Tech Stack

Technology Purpose
Vanilla JS / HTML / CSS Core application โ€” no framework
Firebase Realtime Database Live sync across all users
Progressive Web App (PWA) Installable on mobile/desktop
Service Worker Offline support + caching
Web Speech API AI call reading
Agora RTC Voice radio
Discord Webhooks CAD โ†’ Discord notifications
Rajdhani + Share Tech Mono Typography

๐Ÿค– Discord Integration

RedLineCAD posts automatically to Discord for:

Setup

  1. Create a Discord webhook in your server channel
  2. Go to Server Settings โ†’ Discord tab in the CAD
  3. Paste your webhook URLs per category
  4. Use the Test buttons to verify

๐ŸŽฎ Game Support

Feature GTA V GTA VI
Penal Codes California (PC/VC/HSC) Florida Statutes (FS)
Departments LSPD, BCSO, SAHP, LSFD LSP, VCPD, VDCSO, LFR, LEMS
Map Los Santos / Blaine County Leonida / Vice City
Jurisdiction Auto-detected from server settings Auto-detected from server settings

๐Ÿ”’ Roles & Permissions

Role Access
admin Full access to everything
supervisor All LEO + IA + Leaderboards + Promotions
leo Calls, NCIC, Reports, Citations, Penal Codes
dispatch Calls, Units, Radio, Map, EAS
fire Fire/EMS Reports, Apparatus, Hospital
ems EMS Reports, Patient Care, Hospital
civilian Civilian Portal, 911, News Feed

๐Ÿ“ฑ Mobile / PWA Installation

iPhone / iPad:

  1. Open the CAD in Safari
  2. Tap the Share button
  3. Tap โ€œAdd to Home Screenโ€
  4. Tap Add โ€” launches fullscreen like a native app

Android:

  1. Open the CAD in Chrome
  2. Tap the three-dot menu
  3. Tap โ€œAdd to Home Screenโ€ or โ€œInstall Appโ€

๐Ÿ“„ License

RedLineCAD is free for all GTA RP communities. Not affiliated with Rockstar Games.


**Built with โค๏ธ for the GTA RP community** ๐Ÿš” ยท ๐Ÿ”ฅ ยท ๐Ÿš‘ ยท โš–๏ธ ยท ๐Ÿ“ก