
NexusCore 管理框架
Minecraft Java Edition 1.21.1 的服务器管理方案 —— 权限、审核、传送、玩家工具以及防篡改审计日志,合而为一。
免费,且保持免费。 无付费层级,无高级构建版本,没有任何功能被保留。
无需插件加载器。无需其他管理模组。无需数据库。无需客户端模组。
将 JAR 文件安装到专用服务器上。玩家使用完全未经修改的原版客户端加入游戏——包括管理面板,它以普通箱子菜单的形式渲染。
兼容性
|
|
| Minecraft |
1.21.1 |
| Java |
21 或更高版本 |
| NeoForge |
21.1.235 或更高版本 |
| Fabric |
Loader 0.19.3+ 配合 Fabric API |
| Forge |
52.1.16 或更高版本 |
| 端侧 |
仅服务端 |
一套代码库可构建所有三种加载器的版本,每个发布版本在推出前都会在三个加载器上经过验证。
功能介绍
? 权限
支持多重继承、通配符和显式拒绝的组别系统。check 命令会解释其答案——指出是哪个组别授予或拒绝了某个节点,以及原因是什么——而不是仅仅返回一个简单的“是”或“否”。
⚔️ 审核
/kick /ban /tempban /unban /mute /unmute /warn /warnings /banlist。
处罚记录永远不会被删除。解除处罚时会记录操作者及时间,从而保持历史记录完整。
封禁界面为全屏样式,带有实时倒计时和可配置的申诉联系方式。
? 传送
家园、传送点、出生点、/back(包括回到死亡地点)、/tpa 以及管理员专用的 /tp。
目的地安全性会进行实际检查——如果传送不安全,会因具体原因被拒绝,而不是将你传送到大致正确的位置。
? 玩家工具
/heal /feed /fly /god /speed /vanish /playerinfo /seen /list /near。
? 防篡改审计日志
采用追加写入模式并通过 SHA-256 哈希链接,使得篡改行为可检测而非仅仅是被劝阻。IP 地址、密码和令牌在写入时即被脱敏处理,而非事后清除。
?️ 游戏内管理面板
仪表盘、分页玩家列表、单个玩家操作、审核与权限概览以及服务器诊断信息——均以原版箱子菜单的形式渲染。权限会在每一次点击时重新检查,而不仅仅是在菜单打开时。
? 原版命令接管
NexusCore 接管了它所替换的原版命令(/ban /kick /banlist /pardon /list /tp /teleport /gamemode),因此你staff原本输入的命令现在具备了持续时间、理由、历史记录和审计记录。设置 overrideVanillaCommands=false 可完全禁用此功能。
?️ 安全模式
启动时添加参数 -Dnexuscore.safemode=true 以仅启动核心模块,从而恢复一个无法正常启动的服务器。原版审核命令在整个过程中始终可用——安全模式绝不会导致你无法踢出破坏者。
诚实的状态声明
本项目公开未修复的缺陷,而不是隐藏它们。
v1.1.0 版本已验证: 214 个自动化测试,0 次失败。八次运行时运行——分别在 NeoForge、Fabric 和 Forge 上各运行正常模式和安全模式——每次运行均无任何 NexusCore 错误,且审计链保持完整。一名真实玩家在真实的专用服务器上体验了大部分功能集。
v1.1.0 版本已修复 —— 本版本中关闭的安全缺陷:/execute as <player> 不再能借用其他玩家的 NexusCore 权限(替换的命令源会被拒绝,审计日志会指明真正的发出者);告示牌和讲台存在的混淆副手路径已通过相同方式修复;两个未能正确闭合的权限值问题;以及 permissions.json 从未被重新读取的问题。
v1.1.0 版本的已知问题 —— 部署前请务必阅读。 这里列出的是该项目自身列表中所有的 High 和 Medium 级别缺陷,并非经过筛选的部分:
- 高 —
/seen <unknown name> 可能导致服务器卡顿。IdentityService.resolve() 会在服务器线程上回退到阻塞式的 Mojang HTTP 查找,因此如果 Mojang API 响应缓慢或无法访问,整个服务器将在请求持续期间被阻塞。普通玩家即可触发此问题。计划于 1.1.1 版本处理第一项。
- 中 — 隐身状态对旁观者表现异常。存在四个仅在其他玩家客户端上显现的相关缺陷:聊天显示为验证错误、取消隐身时未恢复已看到其隐身的实体、后来加入的玩家未重新应用隐身状态、以及隐身集合在死亡后依然保留而 invisibility 标志则不然。
- 中 — 第二次封禁或静音不会停用第一次。
/unban 解除一项封禁并报告成功,但玩家仍处于封禁状态;活跃计数重复计算,且返回的并非最严格的记录。
- 中 —
audit.log 从不轮转。它在启动时、关闭时以及每次执行 verify 和 tail 命令时,会被完整读入堆内存并在服务器线程上进行 SHA-256 哈希计算——导致无限制的增长加上同步的全量读取。
- 中 — 瞬态读取错误可能会隔离完好的
permissions.json。JsonStore.read() 在任何 IOException 发生时都会进行隔离,因此一次性的读取失败会将健康文件移至一旁,下次启动将从默认值开始。
- 中 —
config.json 会无声地丢失操作员密钥。加载过程会从类型化对象重写文件,删除架构未知的任何键,同时报告“未发现任何问题”。
- 中 —
players.json 在每次登录和登出时都会被完整重写。从未修剪,且每次写入都会复制完整的 .bak 文件并执行两次 fsync。
- 中 — Fabric 版死亡消息丢失其原因。所有带样式的死亡消息均显示为
<Player> died —— 仅限 Fabric 版。
- 中 —
/pardon 和 /banlist 使原版封禁状态陷入混乱。接管前的原版封禁变得无法解除,且 /ban-ip 和 /pardon-ip 是 NexusCore 从未接管的独立命令,因此 IP 封禁既未被审计也未列出。
- 测试期间同一时间只有一名玩家在线。所有需要第二名玩家的功能均未经验证——包括上述四个隐身缺陷,它们仅在其他玩家的客户端上出现。
其余 13 项为低严重性,发布在 IMPLEMENTATION_STATUS.md 中,而非被隐瞒。
未构建,且不承诺实现: 经济系统、聊天频道、监狱与举报、调度器、备份、基准测试工具集以及自定义屏幕客户端 GUI。
权威记录位于 IMPLEMENTATION_STATUS.md,其中明确区分了已实现与已测试。在信任任何功能列表(包括本列表)之前,请先阅读该文件。
文档
链接
NexusCore 是 MWT Studios 的独立项目,与 Mojang Studios 或 Microsoft 无隶属、认可或关联关系。

