🏰 FortressCore
Minecraft 服务器的终极安全与管理套件
FortressCore 是一款经过实战检验的一站式服务器保护插件,专为重视安全的服务器所有者打造。从基于 AI 的威胁检测到按角色划分的权限控制——你所需的一切来运行一个安全、管理良好的服务器的功能都集中于此。
⚡ 兼容离线模式 · 🤖 由 Gemini AI 驱动 · 🔒 BCrypt 加密 · 📋 完全可配置 · 🧵 支持 Folia
🆕 1.0.5-beta-2 新增内容
⚠️ Beta 版本 —— 更新前请备份你的服务器。你的 config.yml 将自动迁移,不会丢失数据(备份会保存到 storage/backups/config/)。
🛡️ 安全加固(重大更新)
在报告了黑客利用离线模式服务器获取所有者权限的真实案例后构建。
- 所有者权限现在需要登录会话 —— 仅知道所有者名称已不再足够
- 强制执行角色层级 —— 你无法惩罚、降级或触碰比你等级高或相等的角色
- 员工保护 —— 低等级员工无法踢人/封禁/静音/冻结员工
- 可信代理与共享 IP 检测 —— 减少误报,更好地提示账号共享行为
- 账户锁定 + 窗口化失败登录追踪 以及 已知良好 IP 识别
- 阻止弱密码
- 密码在所有地方都被掩码处理 —— 命令间谍、控制台、日志和 AI 提示中均不可见
/resetpassword 现在是仅限所有者使用
/fc security —— 对你设置的全面安全检查,包括所有者列表合理性检查
👑 配置文件定义的所有者与管理员 (Ops)
- 直接在
config.yml 中定义所有者和 FortressCore 管理员
- 可选择禁用
/owner add 和 /fcop add,防止有人在游戏内添加
- 适合严格管控:配置文件成为唯一的真理来源
🔧 维护模式
/maintenance on|off|add|remove|list,支持自定义原因和预计时间 (ETA)
- 允许列表玩家并绕过权限
- 为被拒绝的玩家提供自定义原因和 ETA 消息
📣 Discord 公告板
/discord 显示带有声音的可点击邀请链接
- 可选定时广播,提醒玩家加入你的 Discord
🕒 每区域实时时钟
- 新占位符:
%realtime%, %realdate%, %region%
/timezone 允许玩家选择自己的区域/时区
- 适用于计分板、标签页列表和聊天
🤝 传送请求
/tphere 和 /tpall 现在使用员工接受/拒绝流程(别名 /accept, /deny)
- 同样适用于旁观者模式下的管理员
🎨 颜色
- 聊天、标签页、计分板和消息中全面支持十六进制颜色、MiniMessage 和渐变
- 新增颜色主题设置
⚙️ 一切皆可配置
- 出生点、认证、TPA、tphere、标签页列表等现在拥有各自的配置部分
config.yml 重新组织为9 个编号部分,更易于查找和编辑
/fc config check 验证你的配置并指出错误
🔄 更智能的自动更新器与配置迁移
- 新配置是从最新模板重建的,你的值会被移入——未更改的默认值会被更新,自定义角色/消息/区域/提示保持不变
- 过时的键被归档到
storage/config-legacy.yml;生成一个人类可读的 config-migration-report.txt
- 更新和重启后,控制台会显示更新警告 + 更新日志
🤖 AI 修复
- AI 现在默认为建议性质 —— 不自动封禁或 IP 封禁
- 使用真实玩家数据,员工豁免,且不向 Gemini 发送任何 IP 地址
- 清理监控名单并减少本地报告以降低误报
- 修复 IP 日志格式
🧵 Folia
- 启用 Folia 支持 —— 为传送、踢人和任务提供区域安全的调度
🤖 基于 AI 的安全
Gemini 3.5 Flash 集成
FortressCore 的 AI 引擎运行7 个独立的安全模块 —— 全部异步、全部限流,如果 API 不可用则回退到基于规则的逻辑。设置你的 API 密钥并让它运行即可。
| 模块 |
功能 |
| 🔍 加入威胁分析 |
分析每个连接玩家的资料,并向员工标记关键威胁 |
| 🔑 登录异常检测 |
通过 IP 区域和时间指纹识别标记账户接管尝试 |
| 💬 聊天审核 |
扫描每条消息以检测毒性、广告和诈骗 |
| ⌨️ 命令滥用检测 |
实时捕获漏洞探测和权限提升 |
| 👁️ 监控名单自动化 |
监控被标记的玩家,并在观察期结束后提供 AI 判决 |
| 📜 封禁申诉审查 |
阅读玩家申诉,并建议所有者拒绝/减轻/赦免 |
| 📊 安全报告 |
针对在线所有者的定期威胁摘要与趋势分析 |
- 所有 Gemini 提示模板均可在
config.yml 中编辑
- 每日配额跟踪 —— 在 Google 免费层限制处暂停 AI,并在 UTC 午夜恢复
- 熔断器 —— 在配额耗尽时停止重试,而不是刷屏你的日志
- 当 AI 不可用或禁用时,完全基于规则的回退
🔒 安全功能
🪪 登录与账户保护
- 强制登录/注册并使用 BCrypt 哈希
- 防冒充 —— 基于用户名的密码锁定,适用于离线模式服务器
- 可配置的会话持续时间 —— 按天、按小时或永不过期
- 双因素认证 (2FA)
- 登录尝试限制与临时 IP 封禁
- everytime_login 切换开关
🛡️ 反作弊与反机器人
- 锁定模式 —— 在加入激增时自动激活,可手动切换
- 通过 proxycheck.io 进行 VPN/代理检测
- IP 白名单与黑名单
- 带正则表达式的用户名黑名单
- 反垃圾邮件、反洪水和快速重连检测
🔑 访问控制
- 多所有者系统 —— 与原版 op 分离
- FortressCore 管理员管理 —— 独立于 Minecraft 的 op 权限
- IP 历史记录追踪,附带完整的审计轨迹
👑 角色系统
- 4 种内置角色 — OWNER · ADMIN · MODERATOR · MEMBER
- 无限数量的自定义角色(VIP、Builder、Trusted...)
- 每个角色可配置聊天颜色、名称颜色、前缀、后缀、优先级
- 自动控制 Tab 列表顺序和记分板显示
- 通配符权限 —
* 或 fortresscore.*
/role give/take/info/list/create/delete/edit/addperm/delperm
🛠️ 管理工具
/ban /ipban /unban /unipban /banlist — 支持永久与临时封禁
/kick /kickall /mute /unmute /freeze
/burn /smite /strike /kill /killall
- 指令间谍、社交间谍、员工频道 (Staff Chat)
- AI 辅助申诉审核
🔁 每日重启系统
- 支持多个每日重启时间点,完整时区支持
- 倒计时警告、动作栏计时器、最后 10 秒显示标题
- 若有玩家在线,可启用推迟模式
/restart now|in 5m|cancel|status
- 每次重启前保存所有数据
🐛 错误报告系统
/bugreport <description> 发送 Discord Webhook 嵌入消息
- 确认步骤、5 分钟冷却时间、持久化的报告 ID
- 嵌入消息中隐藏 IP 地址
⚔️ 管理员实用工具
- 🔎 SpawnVein — 生成隐藏的矿脉以检测 X-Ray 作弊者(
/spawnvein <player> <ore> <amount>,10 分钟后自动恢复)
- ✨ /enchant — 附魔最高可达 255 级,支持 50+ 个别名
- 💬 /nick — 昵称在聊天、Tab 列表和记分板中显示,并附带角色前缀
🌐 传送与移动
| 指令 |
描述 |
/tpa /tphere /tpaccept /tpdeny /accept /deny /back |
完整的传送请求系统 |
/tp /tpall |
直接传送 |
/home /sethome /delhome /homes |
个人家园 |
/warp /setwarp /delwarp /warps |
全局传送点 |
/jump /near |
实用移动功能 |
🎒 玩家实用工具
物品栏: /invsee(支持查看离线玩家)· /enderchest · /clearinventory · /trash · /hat · /more · /repair · /skull
生存: /heal · /feed · /god · /suicide · /ext
世界: /fly · /speed · /vanish · /day · /night · /sun · /weather · /time · /seed
⚙️ 管理指令
| 指令 |
描述 |
/fc reload |
热重载配置文件 |
/fc status |
服务器状态 + AI 使用情况 |
/fc lockdown |
切换锁定模式 |
/fc auditlog |
近期安全事件日志 |
/fc ipinfo <player> |
玩家的 IP、VPN 和 UUID 历史记录 |
/fc security |
🆕 安全审计 |
/fc config check |
🆕 验证 config.yml |
/fc report /fc watchlist /fc appeal |
AI 工具 |
/owner /fcop |
所有者 / OP 管理 |
/maintenance |
🆕 维护模式 |
/discord /timezone |
🆕 社区与时钟工具 |
/restart /role /bugreport |
重启、角色、错误报告 |
⚙️ 技术亮点
- 🧵 支持 Folia · 完全异步的 HTTP、文件 I/O 和 AI 调用
- 🔄 自动更新器 — Modrinth 源,SHA-512 验证,重启时应用并保留备份
- 🗂️ 安全的配置迁移 — 新增选项,保留您的原有值
- 📝 审计日志,支持配置保留时长
- 🎨 MiniMessage、十六进制色、渐变色以及传统
& 颜色代码
- 📦 零外部插件依赖
📋 要求
- Paper / Folia 1.21.x — 26.3+
- Java 21+(26.x 服务器需 Java 25)
- Gemini API key (可选)
- proxycheck.io API key (可选)
为 Minecraft 社区 ❤️ 打造
作者: _v.o.i.d.x | 版本: 1.0.5-beta-2 | MC: 1.21.x — 26.3+
📦 Modrinth
🏰 FortressCore
The Ultimate Security & Administration Suite for Minecraft Servers
FortressCore is a battle-tested, all-in-one server protection plugin
built for server owners who take security seriously. From AI-powered
threat detection to per-role permissions — everything you need to run
a safe, well-managed server is in one place.
⚡ Offline-mode friendly · 🤖 Gemini AI powered · 🔒 BCrypt encrypted · 📋 Fully configurable · 🧵 Folia supported
🆕 New in 1.0.5-beta-2
⚠️ Beta release — back up your server before updating. Your config.yml is migrated automatically with no data loss (a backup is saved to storage/backups/config/).
🛡️ Security Hardening (big one)
Built after real-world reports of hackers gaining owner on offline-mode servers.
- Owner power now requires a logged-in session — knowing an owner's name is no longer enough
- Role hierarchy enforced — you can't punish, demote or touch someone at or above your role
- Staff protection — staff are shielded from kick/ban/mute/freeze by lower ranks
- Trusted proxies & shared-IP detection — fewer false positives, better account-sharing alerts
- Account lock + windowed failed-login tracking and known-good IP recognition
- Weak-password blocking
- Passwords are masked everywhere — command spy, console, logs and AI prompts
/resetpassword is now owner-only
/fc security — security audit of your setup, including owner list sanity checks
👑 Config-Defined Owners & Ops
- Define owners and FortressCore ops directly in
config.yml
- Optionally disable
/owner add and /fcop add so nobody can be added in-game
- Lock-down friendly: the config becomes the single source of truth
🔧 Maintenance Mode
/maintenance on|off|add|remove|list with a custom reason and ETA
- Allow-list players and bypass permission
- Custom reason and ETA message for players who are refused
📣 Discord Announcer
/discord shows a clickable invite link with a sound
- Optional timed broadcasts to remind players about your Discord
🕒 Real-Time Clocks Per Region
- New placeholders:
%realtime%, %realdate%, %region%
/timezone lets players pick their own region/time
- Works in scoreboard, tab list and chat
🤝 Teleport Requests
/tphere and /tpall now use an accept / deny flow for staff (/accept, /deny aliases)
- Works for admins in spectator mode too
🎨 Colors
- Full hex colors, MiniMessage and gradients across chat, tab, scoreboard and messages
- New color theme setting
⚙️ Everything Configurable
- Spawn, authentication, TPA, tphere, tab list and more now have their own config sections
config.yml reorganized into 9 numbered sections, easier to find and edit
/fc config check validates your config and points out mistakes
🔄 Smarter Auto-Updater & Config Migration
- New config is rebuilt from the latest template and your values are moved in — untouched defaults get updated, custom roles/messages/regions/prompts are kept
- Obsolete keys are archived to
storage/config-legacy.yml; a human-readable config-migration-report.txt is created
- Update caution + changelog shown in console after an update and restart
🤖 AI Fixes
- AI is now advisory by default — no automatic bans or IP-bans
- Uses real player data, staff are exempt, and no IP addresses are sent to Gemini
- Watchlist cleanup and quieter local reports to cut false alarms
- IP log format fixed
🧵 Folia
- Folia support enabled — region-safe scheduling for teleports, kicks and tasks
🤖 AI-Powered Security
Gemini 3.5 Flash Integration
FortressCore's AI engine runs 7 independent security modules — all
async, all rate-limited, all falling back to rule-based logic if the
API is unavailable. Set your API key and let it run.
| Module |
What it does |
| 🔍 Join Threat Analysis |
Profiles every connecting player and flags critical threats for staff |
| 🔑 Login Anomaly Detection |
Flags account takeover attempts via IP region and time fingerprinting |
| 💬 Chat Moderation |
Scans every message for toxicity, ads and scams |
| ⌨️ Command Abuse Detection |
Catches exploit probing and permission escalation in real time |
| 👁️ Watchlist Automation |
Monitors flagged players and delivers an AI verdict after a watch period |
| 📜 Ban Appeal Review |
Reads player appeals and recommends deny / reduce / pardon to owners |
| 📊 Security Reports |
Scheduled threat summaries with trend analysis for online owners |
- All Gemini prompt templates are editable in config.yml
- Daily quota tracking — pauses AI at Google's free-tier limit and resumes at UTC midnight
- Circuit breaker — stops retrying on quota exhaustion instead of spamming your logs
- Full rule-based fallback when AI is unavailable or disabled
🔒 Security Features
🪪 Login & Account Protection
- Mandatory login / registration with BCrypt hashing
- Anti-impersonation — username-based password locking for offline-mode servers
- Configurable session durations — per day, per hour, or never
- Two-Factor Authentication (2FA)
- Login attempt limits with temporary IP bans
- everytime_login toggle
🛡️ Anti-Hack & Anti-Bot
- Lockdown Mode — auto-activates on join spikes, manually togglable
- VPN / Proxy detection via proxycheck.io
- IP whitelist & blacklist
- Username blacklist with regex
- Anti-spam, anti-flood and fast-reconnect detection
🔑 Access Control
- Multi-owner system — separate from vanilla op
- FortressCore op management — independent of Minecraft ops
- IP history tracking with full audit trail
👑 Role System
- 4 built-in roles — OWNER · ADMIN · MODERATOR · MEMBER
- Unlimited custom roles (VIP, Builder, Trusted...)
- Per-role chat color, name color, prefix, suffix, priority
- Controls tab order and scoreboard automatically
- Wildcard permissions —
* or fortresscore.*
/role give/take/info/list/create/delete/edit/addperm/delperm
🛠️ Moderation Tools
/ban /ipban /unban /unipban /banlist — permanent & temporary
/kick /kickall /mute /unmute /freeze
/burn /smite /strike /kill /killall
- Command Spy, Social Spy, Staff Chat
- AI-assisted appeal review
🔁 Daily Restart System
- Multiple daily restart times, full timezone support
- Countdown warnings, action bar timer, title in final 10 seconds
- Postpone mode if players are online
/restart now|in 5m|cancel|status
- All data saved before every restart
🐛 Bug Report System
/bugreport <description> sends a Discord webhook embed
- Confirmation step, 5-minute cooldown, persistent report IDs
- IPs masked in the embed
⚔️ Admin Utilities
- 🔎 SpawnVein — hidden ore veins to catch X-Ray (
/spawnvein <player> <ore> <amount>, auto-restores after 10 min)
- ✨ /enchant — enchantments up to level 255, 50+ aliases
- 💬 /nick — nicknames shown in chat, tab and scoreboard with role prefix
🌐 Teleportation & Movement
| Command |
Description |
/tpa /tphere /tpaccept /tpdeny /accept /deny /back |
Full teleport request system |
/tp /tpall |
Direct teleportation |
/home /sethome /delhome /homes |
Personal homes |
/warp /setwarp /delwarp /warps |
Global warps |
/jump /near |
Utility movement |
🎒 Player Utilities
Inventory: /invsee (works on offline players) · /enderchest · /clearinventory · /trash · /hat · /more · /repair · /skull
Survival: /heal · /feed · /god · /suicide · /ext
World: /fly · /speed · /vanish · /day · /night · /sun · /weather · /time · /seed
⚙️ Administrative Commands
| Command |
Description |
/fc reload |
Hot-reload configs |
/fc status |
Server + AI usage |
/fc lockdown |
Toggle lockdown |
/fc auditlog |
Recent security events |
/fc ipinfo <player> |
IP, VPN and UUID history |
/fc security |
🆕 Security audit |
/fc config check |
🆕 Validate config.yml |
/fc report /fc watchlist /fc appeal |
AI tools |
/owner /fcop |
Owner / op management |
/maintenance |
🆕 Maintenance mode |
/discord /timezone |
🆕 Community & clock tools |
/restart /role /bugreport |
Restart, roles, bug reports |
⚙️ Technical Highlights
- 🧵 Folia supported · fully async HTTP, file I/O and AI calls
- 🔄 Auto-updater — Modrinth, SHA-512 verified, applied on restart with backups
- 🗂️ Safe config migration — new options added, your values kept
- 📝 Audit log with configurable retention
- 🎨 MiniMessage, hex, gradient and legacy
& colors
- 📦 Zero external plugin dependencies
📋 Requirements
- Paper / Folia 1.21.x — 26.3+
- Java 21+ (Java 25 on 26.x servers)
- Gemini API key (optional)
- proxycheck.io API key (optional)
Built with ❤️ for the Minecraft community
Author: _v.o.i.d.x | Version: 1.0.5-beta-2 | MC: 1.21.x — 26.3+
📦 Modrinth
评论 0
登录后参与评分
还没有评论,来抢沙发吧