Upload folder via GUI - backend-join-guard

This commit is contained in:
Git Manager GUI
2026-05-07 21:55:33 +02:00
parent 8ffb5ca510
commit 39e86e4292
4 changed files with 598 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# BackendJoinGuard
# Dieses Plugin kommt auf JEDEN Unterserver (Paper/Spigot), nicht auf den Proxy.
# Nur Verbindungen von diesen Proxy-IPs oder Netzbereichen duerfen joinen.
enforcement-enabled: true
log-blocked-attempts: true
kick-message: "&cBitte verbinde dich nur ueber den Proxy-Server. Direkte Unterserver-Joins sind blockiert."
# Exakte Proxy-IPs
allowed-proxy-ips:
- "127.0.0.1"
- "::1"
# Optional ganze Netze im CIDR-Format
allowed-proxy-cidrs: []
# Beispiel:
# allowed-proxy-cidrs:
# - "10.0.0.0/24"
# - "192.168.178.10/32"
# Optional: zentrale Steuerung ueber StatusAPI
# Standard bleibt Standalone (enabled=false), damit BackendJoinGuard auch ohne StatusAPI nutzbar ist.
statusapi-sync:
enabled: true
base-url: "http://127.0.0.1:9191"
endpoint-path: "/network/backendguard/config"
api-key: "bgSync_7Rk9pQ2nLm5xV8cH4tW1yZ6"
interval-seconds: 60
log-sync-errors: true

View File

@@ -0,0 +1,14 @@
name: BackendJoinGuard
main: net.viper.backendguard.BackendJoinGuardPlugin
version: 1.0.0
author: M_Viper
description: Blockiert direkte Joins auf Backendserver und erlaubt nur Proxy-IPs.
api-version: '1.20'
commands:
backendguard:
description: BackendJoinGuard neu laden
usage: /backendguard reload
permissions:
backendguard.admin:
description: Darf BackendJoinGuard verwalten
default: op