NexusCore Administration Framework
Server administration for Minecraft Java Edition 1.21.1 — permissions, moderation, teleportation, player tools and a tamper-evident audit log, in one mod.
Free, and staying free. No paid tier, no premium build, nothing held back.
No plugin loader. No other administration mod. No database. No client mod.
Install the JAR on your dedicated server. Players join with a completely unmodified vanilla client — including the admin panel, which renders as an ordinary chest menu.
Compatibility
|
|
| Minecraft |
1.21.1 |
| Java |
21 or newer |
| NeoForge |
21.1.235 or newer |
| Fabric |
Loader 0.19.3+ with Fabric API |
| Forge |
52.1.16 or newer |
| Side |
Server-side only |
One codebase builds all three loaders, and every release is verified on all three before it ships.
What it does
? Permissions
Groups with multiple inheritance, wildcards and explicit denies. The check command explains its answer — which group granted or denied a node, and why — instead of returning a bare yes or no.
⚔️ Moderation
/kick /ban /tempban /unban /mute /unmute /warn /warnings /banlist.
Punishments are never deleted. Lifting one stamps who lifted it and when, so history stays intact.
Ban screens are full-screen and styled, with a live countdown and a configurable appeal line.
? Teleportation
Homes, warps, spawn, /back (including back to where you died), /tpa, and staff /tp.
Destination safety is checked for real — an unsafe teleport is refused with a reason rather than dropping you somewhere approximately correct.
? Player utilities
/heal /feed /fly /god /speed /vanish /playerinfo /seen /list /near.
? Tamper-evident audit log
Append-only and SHA-256 hash-chained, so tampering is detectable rather than merely discouraged. IPs, passwords and tokens are redacted as they are written, not afterwards.
?️ In-game admin panel
A dashboard, paginated player list, per-player actions, moderation and permission overviews, and server diagnostics — rendered as a vanilla chest menu. Permission is re-checked on every single click, not just when the menu opens.
? Vanilla command takeover
NexusCore owns the vanilla commands it replaces (/ban /kick /banlist /pardon /list /tp /teleport /gamemode), so the command your staff already type gains a duration, a reason, history and an audit record. Set overrideVanillaCommands=false to opt out entirely.
?️ Safe mode
Start with -Dnexuscore.safemode=true to boot core modules only and recover a server you otherwise cannot start. Vanilla's moderation commands stay available throughout — safe mode will never leave you unable to kick a griefer.
Honest status
This project publishes its unfixed defects rather than hiding them.
Verified at v1.1.0: 214 automated tests, 0 failures. Eight runtime runs — normal and safe mode on each of NeoForge, Fabric and Forge — with zero NexusCore errors and the audit chain intact after every run. A real player exercised most of the feature set on a real dedicated server.
Fixed in v1.1.0 — the security defects closed in this version: /execute as <player> can no longer borrow another player's NexusCore permissions (a substituted command source is refused and the audit names the real issuer), the sign and lectern confused-deputy paths the same fix closed, two permission values that failed open, and permissions.json never being re-read.
Known issues at v1.1.0 — please read before deploying. This is every High and Medium defect in the project's own list, not a selection:
- High —
/seen <unknown name> can stall the server. IdentityService.resolve() falls back to a blocking Mojang HTTP lookup on the server thread, so a slow or unreachable Mojang API stalls the whole server for as long as the request takes. Reachable by any ordinary player. First item scheduled for 1.1.1.
- Medium — Vanish misbehaves for onlookers. Four related faults that appear only on another player's client: chat renders as a validation error, un-vanishing does not restore the entity for clients that saw it vanish, vanish is not re-applied to players who join later, and the vanished set survives death while the invisibility flag does not.
- Medium — A second ban or mute does not deactivate the first.
/unban lifts one and reports success while the player stays banned; active counts double-count, and the strictest record is not the one returned.
- Medium —
audit.log never rotates. It is read fully into heap and SHA-256'd on the server thread at startup, at shutdown, and on every verify and tail — unbounded growth plus a synchronous full read.
- Medium — A transient read error can quarantine an intact
permissions.json. JsonStore.read() quarantines on any IOException, so a one-off read failure moves a healthy file aside and the next boot starts from defaults.
- Medium —
config.json silently loses operator keys. Loading rewrites the file from the typed object, deleting any key the schema does not know, while reporting no problems found.
- Medium —
players.json is rewritten in full on every login and logout. Never pruned, and each write copies a full .bak and fsyncs twice.
- Medium — Fabric death messages lose their cause. Every styled death reads
<Player> died — on Fabric only.
- Medium —
/pardon and /banlist strand vanilla ban state. Pre-takeover vanilla bans become un-liftable, and /ban-ip and /pardon-ip are separate commands NexusCore never takes over, so IP bans are neither audited nor listed.
- Only one player has ever been online at a time during testing. Everything that needs a second player is unverified — including the four vanish faults above, which appear only on another player's client.
The remaining 13 are Low severity and are published in IMPLEMENTATION_STATUS.md rather than withheld.
Not built, and not promised: economy, chat channels, jail and reports, scheduler, backups, the benchmark harness, and a custom-screen client GUI.
The authoritative record is IMPLEMENTATION_STATUS.md, which distinguishes implemented from tested deliberately. Read it before trusting any feature list, including this one.
Documentation
Links
NexusCore is an independent project by MWT Studios and is not affiliated with, endorsed by, or associated with Mojang Studios or Microsoft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