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-state re-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.view still sees the vanished member, craftersstaff.vanish.total hides 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.bypass exempts trusted players.
/freezerchat opens 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.yml and notes.yml files 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.yml instead 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, /unfreeze and /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.notify get 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.jar in plugins/ and restart.
- Choose SQLite or MySQL in
config.yml (database section); the first start creates the tables.
- Grant the permissions your team needs and adjust
messages.yml to 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