diff --git a/src/main/resources/network-guard.properties b/src/main/resources/network-guard.properties index 0472b76..be32267 100644 --- a/src/main/resources/network-guard.properties +++ b/src/main/resources/network-guard.properties @@ -1,79 +1,79 @@ -# =========================== -# NETWORK INFO MODUL -# =========================== -networkinfo.enabled=true -networkinfo.command.enabled=true -# Aus Datenschutzgruenden standardmaessig aus. Wenn true, erscheinen alle Spielernamen im JSON. -networkinfo.include_player_names=false - -# Discord Webhook fuer Status-, Warn- und Attack-Meldungen -networkinfo.webhook.enabled=true -networkinfo.webhook.url=https://discord.com/api/webhooks/1488630083164831844/o7L5Mhy5P_xE_n-2Dq9usIVX40o7fCpPHgaGQOVIQHjfK7SDrVJbdeZM-G6vVRVhvzT9 -networkinfo.webhook.username=StatusAPI -networkinfo.webhook.thumbnail_url= -networkinfo.webhook.notify_start_stop=true -# compact = kurze Texte | detailed = strukturierte Embeds mit Feldern -networkinfo.webhook.embed_mode=detailed -networkinfo.webhook.check_seconds=30 - -# Alert-Schwellwerte -networkinfo.alert.memory_percent=90 -networkinfo.alert.player_percent=95 -networkinfo.alert.cooldown_seconds=300 - -# Attack Meldungen (Detected/Stopped) -networkinfo.attack.enabled=true -# Nutzt automatisch networkinfo.webhook.url -networkinfo.attack.source=Viper-Network -# API-Key fuer POST /network/attack -networkinfo.attack.api_key=2jN8xQ4mL9vK3sT7pR1yW6dH5cF0bZ - -# =========================== -# ANTIBOT / ATTACK GUARD -# =========================== -antibot.enabled=true - -# Profile: strict | high-traffic -# strict: agressiver Schutz, schnelleres Blocken, VPN-Check standardmaessig aktiv -# high-traffic: toleranter fuer grosse Netzwerke mit Lastspitzen -antibot.profile=high-traffic - -# Presets (Referenz): -# strict -> max_cps=120, start_cps=220, stop_cps=120, ip/min=18, block_seconds=900, vpn_check.enabled=true -# high-traffic -> max_cps=180, start_cps=300, stop_cps=170, ip/min=24, block_seconds=600, vpn_check.enabled=false -# Hinweis: Werte unten ueberschreiben das Profil bei Bedarf. - -# Globaler Traffic -antibot.max_cps=180 -antibot.attack.start_cps=300 -antibot.attack.stop_cps=170 -antibot.attack.stop_grace_seconds=25 - -# Pro-IP Limiter -antibot.ip.max_connections_per_minute=24 -antibot.ip.block_seconds=600 -antibot.kick_message=Zu viele Verbindungen von deiner IP. Bitte warte kurz. - -# Optionaler VPN/Proxy/Hosting Check (ip-api) -antibot.vpn_check.enabled=true -antibot.vpn_check.block_proxy=true -antibot.vpn_check.block_hosting=true -antibot.vpn_check.cache_minutes=30 -antibot.vpn_check.timeout_ms=2500 - -# =========================== -# BACKEND JOIN GUARD SYNC (optional) -# =========================== -# Diese Werte koennen von BackendJoinGuard im StatusAPI-Sync-Modus abgeholt werden. -# Standalone bleibt weiterhin moeglich. -backendguard.enforcement_enabled=true -backendguard.log_blocked_attempts=true -backendguard.kick_message=&cBitte verbinde dich nur über den Proxy-Server. -# Wichtig: Hier nur echte Proxy-IP(s) eintragen. -backendguard.allowed_proxy_ips=127.0.0.1,::1,10.0.0.10 -# Optional: internes Proxy-Netz als CIDR -backendguard.allowed_proxy_cidrs=10.0.0.0/24 - -# Optionaler API-Key fuer GET /network/backendguard/config -# Leer = kein API-Key erforderlich (nur im internen Netzwerk empfohlen) -backendguard.sync.api_key=bgSync_7Rk9pQ2nLm5xV8cH4tW1yZ6 +# =========================== +# NETWORK INFO MODUL +# =========================== +networkinfo.enabled=true +networkinfo.command.enabled=true +# Aus Datenschutzgruenden standardmaessig aus. Wenn true, erscheinen alle Spielernamen im JSON. +networkinfo.include_player_names=false + +# Discord Webhook fuer Status-, Warn- und Attack-Meldungen +networkinfo.webhook.enabled=true +networkinfo.webhook.url= +networkinfo.webhook.username=StatusAPI +networkinfo.webhook.thumbnail_url= +networkinfo.webhook.notify_start_stop=true +# compact = kurze Texte | detailed = strukturierte Embeds mit Feldern +networkinfo.webhook.embed_mode=detailed +networkinfo.webhook.check_seconds=30 + +# Alert-Schwellwerte +networkinfo.alert.memory_percent=90 +networkinfo.alert.player_percent=95 +networkinfo.alert.cooldown_seconds=300 + +# Attack Meldungen (Detected/Stopped) +networkinfo.attack.enabled=true +# Nutzt automatisch networkinfo.webhook.url +networkinfo.attack.source=Viper-Network +# API-Key fuer POST /network/attack +networkinfo.attack.api_key=2jN8xQ4mL9vK3sT7pR1yW6dH5cF0bZ + +# =========================== +# ANTIBOT / ATTACK GUARD +# =========================== +antibot.enabled=true + +# Profile: strict | high-traffic +# strict: agressiver Schutz, schnelleres Blocken, VPN-Check standardmaessig aktiv +# high-traffic: toleranter fuer grosse Netzwerke mit Lastspitzen +antibot.profile=high-traffic + +# Presets (Referenz): +# strict -> max_cps=120, start_cps=220, stop_cps=120, ip/min=18, block_seconds=900, vpn_check.enabled=true +# high-traffic -> max_cps=180, start_cps=300, stop_cps=170, ip/min=24, block_seconds=600, vpn_check.enabled=false +# Hinweis: Werte unten ueberschreiben das Profil bei Bedarf. + +# Globaler Traffic +antibot.max_cps=180 +antibot.attack.start_cps=300 +antibot.attack.stop_cps=170 +antibot.attack.stop_grace_seconds=25 + +# Pro-IP Limiter +antibot.ip.max_connections_per_minute=24 +antibot.ip.block_seconds=600 +antibot.kick_message=Zu viele Verbindungen von deiner IP. Bitte warte kurz. + +# Optionaler VPN/Proxy/Hosting Check (ip-api) +antibot.vpn_check.enabled=true +antibot.vpn_check.block_proxy=true +antibot.vpn_check.block_hosting=true +antibot.vpn_check.cache_minutes=30 +antibot.vpn_check.timeout_ms=2500 + +# =========================== +# BACKEND JOIN GUARD SYNC (optional) +# =========================== +# Diese Werte koennen von BackendJoinGuard im StatusAPI-Sync-Modus abgeholt werden. +# Standalone bleibt weiterhin moeglich. +backendguard.enforcement_enabled=true +backendguard.log_blocked_attempts=true +backendguard.kick_message=&cBitte verbinde dich nur über den Proxy-Server. +# Wichtig: Hier nur echte Proxy-IP(s) eintragen. +backendguard.allowed_proxy_ips=127.0.0.1,::1,10.0.0.10 +# Optional: internes Proxy-Netz als CIDR +backendguard.allowed_proxy_cidrs=10.0.0.0/24 + +# Optionaler API-Key fuer GET /network/backendguard/config +# Leer = kein API-Key erforderlich (nur im internen Netzwerk empfohlen) +backendguard.sync.api_key=bgSync_7Rk9pQ2nLm5xV8cH4tW1yZ6