minecraft-essentials-ops

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Minecraft EssentialsX Operations Skill

Minecraft EssentialsX 运维 Skill

Skill Scope

Skill 范围

Routing Boundaries

路由边界

  • Use when
    : the task is EssentialsX command, config, permissions, economy, or moderation operations.
  • Do not use when
    : the task is generic server deployment/proxy/performance architecture (
    minecraft-server-admin
    ).
  • Do not use when
    : the task is writing Java plugin code (
    minecraft-plugin-dev
    ).
  • Do not use when
    : the task is WorldEdit selection/build workflows (
    minecraft-worldedit-ops
    ).
  • Use when
    :任务是 EssentialsX 命令、配置、权限、经济或行为管理操作。
  • Do not use when
    :任务是通用服务器部署、代理或性能架构工作(
    minecraft-server-admin
    )。
  • Do not use when
    :任务是编写 Java 插件代码(
    minecraft-plugin-dev
    )。
  • Do not use when
    :任务是 WorldEdit 选区或构建工作流(
    minecraft-worldedit-ops
    )。

References

参考资料

  • Read
    references/permissions-and-rollout-checklists.md
    when the task is a permissions audit, economy rollout, or moderation-policy change and you need a compact preflight list.

  • 当任务涉及权限审计、经济系统发布或行为管理策略变更,且需要一份精简的预检清单时,请阅读
    references/permissions-and-rollout-checklists.md
    。

Module Overview and Install Notes

模块概览与安装说明

Platform gate

平台准入检查

Use EssentialsX only on a supported Paper or Spigot server build. EssentialsX 2.22.0 warns that Folia and Folia forks are unsupported and can lose userdata; it also does not support Forge, NeoForge, or Fabric Bukkit-hybrid servers. If the current platform is in either category, stop before enabling or configuring EssentialsX and verify a supported operational path. This guide does not recommend a migration.
Common EssentialsX modules in production:
  • EssentialsX
    (core commands and user tools)
  • EssentialsXChat
  • EssentialsXSpawn
  • EssentialsXProtect
Operational install checklist:
  1. Match EssentialsX build to your Paper/Spigot API generation.
  2. Install
    Vault
    if using economy providers or permission/chat bridges.
  3. Start server once and inspect logs for dependency warnings.
  4. Keep plugin jar versions documented for rollback.
Version-alignment rule:
  • update EssentialsX and companion plugins as a tested batch in staging first.
  • verify the exact EssentialsX release or development build supports the target Paper release; 2.22.0 lists 26.1.2 and 1.21.11 support, not blanket 26.x compatibility. Check the release notes before using it on 26.3.

仅在受支持的 Paper 或 Spigot 服务器版本上使用 EssentialsX。EssentialsX 2.22.0 会警告称 Folia 及其分支不受支持,并可能导致用户数据丢失;它也不支持 Forge、NeoForge 或 Fabric Bukkit 混合型服务器。如果当前平台属于上述任一类别, 应在启用或配置 EssentialsX 前停止操作,并确认存在受支持的运维路径。本指南 不建议进行迁移。
生产环境中常用的 EssentialsX 模块:
  • EssentialsX
    (核心命令和用户工具)
  • EssentialsXChat
  • EssentialsXSpawn
  • EssentialsXProtect
运维安装检查清单:
  1. 使 EssentialsX 构建版本与你的 Paper/Spigot API 版本代次相匹配。
  2. 使用经济 provider 或权限/聊天桥接时安装
    Vault
    。
  3. 启动服务器一次,并检查日志中的依赖项警告。
  4. 记录插件 jar 版本,以便回滚。
版本对齐规则:
  • 先在 staging 中以经过测试的批次方式更新 EssentialsX 及配套插件。
  • 验证准确的 EssentialsX 正式版或开发构建是否支持目标 Paper 版本;2.22.0 列出了对 26.1.2 和 1.21.11 的支持,但这并不代表全面兼容 26.x。在 26.3 上 使用前,请查看发布说明。

Vault and Economy Basics

Vault 与经济系统基础

Economy stack model

