diff --git a/src/main/resources/network-guard.properties b/src/main/resources/network-guard.properties new file mode 100644 index 0000000..def85e0 --- /dev/null +++ b/src/main/resources/network-guard.properties @@ -0,0 +1,62 @@ +# =========================== +# 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=false +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=false +antibot.vpn_check.block_proxy=true +antibot.vpn_check.block_hosting=true +antibot.vpn_check.cache_minutes=30 +antibot.vpn_check.timeout_ms=2500