initial implementation complete
This commit is contained in:
76
target/classes/config.yml
Normal file
76
target/classes/config.yml
Normal file
@@ -0,0 +1,76 @@
|
||||
# GriefDetect Configuration
|
||||
# Modular, async-first grief pattern detection with confidence scoring and Discord webhook reporting.
|
||||
|
||||
global:
|
||||
# Enable/disable the entire plugin
|
||||
enable: true
|
||||
|
||||
# Use async processing (recommended)
|
||||
async: true
|
||||
|
||||
permissions:
|
||||
# Permission node for full configuration access
|
||||
admin: "griefdetect.admin"
|
||||
|
||||
# Permission node for reload command
|
||||
reload: "griefdetect.reload"
|
||||
|
||||
# Permission node for receiving chat alerts
|
||||
alerts: "griefdetect.alerts"
|
||||
|
||||
# Permission node for bypassing detection
|
||||
bypass: "griefdetect.bypass"
|
||||
|
||||
webhook:
|
||||
# Enable Discord webhook notifications
|
||||
enabled: false
|
||||
|
||||
# Discord webhook URL
|
||||
url: ""
|
||||
|
||||
# Minimum confidence threshold for webhook (0-100)
|
||||
threshold: 75.0
|
||||
|
||||
# Number of retry attempts on failure
|
||||
retryAttempts: 3
|
||||
|
||||
# Delay between retry attempts (milliseconds)
|
||||
retryDelay: 5000
|
||||
|
||||
# Area-based cooldown to prevent spam (seconds)
|
||||
areaCooldown: 300
|
||||
|
||||
chat:
|
||||
# Enable in-game chat alerts
|
||||
enabled: true
|
||||
|
||||
# Minimum confidence threshold for chat alerts (0-100)
|
||||
threshold: 50.0
|
||||
|
||||
# Chat message format (supports & colors)
|
||||
# Variables: %s (detection type), %s (world), %d (x), %d (y), %d (z), %d (confidence)
|
||||
format: "&c[GriefDetect] &7%s &fat &6%s:%d,%d,%d &7(%d%%)"
|
||||
|
||||
engine:
|
||||
# Analysis interval in milliseconds (default: 5 seconds)
|
||||
analysisInterval: 5000
|
||||
|
||||
# Cluster timeout in milliseconds (default: 5 minutes)
|
||||
clusterTimeout: 300000
|
||||
|
||||
# Maximum clusters per world
|
||||
maxClustersPerWorld: 50
|
||||
|
||||
modules:
|
||||
LavaCastDetector:
|
||||
# Enable lava-water interaction detection
|
||||
enabled: true
|
||||
|
||||
# Minimum block count to trigger evaluation
|
||||
minBlockCount: 10
|
||||
|
||||
# Minimum duration in milliseconds to trigger evaluation
|
||||
minDuration: 5000
|
||||
|
||||
# Mining suppression threshold (0.0-1.0)
|
||||
suppressionThreshold: 0.1
|
||||
Reference in New Issue
Block a user