经济系统堆栈模型

  • EssentialsX can provide economy commands and balances.
  • Vault provides a shared bridge so other plugins (shops, jobs, ranks) can read/write balances.
Verify provider chain:
  1. Server starts without Vault hook errors.
  2. Economy commands respond without permission errors.
  3. Third-party plugin transactions affect balances consistently.
  • EssentialsX 可以提供经济命令和余额功能。
  • Vault 提供共享桥接层,使其他插件(商店、任务、等级)能够读取和写入余额。
验证 provider 链:
  1. 服务器启动时没有 Vault hook 错误。
  2. 经济命令正常响应,不会出现权限错误。
  3. 第三方插件交易能够正确反映到余额中。

Core economy commands

核心经济命令

text
/bal
/baltop
/pay Alex 250
/eco give Alex 1000
/eco take Alex 100
/eco reset Alex
Use admin economy commands through staff roles only.

text
/bal
/baltop
/pay Alex 250
/eco give Alex 1000
/eco take Alex 100
/eco reset Alex
管理员经济命令只能通过 staff 角色使用。

Shop Pricing and Sign Shops

商店定价与告示牌商店

If using EssentialsX signs and economy interactions:
  1. Define pricing policy:
    • starter-tier prices
    • anti-inflation sinks
    • admin-only item exceptions
  2. Enable only the sign types you intend to support in
    config.yml
    :
    yaml
    enabledSigns:
      - buy
      - sell
  3. Restrict creation permissions to trusted groups:
    • essentials.signs.create.buy
    • essentials.signs.create.sell
  4. Grant use permissions only to groups that should transact:
    • essentials.signs.use.buy
    • essentials.signs.use.sell
  5. Validate buy/sell math with a non-op player account after config changes.
如果使用 EssentialsX 告示牌和经济交互:
  1. 制定定价策略:
    • 入门档价格
    • 抗通胀货币回收机制
    • 仅限管理员的物品例外项
  2. 仅在
    config.yml
    中启用计划支持的告示牌类型:
    yaml
    enabledSigns:
      - buy
      - sell
  3. 将创建权限限制给可信组:
    • essentials.signs.create.buy
    • essentials.signs.create.sell
  4. 仅向需要交易的组授予使用权限:
    • essentials.signs.use.buy
    • essentials.signs.use.sell
  5. 配置变更后,使用非 OP 玩家账户验证买卖计算。

Sign shop formats

告示牌商店格式

[Buy]
<quantity>
<item>
<price>

[Sell]
<quantity>
<item>
<price>
Example (stone at spawn market):
[Buy]
32
stone
$50

[Sell]
32
stone
$20
Use separate
[Buy]
and
[Sell]
signs when you want different buy and sell prices. Line 4 is a single transaction price for that sign.
Operational guardrails:
  • never enable broad player access to unrestricted admin shop signs
  • monitor rapid balance spikes for dupes/exploit patterns

[Buy]
<quantity>
<item>
<price>

[Sell]
<quantity>
<item>
<price>
示例(在出生点市场购买石头):
[Buy]
32
stone
$50

[Sell]
32
stone
$20
需要设置不同的买入价和卖出价时,请分别使用
[Buy]
和
[Sell]
告示牌。 第 4 行是该告示牌单笔交易的统一价格。
运维防护要求:
  • 绝不要让普通玩家广泛访问不受限制的管理员商店告示牌
  • 监控余额异常快速增长,以发现复制物品或漏洞利用行为

Kits, Warps, Homes, Nicknames, Spawn

Kit、传送点、家点、昵称与出生点

Kits operations

Kit 运维

Typical kit lifecycle:
  1. create/edit kit definition
  2. set cooldown and permission
  3. test with player-rank account
Kit entry in
plugins/Essentials/kits.yml
:
yaml
kits:
  starter:
    delay: 86400
    items:
      - stone 64
      - oak_planks 32
      - bread 16
Common commands:
text
/kit
/kit starter
/createkit starter 86400
典型的 Kit 生命周期:
  1. 创建或编辑 Kit 定义
  2. 设置冷却时间和权限
  3. 使用具有玩家等级的账户进行测试
