first commit

This commit is contained in:
2026-07-16 09:35:32 +02:00
commit dd0746e2e6
179 changed files with 25679 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
Config = {}
-- Basis-URL des MDT-Backends (Server-zu-Server)
Config.BackendUrl = GetConvar('mdt:backendUrl', 'http://127.0.0.1:3000')
-- Shared Secret zwischen Bridge (Server) und Backend.
-- MUSS BRIDGE_HMAC_SECRET in der Backend-.env entsprechen. In server.cfg setzen:
-- set mdt:bridgeSecret "dein-langes-geheimnis"
Config.Secret = GetConvar('mdt:bridgeSecret', 'dev-insecure-bridge-secret')
-- Gehostete Web-App, die im NUI-iframe geladen wird
Config.WebUrl = GetConvar('mdt:webUrl', 'http://localhost:5190')
-- Command zum Öffnen des Tablets
Config.OpenCommand = GetConvar('mdt:openCommand', 'mdt')
-- Jobs, die das MDT öffnen dürfen → Basis-Department (police/ems/fire)
Config.JobDepartments = {
police = 'police',
bcso = 'police',
sheriff = 'police',
doj = 'police',
ambulance = 'ems',
ems = 'ems',
fire = 'fire',
}
-- Intervall (ms) für den server-seitigen Positions-Push (nur im Dienst)
Config.PositionInterval = 5000