
FortressCore
FortressCore is a comprehensive Minecraft server security plugin featuring AI-powered threat analysis,login/registration,anti-impersonation,IP scanning,automated chat moderation,watchlist monitoring,and advanced tools including bans,appeals,and audit log.
🧩 FortressCore v1.0.3 —— Auto-updater
This release focuses on codebase health, compilation optimizations, and completing the integration of the automatic update and configuration migration systems.
🚀 Features & Integration
• Auto-Updater Integration: Configured ConfigMigrator to run automatically inside UpdateManager on plugin startup ( onEnable ). This ensures that your config.yml automatically gets updated with any new default keys, while legacy or removed keys are safely archived to config- legacy.yml .
🔧 Bug Fixes & Code Health
-
Resolved Compilation Errors: Fixed a missing Iterator import inside ConfigMigrator.java that was causing compilation failures in builds.
-
Codebase Warnings Sweep: Resolved all compiler warnings across the codebase.
-
Unused Code & Import Cleanup:
-
Removed unused imports from core files, manager classes, and AI modules.
-
Cleaned up redundant fields and local variables, such as the unused uniqueIps field in SecurityReportAI. java (now uses seenIps.size() for accuracy).
-
Suppressed warnings on intentionally defined fields reserved for upcoming features (such as maintenanceMode in ConfigManager ).
📦 Technical & Compatibility
-
Verified Paper & Folia Support: Fully compiled and packaged with Paper/Folia API 1.21.1-R0.1-SNAPSHOT .
-
Clean Shading: Shaded dependency handling with jbcrypt and gson verified successfully.
-
🧩 FortressCore v1.0.2 — Gemini AI Integration
New: AI Security Modules (Gemini 3.5 Flash)
- AI Join Threat Analysis — profiles every player on connect, auto-kicks/bans based on threat level
- AI Chat Moderation — real-time toxicity, ad, scam, and hate speech detection with auto-actions
- AI Command Abuse Detection — detects exploit probing and permission escalation in batches
- AI Login Anomaly Detection — flags account takeover via IP region and time fingerprinting
- AI Watchlist Automation — behavioral monitoring with auto-verdict after configurable watch period
- AI Ban Appeal System — sincerity analysis with deny/reduce/pardon recommendations for owners
- AI Security Reports — scheduled threat summaries with trend analysis broadcast to all owners
New Commands
- /fc report latest / generate — AI security reports
- /fc watchlist add/remove/list — manage AI watchlist
- /fc appeal list/review/accept/deny/reduce — manage AI-assisted ban appeals
New Config (config.yml)
- Full ai: section with per-feature toggles
- Configurable Gemini prompt templates per feature
- Rate limiting (default: 15 calls/minute)
- Fallback to rule-based logic on API failure
- model: gemini-3.5-flash
Technical
- New package: me.fortress.fortresscore.ai
- GeminiAIManager — singleton HTTP client with async rate limiter and JSON parser
- AIActionExecutor — dispatches verdicts to main thread via Bukkit scheduler
- AIRateLimiter — token bucket implementation
- All AI calls fully async, zero main thread blocking
- All AI decisions logged to audit-log.yml with feature, action, latency, and prompt hash
- Gson used for all AI JSON parsing
Improvements
- /fc status now displays AI module usage stats
- Audit log extended with AI action categories
- Owner notifications for medium/high AI threat flags
- appeals.yml added for persistent appeal storage
- ai-watchlist.yml added for watchlist persistence
- security-reports/ folder for report archiving
Fixes
- Fixed custom join/leave messages
Compatible
- Now works with 1.21.x to 26.1.x versions
Нет описания изменений