plugins/Essentials/kits.yml
中的 Kit 配置示例:
yaml
kits:
  starter:
    delay: 86400
    items:
      - stone 64
      - oak_planks 32
      - bread 16
常用命令:
text
/kit
/kit starter
/createkit starter 86400

Warps and homes

传送点和家点

text
/setwarp spawn
/setwarp market
/warp spawn
/sethome
/home
/delhome
Control limits through permissions and Essentials config values.
text
/setwarp spawn
/setwarp market
/warp spawn
/sethome
/home
/delhome
通过权限和 Essentials 配置项控制相关限制。

Nicknames and spawn management

昵称和出生点管理

/setspawn
and
/spawn
require the
EssentialsXSpawn
module. Confirm the jar is installed, the startup log has no module-load errors, and player groups have
essentials.spawn
before treating a spawn command failure as a location issue.
text
/nick BuilderOne
/realname BuilderOne
/setspawn
/spawn
Keep nickname policy explicit for moderation and impersonation prevention.

/setspawn
和
/spawn
需要
EssentialsXSpawn
模块。确认 jar 已安装、启动日志中没有模块加载错误,并且玩家组拥有
essentials.spawn
,之后才能将出生点命令失败判定为位置问题。
text
/nick BuilderOne
/realname BuilderOne
/setspawn
/spawn
应制定明确的昵称规则,以便进行行为管理并防止冒充。

Permissions Patterns

权限模式

Use a permission manager (for example LuckPerms) to model role tiers.
Suggested role intent:
  • admin
    : full EssentialsX admin + moderation + economy controls
  • staff
    : moderation and support commands, limited economy tools
  • player
    : basic homes/warps/msg/pay with guardrails
Example permission outline:
yaml
groups:
  admin:
    permissions:
      - essentials.*
  staff:
    permissions:
      - essentials.kick
      - essentials.mute
      - essentials.tempban
      - essentials.togglejail
      - essentials.warp
      - essentials.msg
  player:
    permissions:
      - essentials.home
      - essentials.sethome
      - essentials.delhome
      - essentials.spawn
      - essentials.warp
      - essentials.msg
      - essentials.pay
Avoid wildcard permissions outside trusted admin roles.

使用权限管理器(例如 LuckPerms)划分角色层级。
建议的角色用途:
  • admin:完整的 EssentialsX 管理、行为管理和经济控制
  • staff:行为管理、支持命令和受限的经济工具
  • player:基础家点、传送点、msg 和 pay 功能,并设置防护限制
权限配置示例:
yaml
groups:
  admin:
    permissions:
      - essentials.*
  staff:
    permissions:
      - essentials.kick
      - essentials.mute
      - essentials.tempban
      - essentials.togglejail
      - essentials.warp
      - essentials.msg
  player:
    permissions:
      - essentials.home
      - essentials.sethome
      - essentials.delhome
      - essentials.spawn
      - essentials.warp
      - essentials.msg
      - essentials.pay
避免在可信管理员角色之外授予通配符权限。

Moderation Workflows

行为管理工作流

Workflow: Mute

工作流:禁言

text
/mute Alex 30m Chat abuse after warning
/unmute Alex
Practice:
  • include reason and duration
  • log escalation path for repeat behavior
Troubleshooting: mute not applying → verify the EssentialsX core module loaded, the actor has
essentials.mute
, the target has no mute-exempt state, and no other moderation or chat plugin is overriding the result. EssentialsXChat formats chat; it is not a prerequisite for core mute enforcement.
text
/mute Alex 30m Chat abuse after warning
/unmute Alex
实践要求:
  • 包含原因和持续时间
  • 记录重复行为的升级处理路径
故障排查:禁言未生效 → 验证 EssentialsX 核心模块已加载、操作者拥有
essentials.mute
、目标没有禁言豁免状态,并且没有其他行为管理或聊天插件覆盖执行结果。EssentialsXChat 负责聊天格式化;它不是核心禁言执行的前置条件。

Workflow: Jail

工作流:监狱

