CraftersStaff
面向 Paper 和 Spigot 的管理工具,基于单一数据源。
CraftersStaff 是 Crafters 套件中面向工作人员的部分。它为团队提供了一个统一的工作场所:管理员模式、隐身、冻结、笔记、举报以及连接这些功能的菜单。所有决策和存储的数据都位于 CraftersGate(Rust 核心);CraftersStaff 在服务器上执行这些操作,并确保在单个服务器或整个网络中的体验保持一致。
它不是三十个命令的简单拼凑。每个功能都回答同一个问题:管理员如何在不丢失物品、证据或上下文的情况下结束一个案件?
需要 CraftersGate 1.2。 如果缺少核心组件,CraftersStaff 会禁用自身并显示清晰的提示信息。
它的优点
- 尊重玩家的管理员模式。 进入时库存、盔甲和经验值会被保存到磁盘,退出时恢复。不会重复生成任何物品,也不会丢失任何东西。
- 一个 JAR 包,三个入口点。 同一个文件可以在 Paper/Spigot、Velocity 和 BungeeCord 上运行。
- 状态不漂移。 被冻结的玩家、隐身的管理员或打开的举报只由核心决定一次,而不是在每个服务器的缓存中分别决定。
- 配置在更新后依然存在。 新选项会附带注释追加;你已调整过的任何内容都会保持不变。
管理员模式 (Staff mode)
- 进入时为创造模式或旁观者模式,可按服务器配置,飞行状态与游戏模式保持同步。
- 来自
items.yml的专用快捷栏:随机传送、冻结、末影箱、隐身、检查器、夜视和传送罗盘。每个物品堆栈都有标签,因此重命名不会破坏其功能。 - 值班期间的可选保护:阻止破坏方块、实体伤害和打开箱子,并提供无声打开箱子的模式。
- 命令白名单,防止管理员在调查过程中意外运行游戏玩法命令。
enforce-state会在重生或世界变更后重新应用配置的模式、飞行和夜视效果,并且能够抵抗保护插件取消切换的情况。- 重新连接时自动恢复,因此崩溃不会导致快照滞留。
3.0 新增 — stay-in-creative-on-exit。 启用后,关闭管理员模式的成员将保持在创造模式,而不是返回之前的游戏模式。禁用该选项(默认值)时,真实的游戏模式会恢复回来。适用于那些在会话结束后继续建造的团队。
隐身 (Vanish)
- 从标签页列表中隐藏,并且可选地被生物忽略。
- 可见性通过权限解决:拥有
craftersstaff.vanish.view权限的人仍能看到隐身的成员,拥有craftersstaff.vanish.total权限则对其他工作人员也隐藏他们。 - 可配置的隐形效果,在管理员模式下保持持久性,并可选择在离开值班时自动启用。
冻结和 FreezerChat
- 被冻结的玩家无法移动、破坏、放置或交互。
- 可配置减速和失明效果,可选的冻结计时器,以及断开连接时的自动封禁。
- 当应用或解除冻结时,工作人员会收到警报;
craftersstaff.freeze.bypass权限可豁免受信任的玩家。 /freezerchat在管理员和被冻结的玩家之间打开一个私人频道,以便对话发生时不会被整个服务器看到。
笔记和举报 (Notes and reports)
- 笔记包含作者、时间戳和状态(开放或已完成),支持分页列表,并可选择请求其他工作人员进行审查。
- 举报带有类别(作弊、骗子、恶意破坏、侮辱、垃圾信息、其他),并通过一个菜单处理,该菜单在一个地方显示举报人、被举报玩家和原因。
- 两者均由核心存储:单服务器使用 SQLite,多服务器共享同一张表时使用 MySQL/MariaDB。
- 旧的
features/reports.yml和notes.yml文件会自动导入,且仅在整批导入成功时才重命名。
菜单 (Menus)
五个菜单,全部为 YAML 格式:工作人员列表、玩家列表、工作人员详情、举报和笔记。
- 页面操作位于左侧列;关闭按钮位于右下角;其余部分用玻璃框起来。
- 内容保留其 28 个槽位,因此布局更改不会占用容量。
- 玩家列表故意设置为只读:头像显示谁在线,且不携带任何操作。
- 每个文件声明一个
layout-version。当安装的文件的布局版本早于随附的版本时,插件会写入新版本,并将你的旧版保存为<name>.old.yml,而不是删除它。
工具 (Tools)
随机传送、末影箱、检查器、/inspect、/invsee 和工作人员名册。inspect 和 invsee 仅在目标在你的服务器上时有效;其他所有内容都可以通过代理跨网络工作。
警报和网络 (Alerts and the network)
- TPS 低于阈值或挖掘超过计数,以及你选择的监控方块。
- Discord Webhooks,带有嵌入内容和每个事件的模板:冻结、解除冻结、清除聊天、挖矿、TPS 和举报。
- 当插件在代理上运行时,工作人员聊天跟随整个网络。
- 控制台也可以运行文本命令:
/staff log、/note info <player>、/freeze、/unfreeze和/clearchat。菜单命令需要玩家名称并会提示输入。
更新通知 (Update notices)
- 本地版本从
plugins/CraftersStaff/version.txt读取,而不是从构建 JAR 时声称的版本读取。 - 远程版本来自此 Modrinth 项目,取最高发布的构建版本。
- 操作员和拥有
craftersstaff.update.notify权限的人会收到聊天行以及一个可点击的下载按钮。 - CraftersGate 会在网络的其余部分重复此通知,并跳过发现更新的服务器。
- 离线服务器和缓慢响应只会产生调试行。
命令
| 命令 | 别名 | 功能 |
|---|---|---|
/staff |
/s, /mod |
切换工作人员模式 |
/staffchat |
/sc |
切换工作人员频道 |
/stafflist |
/slist |
工作人员名单 |
/vanish |
/v |
切换隐身状态 |
/inspect |
— | 检查面板 |
/invsee |
— | 玩家物品栏 |
/freeze |
— | 冻结一名玩家 |
/unfreeze |
— | 解冻一名玩家 |
/freezerchat |
— | 与已冻结的玩家交谈 |
/clearchat |
/clear, /cc |
清除公共聊天 |
/report |
— | 提交举报 |
/note |
— | 备注 |
/craftersstaff |
/cs |
重载和管理 |
命令名称和别名在 commands.yml 中定义。重命名命令需要重启服务器。
权限
在 plugin.yml 中声明:craftersstaff.use、.freeze、.vanish、.clearchat、.inspect、.invsee、.note、.chat、.freezerchat、.list、.report、.help 以及 .update.notify。
特性使用的细粒度节点:.freeze.bypass、.vanish.view、.vanish.total、.note.list、.note.add、.note.admin、.report.notify、.report.manage、.report.admin、.players、.alerts.view、.alerts.bypass、.bypass.whitelist、.admin.actions 以及 .staffpass.log。
craftersstaff.report 和 craftersstaff.help 默认对所有人开放;其余权限默认仅对管理员(operators)开放。
可编辑的文件
config.yml— 工作人员模式、隐身、冻结、数据库、警报、Webhook、网络配置。messages.yml— 所有可见文本,使用 MiniMessage 格式,带有单一前缀。items.yml— 值班快捷栏物品。commands.yml— 命令名称和别名。menus/*.yml— 五个界面。proxy-config.yml— 仅限代理模式:存储和状态同步。
安装
- 首先安装 CraftersGate 1.2。
- 将
CraftersStaff-v3.0.jar放入plugins/目录并重启服务器。 - 在
config.yml(database部分)中选择 SQLite 或 MySQL;首次启动时将创建数据表。 - 授予团队所需的权限,并根据社区需求调整
messages.yml。 - 在网络环境中,于代理端运行 CraftersStaff,并在代理端及每个后端节点上运行 CraftersGate。
要求
- Java 17
- Paper 或 Spigot 1.16.5 – 1.21.x
- CraftersGate 1.2
- 可选:PlaceholderAPI(扩展标识符为
cstaff)、LuckPerms 或 Vault
支持
文档、配置参考和更新日志:
CraftersStaff 和 CraftersGate 由 Crafters Development 开发并维护。
许可证
© 2026 Crafters Development。保留所有权利。
未经 Crafters Development 明确许可,禁止重新分发、复制或修改本软件。本软件受 智利知识产权法 17.336 保护。
[!IMPORTANT] 关于重新分发的说明: 该禁令适用于将软件托管或上传至外部下载网站或未授权的第三方平台。不适用于通过 Discord、WhatsApp、Telegram、社交媒体或私人工作人员聊天分享信息、截图或官方链接。
CraftersStaff
Moderation for Paper and Spigot, with one source of truth.
CraftersStaff is the staff-facing half of the Crafters suite. It gives your team a single place to work: staff mode, vanish, freeze, notes, reports and the menus that connect them. The decisions and the stored data live in CraftersGate, the Rust core; CraftersStaff executes them on the server and keeps the experience identical on one server or across a whole network.
It is not a bundle of thirty commands glued together. Every feature answers the same question: how does a moderator finish a case without losing items, evidence or context?
CraftersGate 1.2 is required. CraftersStaff disables itself with a clear message if the core is missing.
What it does well
- Staff mode that respects the player. Inventory, armour and experience are saved to disk on entry and restored on exit. Nothing is duplicated, nothing disappears.
- One JAR, three entry points. The same file runs on Paper/Spigot, on Velocity and on BungeeCord.
- State that does not drift. A frozen player, a vanished moderator or an open report is decided once, in the core, not in a per-server cache.
- Configuration that survives updates. New options are appended with their comments; anything you already tuned stays as it is.
Staff mode
- Creative or spectator on entry, configurable per server, with flight kept in sync with the game mode.
- A dedicated hotbar from
items.yml: random teleport, freeze, ender chest, vanish, inspector, night vision and a teleport compass. Every stack is tagged, so renaming it does not break it. - Optional protections while on duty: block breaking, entity damage and chest opening, with a silent chest opening mode.
- Command whitelist, so a moderator cannot accidentally run a gameplay command mid-investigation.
enforce-statere-applies the configured mode, flight and night vision after a respawn or a world change, and survives a protection plugin cancelling the switch.- Automatic restore on reconnect, so a crash does not leave a snapshot stranded.
New in 3.0 — stay-in-creative-on-exit. When enabled, a member who turns staff mode off stays in creative instead of returning to the game mode they had before. With it disabled (the default), the real game mode comes back. Useful for teams that keep building right after a session.
Vanish
- Hidden from the tab list and, optionally, ignored by mobs.
- Visibility is solved with permissions:
craftersstaff.vanish.viewstill sees the vanished member,craftersstaff.vanish.totalhides them from other staff too. - Configurable invisibility effect, with persistence across staff mode and an optional auto-enable when leaving duty.
Freeze and FreezerChat
- The frozen player cannot move, break, place or interact.
- Configurable slowness and blindness, an optional freeze timer, and automatic ban on disconnect.
- Staff is alerted when a freeze is applied or released;
craftersstaff.freeze.bypassexempts trusted players. /freezerchatopens a private channel between the moderator and the frozen player, so the conversation happens without the whole server following it.
Notes and reports
- Notes carry an author, a timestamp and a state (open or completed), with paginated listings and an optional request for another staff member to review them.
- Reports arrive with a category (Hacks, Scammer, Griefing, Insults, Spam, Other) and are worked from a menu that shows reporter, reported player and reason in one place.
- Both are stored by the core: SQLite for a single server, MySQL/MariaDB when several servers share the same table.
- Old
features/reports.ymlandnotes.ymlfiles are imported automatically and renamed only if the whole import succeeded.
Menus
Five menus, all YAML: staff list, player list, staff detail, reports and notes.
- Page actions sit in a column on the left; close is in the bottom-right corner; the rest is framed in glass.
- Content keeps its 28 slots, so the layout change costs no capacity.
- The player list is read-only on purpose: heads show who is online and carry no actions.
- Each file declares a
layout-version. When an installed file predates the shipped layout, the plugin writes the new one and keeps yours as<name>.old.ymlinstead of deleting it.
Tools
Random teleport, ender chest, inspector, /inspect, /invsee and the staff roster. inspect and invsee only work when the target is on your server; everything else can cross the network through the proxy.
Alerts and the network
- TPS below a threshold and mining above a count, with the watched blocks of your choice.
- Discord webhooks with embeds and a template per event: freeze, unfreeze, clearchat, mining, TPS and reports.
- Staff chat that follows the whole network when the plugin runs on the proxy.
- Console can run the text commands too:
/staff log,/note info <player>,/freeze,/unfreezeand/clearchat. Menu commands ask for a player and say so.
Update notices
- The local version is read from
plugins/CraftersStaff/version.txt, not from what the JAR claimed when it was built. - The remote version comes from this Modrinth project, taking the highest published build.
- Operators and holders of
craftersstaff.update.notifyget a chat line plus a clickable download button. - CraftersGate repeats the notice on the rest of the network and skips the server that found it.
- Offline servers and slow responses only produce a debug line.
Commands
| Command | Aliases | What it does |
|---|---|---|
/staff |
/s, /mod |
Toggle staff mode |
/staffchat |
/sc |
Toggle the staff channel |
/stafflist |
/slist |
Staff roster |
/vanish |
/v |
Toggle vanish |
/inspect |
— | Inspection panel |
/invsee |
— | Player inventory |
/freeze |
— | Freeze a player |
/unfreeze |
— | Release a player |
/freezerchat |
— | Talk to the frozen player |
/clearchat |
/clear, /cc |
Clear the public chat |
/report |
— | Submit a report |
/note |
— | Notes |
/craftersstaff |
/cs |
Reload and administration |
Names and aliases are defined in commands.yml. Renaming a command needs a restart.
Permissions
Declared in plugin.yml: craftersstaff.use, .freeze, .vanish, .clearchat, .inspect, .invsee, .note, .chat, .freezerchat, .list, .report, .help and .update.notify.
Fine-grained nodes used by the features: .freeze.bypass, .vanish.view, .vanish.total, .note.list, .note.add, .note.admin, .report.notify, .report.manage, .report.admin, .players, .alerts.view, .alerts.bypass, .bypass.whitelist, .admin.actions and .staffpass.log.
craftersstaff.report and craftersstaff.help default to everyone; the rest default to operators.
Files you edit
config.yml— staff mode, vanish, freeze, database, alerts, webhooks, network.messages.yml— every visible line, in MiniMessage, with a single prefix.items.yml— the on-duty hotbar.commands.yml— command names and aliases.menus/*.yml— the five interfaces.proxy-config.yml— proxy mode only: storage and state sync.
Install
- Install CraftersGate 1.2 first.
- Drop
CraftersStaff-v3.0.jarinplugins/and restart. - Choose SQLite or MySQL in
config.yml(databasesection); the first start creates the tables. - Grant the permissions your team needs and adjust
messages.ymlto your community. - On a network, run CraftersStaff on the proxy and CraftersGate on the proxy and every backend.
Requirements
- Java 17
- Paper or Spigot 1.16.5 – 1.21.x
- CraftersGate 1.2
- Optional: PlaceholderAPI (expansion identifier
cstaff), LuckPerms or Vault
Support
Documentation, configuration reference and changelogs:
CraftersStaff and CraftersGate are developed and maintained by Crafters Development.
License
© 2026 Crafters Development. All rights reserved.
Redistribution, copying or modification is prohibited without express permission from Crafters Development. This software is protected by Chilean Intellectual Property Law 17.336.
[!IMPORTANT] Redistribution clarification: the prohibition applies to hosting or uploading the software to external download sites or unauthorized third-party platforms. It does not apply to sharing information, screenshots or official links through Discord, WhatsApp, Telegram, social media or private staff chats.
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CraftersStaff
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
CraftersStaff 3.0 (重构)
✨ 新增功能
- 新增
stay-in-creative-on-exit选项,用于在关闭管理员模式后让成员保留在创造模式。 - 新增可配置的背包快照功能,保存并恢复玩家原始的背包状态。
- 新增重生或世界变更后的自动夜视、重连状态恢复及状态强制生效功能。
- 通过
items.yml新增可配置的管理员装备预设。 - 新增可独立配置的玩家列表和生物可见性的隐身(Vanish)设置。
- 新增可配置的冻结时长、效果、提醒、管理员通知以及断线时的自动惩罚。
- 新增冻结者聊天频道(Freezer Chat),支持与被封禁/冻结的玩家沟通。
- 新增可编辑的举报分类:作弊、诈骗、破坏、辱骂、刷屏和其他。
- 新增五个完全由 YAML 配置的可自定义菜单:管理员列表、玩家列表、管理员详情、举报记录和笔记。
- 新增统一的菜单布局,左侧包含导航栏,右下角有关闭按钮,并配有装饰性玻璃边框。
- 在
menus/staff_detail.yml中新增可配置的自由冻结、传送和背包操作。 - 新增只读的玩家列表菜单,显示连接状态且不可执行玩家操作。
- 新增基于实际管理员模式状态的
ON DUTY(值班中)和OFF DUTY(非值班中)状态指示器。 - 新增
/stafflist命令,用于显示在线管理员及其当前状态。 - 新增可配置的 Discord Webhook,支持嵌入样式、颜色、特定事件模板以及独立的 URL。
- 新增 TPS 和挖矿警报,支持可配置的阈值和监控方块。
- 新增 Modrinth 更新通知,包含可点击的下载链接。
- 新增
features.update-checker配置项,包含enabled、notify-admins、permission和relay-through-gate选项。 - 新增通过 CraftersGate 在网络中进行自动更新通知中继的功能。
- 在
messages.yml中新增general.menu-player-only配置。 - 新增基于
layout-version的自动菜单配置迁移功能,并将旧文件保存为.old.yml。 - 新增非破坏性的配置合并功能,以保留现有的用户设置。
- 新增
PluginInfo用于集中插件标识,并兼容旧版服务器 API。 - 新增
ChatNotice用于集中处理可点击的聊天消息。 - 新增 52 项自动化测试,覆盖记录、管理员、背包快照及颜色工具类。
🔧 改进
- 将隐身、冻结、管理员聊天、冻结者聊天、举报、笔记、会话和标识符移至集中的 CraftersGate Rust 引擎。
- 通过
staff_mode事务集中处理管理员模式、装备预设、保护机制和名单管理。 - 将 TPS 和挖矿计算移至 Rust 引擎,Java 端仅负责收集和转发观测数据。
- 将举报、笔记、标识符和分页功能移至
records领域模块。 - 引入事务性状态处理,以防止紧急关机期间部分应用的冻结操作。
- 更新插件架构,使 Paper、Velocity 和 BungeeCord 均使用单个 JAR 包。
- 全局玩家自动补全功能现适用于代理端的全体管理员命令。
- 通过在服务器标识中包含端口号,改进了后端服务器的区分能力(针对名称相同的后端)。
- 改进了隐身状态的持久化,并在离开管理员模式时自动激活。
- 改进了管理员保护设置,支持可配置的伤害减免、方块破坏限制、箱子访问权限以及静默开箱限制。
- 通过将数据库操作移至 Rust 引擎,改进了举报和笔记的存储性能。
- 新增对 MySQL/MariaDB 和 SQLite 的支持,无需在插件 JAR 内包含 JDBC 驱动。
- 改进了数据库故障处理:服务器继续运行,但举报、笔记和审计功能暂时不可用。
- 通过使用安全的跨服务器标识符和 30 天审计保留期,提高了举报和笔记的数据完整性。
- 改进了旧数据的迁移流程,从
features.reports.yml和notes.yml进行自动导入,仅在导入成功后才重命名原文件。 - 通过 MiniMessage 支持材质、名称、描述文本和占位符,改进了菜单配置。
- 使用专用持有者(holders)进行菜单标识,不再依赖库存标题。
- 通过比较
version.txt中的已安装版本而非编译时声明的版本,改进了更新检测机制。 - 通过从 Modrinth 获取最高发布版本,改进了远程版本检测。
- 改进了更新通知的发送机制,避免在网络服务器中出现重复公告。
- 提高了更新检查器的可靠性:连接失败、响应缓慢或意外的 Modrinth 响应不再影响服务器启动。
- 对于需要游戏内玩家的命令,提供了清晰的“仅限玩家”警告,从而改进了控制台兼容性。
- 增强了控制台对文本类命令的支持,包括
/staff log、/note info、/freeze、/unfreeze和/clearchat。 - 改进了命令处理逻辑,当子命令未知时显示使用说明,而非意外激活管理员模式。
- 通过文档化的配置节和统一的 MiniMessage 格式,改进了配置的组织结构。
- 改进了
/craftersstaff reload命令,使其能够重新加载所有配置并与引擎同步。 - 通过隔离重定位的 Kyori 和 Guice 依赖项,改进了构建兼容性。
- 通过反射式
getPluginMeta()检测并提供旧版服务器的回退机制,改进了插件元数据兼容性。 - 通过替换或隔离已弃用的方法调用,改进了与 Paper API 的兼容性。
- 改进了可点击聊天消息的处理方式,在整个代码库中避免直接依赖 BungeeCord API。
🐛 修复
- 修复了因菜单标题解析导致的
ArrayIndexOutOfBoundsException,通过完全移除基于标题的解析来解决。 - 修复了更新通知被发送给所有连接玩家的问题,现在仅发送给服务器操作员和拥有配置权限的玩家。
- 修复了可点击的更新下载消息中重复出现的聊天前缀。
- 修复了在未安装聊天模块的服务器上更新通知不显示的问题,提供了包含下载链接的纯文本回退方案。
- 修复了当多个后端共享相同的
getName()值时导致的服务器标识冲突。 - 修复了当较新的占位符不可用时,Staff Details 菜单标题无法正确解析
%player_name%的问题。 - 修复了 Paper 中传入通道注册的问题,其中 API 返回的是对象而非布尔值。
- 修复了由于依赖区域性的上下转换导致的命令规范化问题,现使用
Locale.ROOT解决。 - 修复了当 CraftersGate 缺失、禁用或运行不兼容协议版本时产生的模糊错误信息。
- 修复了菜单配置迁移过程中未能保留先前布局而是覆盖或删除它们的问题。
- 修复了玩家状态表示不正确的问题,通过检查实际的 Staff Mode 状态来解决。
- 修复了涉及仅限玩家的操作和控制台发起的命令的执行问题。
⚙️ 配置
- 将
config.yml重组为文档化的各个部分。 - 更新
messages.yml以使用 MiniMessage、十六进制占位符和统一的前缀。 - 新增
items.yml用于配置 Staff Mode 的装备。 - 在
menus/下为每个菜单添加了独立的 YAML 文件。 - 移除了
player_actions.yml及其关联的管理器,因为 Player Actions 菜单已不再使用。 - 更新了菜单导航和布局配置,同时保留了全部 28 个内容槽位。
- 新增了针对过时菜单结构的自动配置迁移功能。
- 通过非破坏性合并的方式保留现有的配置值。
🧪 技术
- 更新架构以使用 Java 17 和
api-version: 1.16。 - 新增对 Paper/Purpur 1.16.5–1.21.x 的支持。
- 新增适用于 Paper、Velocity 和 BungeeCord 的统一入口点。
- 将
gate-api打包进 uber JAR 中。 - 重新定位 Kyori 和 Guice 依赖项,以防止与其他插件发生冲突。
- 新增 52 项自动化测试,涵盖核心功能和协议处理。
- 更新插件元数据,在
plugin.yml、bungee.yml和velocity-plugin.json中将作者声明为 Crafters Development。 - 移除了
mvn compile中的废弃 Paper API 警告。 - 修改
gate-api后需要执行mvn clean package,以防止从构建缓存中提取过时的依赖项。
📦 安装
- 需要 CraftersGate 1.2 或更高版本。
- 必须在安装 CraftersStaff 之前先安装 CraftersGate。
- 独立安装需要在同一服务器上安装这两个插件。
- 网络安装需要在代理端和所有后端上安装 CraftersGate,并在代理端安装 CraftersStaff。
- 配置 MySQL/MariaDB 或使用 SQLite 作为默认数据库。
- 首次启动时会自动创建数据库表并导入兼容的旧版数据。
- 安装新版 CraftersStaff 时会自动更新
version.txt。
⚠️ 已知限制
- 代理端权限需要一个能够解析
craftersstaff.*的权限提供者。 - 在没有本地 CraftersGate 卫星的后端上无法装备 Staff 装备。
- 原生引擎不在代理端运行;Velocity 和 BungeeCord 负责网络路由和共享网络状态。
/inspect和/invsee要求目标玩家位于同一服务器上。- 如果没有本地卫星,CraftersGate 将作为最后的手段来执行命令。
CraftersStaff v2.7 — 更新日志
新功能与变更
1. Crafters Synergy API(插件间安全交互)
- 实现并完善了“Crafters Synergy”API,允许套件中的其他插件(如 CraftersLogin)安全地与 StaffMode 和隐身系统交互。
- CraftersStaff 现在通过 Bukkit 的服务管理器注册其 API,使 CraftersLogin 能够在无需硬依赖的情况下调用该 API。
- 在配置中添加了基于密钥的安全系统。如果请求插件发送的密钥与 CraftersStaff 中配置的密钥不匹配,外部 API 请求将被自动拦截,从而防止恶意插件滥用。
2. 状态稳定性改进(隐身/StaffMode)
- API 允许暂时挂起并静默重新启用管理模式。
- 这解决了 CraftersLogin 身份验证流程期间的可见性与绕过问题,确保管理员在身份验证界面期间不会隐身或能够移动。
- 模式恢复完全透明,且不会向服务器其余部分发出通知。
3. 代码清理与优化
- 移除了无关的空消息,并规范了内部组件的使用。
- 基础版本升级至 2.7。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