text
/setjail intake
/jail Alex intake 20m Griefing spawn edge
/unjail Alex
Practice:
  • define clear jail reasons
  • pair with rollback/repair actions when relevant
  • grant
    essentials.setjail
    only to roles authorized to create or move jail locations; staff who only need to jail or unjail players use
    essentials.togglejail
Troubleshooting: jail not working → confirm jail location exists with
/setjail intake
and player has no bypass permission.
text
/setjail intake
/jail Alex intake 20m Griefing spawn edge
/unjail Alex
实践要求:
  • 定义清晰的入狱原因
  • 必要时配合回滚或修复操作
  • 仅向有权创建或移动监狱位置的角色授予
    essentials.setjail
    ;仅需禁禁或解除禁禁玩家的 staff 应使用
    essentials.togglejail
故障排查:监狱功能未生效 → 通过
/setjail intake
确认监狱位置存在,并确认玩家没有绕过权限。

Workflow: Temporary Ban

工作流:临时封禁

text
/tempban Alex 7d Repeated harassment
/unban Alex
Practice:
  • align durations with policy tiers
  • document evidence and staff actor
IP bans are separate:
/banip Alex <reason>
resolves the player's last IP and can affect other players sharing it. Undo an authorized IP ban with
/unbanip <address>
using the exact banned address;
/unban Alex
only removes the account ban.
Troubleshooting: tempban not sticking → check
essentials.tempban
permission and that no override plugin (e.g., LiteBans) is conflicting.

text
/tempban Alex 7d Repeated harassment
/unban Alex
实践要求:
  • 使时长与策略档位保持一致
  • 记录证据和管理人员
IP 封禁是独立的:
/banip Alex <reason>
会解析玩家最近使用的 IP,并可能影响共享该 IP 的其他玩家。使用准确的封禁地址和
/unbanip <address>
撤销已授权的 IP 封禁;
/unban Alex
仅移除账户封禁。
故障排查:临时封禁未实际生效 → 检查
essentials.tempban
权限,并确认没有覆盖插件(例如 LiteBans)产生冲突。

Config Pitfalls and Hardening Notes

配置陷阱与加固说明

Common pitfalls:
  • mismatched EssentialsX/Vault/provider versions after partial plugin updates
  • permissive wildcard grants that expose admin economy commands
  • high home/warp limits causing navigation abuse or command spam
  • inconsistent chat/nickname rules across staff shifts
Hardening checklist:
  • keep a tested baseline config backup before edits
  • change one policy area at a time (economy, homes, moderation, chat)
  • run staff and player smoke tests after every config rollout
  • maintain written policy mapping to command permissions

常见陷阱:
  • 插件部分更新后,EssentialsX、Vault 或 provider 版本不匹配
  • 宽松的通配符授权暴露了管理员经济命令
  • 家点或传送点数量上限过高,导致位置导航滥用或命令刷屏
  • 不同管理班次之间的聊天或昵称规则不一致
加固检查清单:
  • 编辑前保留一份经过测试的基线配置备份
  • 每次只变更一个策略领域(经济、家点、行为管理、聊天)
  • 每次发布配置后执行 staff 和 player 冒烟测试
  • 维护命令权限到书面策略的映射关系

Operations Runbook: Safe Config Rollout

运维运行手册:安全的配置发布

  1. Backup current Essentials config files.
  2. Apply targeted config edits.
  3. Reload only if plugin docs explicitly support live reload for changed sections.
  4. Prefer maintenance restart for sensitive changes.
  5. Validate:
    • login flow
    • homes/warps
    • economy transactions
    • moderation commands
  6. Keep rollback bundle ready for immediate restore.

  1. 备份当前 Essentials 配置文件。
  2. 应用有针对性的配置修改。
  3. 仅当插件文档明确支持对变更部分进行实时重载时才执行重载。
  4. 对于敏感变更,优先在维护期间重启服务器。
  5. 验证:
    • 登录流程
    • 家点和传送点
    • 经济交易
    • 行为管理命令
  6. 随时准备好可用于立即恢复的回滚包。

References

参考资料