次世代自定义末影箱
为现代服务器打造的终极、高性能且完全可定制的末影箱解决方案。专为 Paper 与 Folia 从头构建。
概览
受够了那些会让服务器卡顿、功能匮乏或不支持现代服务器基础软件的普通末影箱插件?Next-Gen Custom Ender Chest 是对经典概念的彻底重写,专为满足当今高性能服务器的严苛要求而设计。
我们的插件提供强大、灵活且完全异步的体验,确保零延迟的同时,为你的玩家提供基于权限的末影箱服务。无论你是在运行单个服务器还是庞大的 Velocity 代理网络,我们的多存储后端都能为你完美覆盖。
⭐ 特性
?️ 基于权限的大小: 轻松配置多达 6 种不同的末影箱大小,通过权限节点(CustomEnderChest.level.0 至 CustomEnderChest.level.5)动态授予玩家。当玩家的权限发生变化时,箱子将自动即时调整大小!
⚡ 高性能与异步处理: 所有数据库查询、加载和保存序列均以异步方式处理。即使有数百名玩家疯狂发送命令,你的服务器 TPS 也不会下降。
? 灵活的存储系统: 你选择如何安全地存储数据!
- MySQL: 非常适合多服务器网络(BungeeCord/Velocity),以无缝同步跨服务器的玩家数据。
- H2: 用于单服务器的高速、高性能本地数据库。相比 YML 能显著提升 TPS,且无需任何设置。
- YML: 简单、经典且可手动编辑,将每个玩家的数据保存在单独的文件中。
? 兼容 Folia: 着眼未来。我们的调度器和数据处理逻辑专门为 Folia 的多线程区域线程环境构建!
? 完全可定制的用户界面: 使用强大的 MiniMessage 格式自定义所有消息、前缀和库存弹出窗口标题。原生支持渐变、十六进制颜色代码和传统代码(&c)。支持多种语言的即插即用(lang_en、lang_vi 等)。
? 动态溢出保护: 如果玩家的 VIP 等级过期且其箱子被降级,超出新大小限制的物品不会被删除!它们会被安全地移至 溢出存储区。玩家可以使用 /ec overflow 命令手动查看并领取这些物品,或者当玩家再次升级箱子大小时,这些物品会自动恢复放回末影箱中。包括可定制的 Vault 提取费用和自动过期计时器!
? 实时管理员同步: 管理员可以实时查看并与任何玩家的末影箱进行交互。你放入或取出的任何物品都会立即直接镜像到玩家的屏幕上!
? 防刷物品数据锁: 健壮、线程安全的异步锁保证退出保存、快速重连以及跨服务器的 Bungee 传输完全免疫物品复制和数据损坏。
? 数据库迁移与统计数据验证: 使用强大的 /cec migrate 命令在数据库之间平滑移动(YML <-> H2 <-> MySQL)。运行 /cec stats validate 以快速扫描并验证已存储玩家数据的完整性!
命令与权限
点击查看命令与权限
玩家命令:
/cec - 打开你的末影箱。(别名:/ec、/customenderchest)
/cec overflow - 打开你的溢出存储区以取回保存的物品。
通用与交互权限:
CustomEnderChest.commands - 允许使用命令别名(/cec、/ec、/customec)打开你的末影箱(如果在配置中将 allow-command 设置为 false 则需要此权限)。
CustomEnderChest.command.open.self - 允许通过 /cec open 打开你自己的箱子。
CustomEnderChest.block.open - 允许通过右键点击末影箱方块来打开你的末影箱(如果配置了权限方块开启则需此权限)。
CustomEnderChest.command.overflow - 允许通过 /cec overflow 查看并领取你的溢出物品。
大小权限(等级):
CustomEnderChest.level.0 - 9 格(1 行)
CustomEnderChest.level.1 - 18 格(2 行)
CustomEnderChest.level.2 - 27 格(3 行)
CustomEnderChest.level.3 - 36 格(4 行)
CustomEnderChest.level.4 - 45 格(5 行)
CustomEnderChest.level.5 - 54 格(6 行)
管理员命令与权限:
/cec open <player> - 实时打开并修改其他玩家的末影箱。(需要 CustomEnderChest.command.open.other)
/cec overflow <player> - 查看和管理其他玩家的溢出物品。(需要 CustomEnderChest.command.overflow.other)
/cec delete <player> - 删除特定玩家末影箱中的所有物品。(需要 CustomEnderChest.command.delete)
/cec reload - 重新加载 config.yml 和语言文件。(需要 CustomEnderChest.admin)
/cec migrate <source> <target> - 将所有玩家数据从一个存储类型迁移到另一个(例如从 yml 到 mysql)。(需要 CustomEnderChest.admin)
/cec stats [validate|help] - 查看数据库统计数据或验证数据完整性以检测损坏。(需要 CustomEnderChest.admin)
/cec import vanilla - 批量导入所有离线/在线玩家的原始末影箱数据。(需要 CustomEnderChest.admin)
配置 (config.yml)
该插件极其易于配置。你可以控制从数据库设置、自动备份到物理箱子方块行为以及各个音效的所有内容。
# -------------------------------------------------- #
# Configuration for CustomEnderChest v2.0 #
# -------------------------------------------------- #
# Thank you for using the refactored version!
# All messages, titles, and user-facing text are now managed in the /lang directory.
# 通用插件设置
general:
# 选择要使用的语言文件。
# 示例:"en" 将加载 "lang_en.yml","vi" 将加载 "lang_vi.yml","zhcn" 将加载 lang_zhcn.yml。
# 确保对应的文件存在于插件的 /lang 文件夹中。
locale: "en"
# 设置为 true 以启用调试日志记录。有助于故障排除。
debug: false
# 设置为 true 以启用 bStats 指标,这有助于开发者了解插件的使用情况。
# 设置为 false 以禁用它。
bstats-metrics: true
# 设置为 true 以启用 FastStats 指标进行错误跟踪和分析。
# 设置为 false 以禁用它。
faststats-metrics: true
# 启用或禁用自动更新检查。
update-checker: true
# 备份设置
backup:
# 启用玩家数据的自动备份
enabled: true
# 自动备份之间的间隔(以分钟为单位)
interval-minutes: 60
# 保留的最大备份文件数量
# 当超过此限制时,旧备份将自动删除
max-backups: 10
# 保留备份的天数(较旧的备份将被删除)
retention-days: 7
# 在服务器关闭时创建备份
backup-on-shutdown: true
# 数据库设置
storage:
# 存储类型。选项:
# yml - 将数据存储在 YAML 文件中,无需外部设置。
# h2 - (默认且推荐用于单服务器)快速、轻量级,将数据存储在单个文件中,无需外部设置。
# mysql - (推荐用于多服务器网络)需要单独的 MySQL 服务器。
type: "h2"
# 将在数据库中使用的表名。
table_name: "custom_enderchests"
# 定期为在线玩家自动保存数据。
# 这有助于在服务器崩溃的情况下最大限度地减少数据丢失。
# 时间单位为秒。
auto-save-interval-seconds: 300 # 默认为 5 分钟
# MySQL 的设置(仅当 `type` 为 "mysql" 时适用)
mysql:
host: "127.0.0.1"
port: 3306
database: "enderchest_db"
username: "user"
password: "password"
# 启用/禁用连接的 SSL 加密。
use-ssl: false
# 连接池(HikariCP)的设置。
# 这些设置优化了数据库连接性能。
# 除非您知道自己在做什么,否则通常不需要更改这些设置。
pool-settings:
max-pool-size: 10
min-idle: 5
connection-timeout: 30000 # 30 秒
# 自动清理 MySQL 中的旧用户数据
auto-cleanup:
# 启用/禁用不活跃玩家数据的自动删除。
enabled: false
# 不活跃天数。在此时长内未登录的玩家的数据将被删除。
inactive-days: 90
# 如果玩家的 UUID 发生变化(例如从盗版变为正版),则按玩家名称自动迁移数据。
# 警告:启用此功能可能会导致盗版玩家在更改名称后窃取正版玩家的物品。
# 建议将其保持为 false,并在需要时联系服务器工作人员手动转移数据。
# 仅当您从离线服务器迁移到在线服务器,或者您知道自己在做什么时才启用此功能。
migrate-uuid-by-name: false
# 溢出设置
overflow:
# 溢出物品的过期计时器
# 如果启用,未被认领的溢出物品将自动删除
expiration:
enabled: false
# 溢出物品过期的天数(默认:30)
days: 30
# 检查过期物品的频率(以分钟为单位,默认:60)
check-interval-minutes: 60
# 如果玩家有溢出物品,则在登录时显示的警告
login-warning:
enabled: true
# 取回费用(需要 Vault)
# 当玩家认领溢出物品时收费
retrieval-fee:
enabled: false
# 认领任何溢出物品时收取的一次性固定费用(默认:0)
flat-fee: 0
# 每个溢出物品收取的费用(默认:0)
per-item-fee: 0
# 末影箱游戏玩法选项
enderchest-options:
# 禁用通过右键点击末影箱方块来打开自定义末影箱。
# 如果您只想让玩家通过命令打开箱子,或者玩家需要
# "CustomEnderChest.block.open" 权限才能通过方块打开,这将非常有用。
# 注意:如果此选项为 true,请不要将下面的 `disable-plugin-on-endechest-block` 设置为 true。
disable-enderchest-click: false
# 在与末影箱方块交互时禁用插件的功能。
# 该方块将作为普通的原版末影箱工作。
# 如果您想仅将该方块保留给原版使用,这将非常有用。
# 注意:如果此选项为 true,请不要将上面的 `disable-enderchest-click` 设置为 true。
vanilla-enderchest-block: false
# 播放末影箱方块的物理盖子打开/关闭动画。
# 注意:禁用此项可防止播放原版末影箱声音,
# 使您只能听到 `sounds` 部分中配置的自定义声音。
play-block-animation: true
# 玩家的默认设置
default-player:
# 启用此功能以给予玩家默认的箱子大小。
# 这允许玩家使用末影箱方块而无需特定权限。
enabled: true
# 默认箱子大小(槽位数,必须是 9 的倍数,最大 54)。
# 27 等于 3 行,与原版末影箱相同。
# 默认权限级别是 CustomEnderChest.level.3(27 个槽位)。
size: 27
# 默认允许玩家使用 /cec, /ec, /customec 命令。
# 如果为 false,玩家将需要 "CustomEnderChest.commands" 权限才能使用命令。
allow-command: true
# 声音自定义
sounds:
# 如果设置为 `true`,则禁用所有插件声音。
disable-all: false
# 你可以在这里找到有效的声音名称:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# (使用 Enum 列中的名称)
open:
name: "BLOCK_ENDER_CHEST_OPEN"
volume: 1.0
pitch: 1.0
close:
name: "BLOCK_ENDER_CHEST_CLOSE"
volume: 1.0
pitch: 1.0
fail:
name: "BLOCK_NOTE_BLOCK_PLING"
volume: 1.0
pitch: 0.5
reload:
name: "ENTITY_PLAYER_LEVELUP"
volume: 0.8
pitch: 1.5
点击查看 lang/lang_en.yml
# 用于所有消息的前缀
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>你没有执行此操作的权限。</red>"
no-permission-block-open: "<red>你没有权限通过点击来打开末影箱。</red>"
players-only: "<red>此命令只能由玩家运行。</red>"
reload-success: "<green>配置文件和语言文件已重新加载。</green>"
data-still-loading: "<yellow>你的数据仍在加载中,请稍候...</yellow>"
data-busy: "<red>玩家数据正忙。请稍后重试。</red>"
save-error: "<red>保存数据时发生错误。请检查控制台。</red>"
invalid-player: "<red>无效的玩家名称。</red>"
# 迁移消息
migration-data-incompatible: "<yellow>警告:你的末影箱数据与新服务器版本 (1.21.5+) 不兼容。</yellow>"
migration-data-cleared: "<yellow>由于不兼容,你的末影箱已被重置。旧数据仍保存在数据库中。</yellow>"
migration-contact-admin: "<gray>如果需要物品恢复,请联系管理员。</gray>"
data-migrated: "<green>你的末影箱数据已迁移至新账户。</green>"
# 溢出消息
overflow-items-saved: "<yellow>⚠ 超出你权限的一些物品已保存到溢出存储中。</yellow>"
overflow-will-restore: "<gray>当你升级末影箱或使用 /ec overflow 时,它们将自动恢复。</gray>"
overflow-items-restored: "<green>✓ 从溢出存储中恢复了 <count> 件物品!</green>"
overflow-login-warning: "<yellow>⚠ 你有 <count> 件物品在溢出存储中。请使用 <command> 领取。</yellow>"
overflow-login-warning-expiring: "<yellow>⚠ 你有 <count> 件物品在溢出存储中,将在 <days> 天后过期!请使用 <command> 领取。</yellow>"
overflow-expired: "<red>你的溢出物品 (<count> 件) 已过期并被移除。</red>"
overflow-fee-charged: "<yellow>收取了 <amount> 以取回 <count> 件溢出物品。</yellow>"
overflow-fee-insufficient: "<red>你需要至少 <amount> 才能取回溢出物品。余额:<balance></red>"
overflow-fee-no-vault: "<red>未找到经济插件 (Vault)。取回费用已禁用。</red>"
command:
usage: "<red>用法:<gray>/<label> <usage>"
player-not-found: "<red>未找到玩家 '<player>' 或该玩家没有数据。"
delete-usage: "<red>用法:<gray>/<label> delete <player>"
delete-success: "<green>成功删除了 <white><player></white> 的末影箱数据。"
loading-chest: "<yellow>正在加载 <white><player></white> 的末影箱..."
import-usage: "<red>用法:<gray>/<label> import <vanilla>"
import-invalid-type: "<red>无效的导入类型。请使用:<gray>vanilla"
migrate-usage: "<yellow>用法:<gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>示例:/<label> migrate yml mysql"
migrate-running: "<red>当前已有另一个迁移进程在运行。请稍候!"
migrate-same-type: "<red>源格式和目标格式不能相同。"
migrate-init: "<yellow>正在初始化数据库连接..."
migrate-conn-source-err: "<red>连接到源格式时出错。迁移已取消。"
migrate-conn-target-err: "<red>连接到目标格式时出错。迁移已取消。"
migrate-start: "<yellow>开始从 <source> 向 <target> 进行数据迁移..."
migrate-no-data: "<red>未找到任何可迁移的数据。"
migrate-success: "<green>数据迁移完成!成功:<success>/<total>,失败:<failed>"
migrate-note: "<yellow>⚠ 注意:<white>要使用迁移后的数据,请停止服务器,在 config.yml 中更新存储类型,然后重新启动服务器。"
migrate-error-unknown: "<red>迁移过程中发生未知错误。请查看控制台以获取详细信息。"
migrate-in-progress: "<red>系统正在进行数据维护(迁移),您现在无法打开箱子!"
overflow-title: "<dark_purple><player> 的溢出物品"
overflow-admin-title: "<dark_red>管理员溢出视图:<white><player>"
overflow-empty: "<green>您的溢出存储空间中没有物品。"
overflow-admin-empty: "<green><player> 的溢出存储空间中没有物品。"
overflow-no-enderchest: "<red>您需要一个末影箱才能领取溢出物品。"
overflow-claimed: "<green>✓ 已从溢出空间领取 <count> 件物品!"
overflow-enderchest-full: "<yellow>您的背包已满。剩余物品将保留在溢出空间中。"
overflow-claim-failed: "<red>领取溢出物品失败。请重试。"
titles:
enderchest: "<level> - <light_purple><player> 的箱子"
admin_view: "<dark_red>管理员视图:<white><player>"
levels:
'0': "&f等级 1" # 1 行 (9 个槽位)
'1': "&a等级 2" # 2 行 (18 个槽位)
'2': "&b等级 3" # 3 行 (27 个槽位)
'3': "&e等级 4" # 4 行 (36 个槽位)
'4': "&6等级 5" # 5 行 (45 个槽位)
'5': "&d&l等级 6" # 6 行 (54 个槽位)
import:
started: "<green>正在为所有玩家(在线+离线)启动原版末影箱导入..."
complete: "<green>导入完成!<white><imported></white> 已导入,<white><skipped></white> 已跳过,<white><failed></white> 失败。"
failed-details: "<red>失败的玩家:<players>"
nbtapi-missing: "<red>此命令需要 NBTAPI 插件。请在您的服务器上安装 NBTAPI。"
点击查看 lang/lang_vi.yml
# CustomEnderChest 越南语语言文件
# 前缀用于所有消息
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>末影箱</gradient>]</gray> "
messages:
no-permission: "<red>你没有权限执行此操作。</red>"
no-permission-block-open: "<red>你没有权限打开末影箱。</red>"
players-only: "<red>此命令只能由玩家执行。</red>"
reload-success: "<green>配置文件和语言文件已重新加载。</green>"
data-still-loading: "<yellow>你的数据正在加载中,请稍候...</yellow>"
data-busy: "<red>玩家数据当前正忙。请稍后重试。</red>"
save-error: "<red>保存数据时发生错误。请检查控制台。</red>"
invalid-player: "<red>无效的玩家名称。</red>"
# 迁移相关消息
migration-data-incompatible: "<yellow>警告:你的末影箱数据与新的服务器版本 (1.21.5+) 不兼容。"
migration-data-cleared: "<yellow>由于不兼容,你的末影箱已被重置。旧数据仍保留在数据库中。"
migration-contact-admin: "<gray>如需恢复物品,请联系管理员。"
data-migrated: "<green>你的末影箱数据已迁移至新账户。"
# 溢出相关消息
overflow-items-saved: "<yellow>⚠ 部分超出容量的物品已保存至备用仓库。"
overflow-will-restore: "<gray>当你升级末影箱或使用 /ec overflow 时,它们将自动恢复。"
overflow-items-restored: "<green>✓ 已从备用仓库恢复 <count> 件物品!"
overflow-login-warning: "<yellow>⚠ 你仍有 <count> 件物品在备用仓库中。请使用 <command> 领取。"
overflow-login-warning-expiring: "<yellow>⚠ 你仍有 <count> 件物品在备用仓库中,将在 <days> 天后过期!请使用 <command> 领取。"
overflow-expired: "<red>备用仓库中的物品 (<count> 件) 已过期并被删除。"
overflow-fee-charged: "<yellow>领取 <count> 件备用仓库物品时扣除了 <amount>。"
overflow-fee-insufficient: "<red>领取备用仓库物品至少需要 <amount>。当前余额:<balance>"
overflow-fee-no-vault: "<red>未找到经济插件 (Vault)。领取物品的费用功能已禁用。"
command:
usage: "<red>用法:<gray>/<label> <usage>"
player-not-found: "<red>未找到玩家 '<player>' 或其没有数据。"
delete-usage: "<red>用法:<gray>/<label> delete <tên_người_chơi>"
delete-success: "<green>成功删除了 <white><player></white> 的末影箱数据。"
loading-chest: "<yellow>正在加载 <white><player></white> 的末影箱..."
import-usage: "<red>用法:<gray>/<label> import <vanilla>"
import-invalid-type: "<red>导入类型无效。请使用:<gray>vanilla"
migrate-usage: "<yellow>用法:<gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>示例:/<label> migrate yml mysql"
migrate-running: "<red>另一个迁移进程正在进行中。请稍候!"
migrate-same-type: "<red>源格式和目标格式不能相同。"
migrate-init: "<yellow>正在初始化数据库连接..."
migrate-conn-source-err: "<red>连接源格式时出错。迁移已取消。"
migrate-conn-target-err: "<red>连接目标格式时出错。迁移已取消。"
migrate-start: "<yellow>开始从 <source> 迁移数据到 <target>..."
migrate-no-data: "<red>没有找到可迁移的数据。"
migrate-success: "<green>数据迁移完成!成功:<success>/<total>,失败:<failed>"
migrate-note: "<yellow>⚠ 注意:<white>在迁移数据后,如果要使用这些数据,请关闭服务器并修改 config.yml 中的信息,然后重新启动服务器以使用。"
migrate-error-unknown: "<red>迁移过程中发生未知错误。请查看控制台获取详细信息。"
migrate-in-progress: "<red>系统正在进行数据维护(迁移),此时无法打开箱子!"
overflow-title: "<dark_purple><player> 的备用箱"
overflow-admin-title: "<dark_red>管理员查看:<white><player> <dark_red>备用箱"
overflow-empty: "<green>你的备用仓库中没有物品。"
overflow-admin-empty: "<green><player> 的备用仓库中没有物品。"
overflow-no-enderchest: "<red>你需要一个末影箱来获取备用物品。"
overflow-claimed: "<green>✓ 已从备用仓库领取 <count> 个物品!"
overflow-enderchest-full: "<yellow>你的背包已满。剩余物品仍保留在备用仓库中。"
overflow-claim-failed: "<red>领取备用物品失败。请重试。"
titles:
enderchest: "<level> - <light_purple><player> 的箱子"
admin_view: "<dark_red>管理员查看:<white><player>"
# 用于 <level> 变量的等级名称
levels:
'0': "&f1级" # 1行(9格)
'1': "&a2级" # 2行(18格)
'2': "&b3级" # 3行(27格)
'3': "&e4级" # 4行(36格)
'4': "&65级" # 5行(45格)
'5': "&d&l6级" # 6行(54格)
import:
started: "<green>开始将原版数据转换为插件,适用于所有在线玩家..."
complete: "<green>转换完成!已为 <white><imported></white> 名玩家进行转换,跳过了 <white><skipped></white> 名玩家。"
nbtapi-missing: "<red>需要安装 NBTAPI 插件才能使用此命令。请在服务器上安装 NBTAPI。"
<details>
<summary>点击查看 lang/lang_nl.yml</summary>
```yaml
# 所有消息的前缀
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>你没有权限这样做。</red>"
no-permission-block-open: "<red>你没有权限通过点击打开末影箱。</red>"
players-only: "<red>此命令只能由玩家执行。</red>"
reload-success: "<green>配置文件和语言文件已重新加载。</green>"
data-still-loading: "<yellow>数据仍在加载中,请稍候...</yellow>"
data-busy: "<red>玩家数据正在处理中。请稍后重试。</red>"
save-error: "<red>保存数据时发生错误。请检查控制台。</red>"
invalid-player: "<red>无效的玩家名称。</red>"
# Migratie berichten
migration-data-incompatible: "<yellow>警告:你的末影箱数据与新服务器版本(1.21.5+)不兼容。</yellow>"
migration-data-cleared: "<yellow>由于不兼容,你的末影箱已重置。旧数据仍保存在数据库中。</yellow>"
migration-contact-admin: "<gray>如需恢复物品,请联系管理员。</gray>"
data-migrated: "<green>你的末影箱数据已迁移至新账户。</green>"
# Overflow berichten
overflow-items-saved: "<yellow>⚠ 部分超出你权限的物品已保存在溢出存储中。</yellow>"
overflow-will-restore: "<gray>当你升级末影箱时,它们将自动恢复。</gray>"
overflow-items-restored: "<green>✓ <count> 个物品已从溢出存储中恢复!</green>"
overflow-login-warning: "<yellow>⚠ 你有 <count> 个物品在溢出存储中。请使用 <command> 取回它们。</yellow>"
overflow-login-warning-expiring: "<yellow>⚠ 你有 <count> 个物品在溢出存储中,将在 <days> 天后过期!请使用 <command> 取回它们。</yellow>"
overflow-expired: "<red>你的溢出物品(<count> 个)已过期并被删除。</red>"
overflow-fee-charged: "<yellow>取回 <count> 个溢出物品收取了 <amount> 费用。</yellow>"
overflow-fee-insufficient: "<red>你需要至少 <amount> 才能取回溢出物品。余额:<balance></red>"
overflow-fee-no-vault: "<red>未找到经济插件 (Vault)。取回费用已禁用。</red>"
command:
usage: "<red>用法:<gray>/<label> <usage>"
player-not-found: "<red>未找到玩家 '<player>' 或其没有数据。</red>"
delete-usage: "<red>用法:<gray>/<label> delete <player>"
delete-success: "<green>成功删除 <white><player></white> 的末影箱。</green>"
loading-chest: "<yellow>正在加载 <white><player></white> 的末影箱...</yellow>"
import-usage: "<red>用法:<gray>/<label> import <vanilla>"
import-invalid-type: "<red>无效的导入类型。使用:<gray>vanilla"
migrate-usage: "<yellow>用法:<gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>示例:/<label> migrate yml mysql"
migrate-running: "<red>另一个迁移进程正在运行。请稍候!</red>"
migrate-same-type: "<red>源格式和目标格式不能相同。</red>"
migrate-init: "<yellow>正在初始化数据库连接...</yellow>"
migrate-conn-source-err: "<red>连接源格式时出错。迁移已取消。</red>"
migrate-conn-target-err: "<red>连接目标格式时出错。迁移已取消。</red>"
migrate-start: "<yellow>开始从 <source> 到 <target> 的数据迁移...</yellow>"
migrate-no-data: "<red>未找到要迁移的数据。</red>"
migrate-success: "<green>数据迁移完成!成功:<success>/<total>,失败:<failed></green>"
migrate-note: "<yellow>⚠ 注意:<white>要使用迁移后的数据,请停止服务器,在 config.yml 中更新存储类型,然后重新启动服务器。</white>"
migrate-error-unknown: "<red>迁移过程中发生未知错误。请检查控制台以获取详细信息。</red>"
migrate-in-progress: "<red>系统正在进行数据维护(迁移),你现在无法打开箱子!</red>"
overflow-title: "<dark_purple><player> 的溢出存储"
overflow-admin-title: "<dark_red>管理员溢出存储:<white><player>"
overflow-empty: "<green>你的溢出存储中没有物品。</green>"
overflow-admin-empty: "<green><player> 的溢出存储中没有物品。</green>"
overflow-no-enderchest: "<red>你需要一个末影箱来取回溢出物品。</red>"
overflow-claimed: "<green>✓ <count> 个物品已从溢出存储中取回!</green>"
overflow-enderchest-full: "<yellow>你的背包已满。剩余物品将保留在溢出存储中。</yellow>"
overflow-claim-failed: "<red>取回溢出物品失败。请重试。</red>"
titles:
enderchest: "<level> - <light_purple><player> 的箱子"
admin_view: "<dark_red>管理员视图:<white><player>"
levels:
'0': "&f等级 1" # 1 行 (9 槽位)
'1': "&a等级 2" # 2 行 (18 槽位)
'2': "&b等级 3" # 3 行 (27 槽位)
'3': "&e等级 4" # 4 行 (36 槽位)
'4': "&6等级 5" # 5 行 (45 槽位)
'5': "&d&l等级 6" # 6 行 (54 槽位)
import:
started: "<green>开始为所有在线玩家导入原版末影箱数据...</green>"
complete: "<green>导入完成!<white><imported></white> 名玩家已导入,<white><skipped></white> 名玩家已跳过。</green>"
nbtapi-missing: "<red>此命令需要 NBTAPI 插件。请在服务器上安装 NBTAPI。</red>"
点击查看 lang/lang_zhcn.yml
# 所有消息的前缀
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>你没有权限使用这个。</red>"
no-permission-block-open: "<red>你无权通过点击末影箱来打开它。</red>"
players-only: "<red>该命令只能由玩家执行。</red>"
reload-success: "<green>配置与语言文件重载完毕。</green>"
data-still-loading: "<yellow>数据仍在载入,请稍候...</yellow>"
data-busy: "<red>玩家数据库繁忙,请稍后再试。</red>"
save-error: "<red>保存数据时出错,请检查控制台。</red>"
invalid-player: "<red>玩家名称无效。</red>"
# 迁移相关消息
migration-data-incompatible: "<yellow>警告:末影箱数据与新服务器版本(1.21.5+)不兼容。"
migration-data-cleared: "<yellow>出于兼容性考虑,你的末影箱数据已被重置。旧数据仍然保留在数据库中。"
migration-contact-admin: "<gray>若需要恢复丢失的物品,请联系管理员。"
data-migrated: "<green>Your enderchest data has been migrated to your new account."
# 溢出相关消息
overflow-items-saved: "<yellow>⚠ 部分当前权限不能存取的物品已转移到溢出仓库。"
overflow-will-restore: "<gray>升级末影箱后会自动回到普通仓库中。or /ec overflow "
overflow-items-restored: "<green>✓ 成功从溢出仓库中取回了 <count> 个物品!"
overflow-login-warning: "<yellow>⚠ 你有 <count> 个物品在溢出仓库中。使用 <command> 来领取。"
overflow-login-warning-expiring: "<yellow>⚠ 你有 <count> 个溢出物品将在 <days> 天后过期!使用 <command> 来领取。"
overflow-expired: "<red>你的溢出物品(<count> 个)已过期并被删除。"
overflow-fee-charged: "<yellow>领取 <count> 个溢出物品已扣除 <amount>。"
overflow-fee-insufficient: "<red>你需要至少 <amount> 来领取溢出物品。余额:<balance>"
overflow-fee-no-vault: "<red>未找到经济插件(Vault)。领取费用已禁用。"
command:
usage: "<red>命令用法:<gray>/<label> <usage>"
player-not-found: "<red>玩家 '<player>' 未找到或没有数据。"
delete-usage: "<red>命令用法:<gray>/<label> delete <player>"
delete-success: "<green>成功删除了玩家 <white><player></white> 的末影箱数据。"
loading-chest: "<yellow>正在载入 <white><player> 的</white> 末影箱..."
import-usage: "<red>Usage: <gray>/<label> import <vanilla>"
import-invalid-type: "<red>Invalid import type. Use: <gray>vanilla"
migrate-usage: "<yellow>Usage: <gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>Example: /<label> migrate yml mysql"
migrate-running: "<red>Another migration process is currently running. Please wait!"
migrate-same-type: "<red>Source and target formats cannot be the same."
migrate-init: "<yellow>Initializing database connection..."
migrate-conn-source-err: "<red>Error connecting to source format. Migration cancelled."
migrate-conn-target-err: "<red>Error connecting to target format. Migration cancelled."
migrate-start: "<yellow>Starting data migration from <source> to <target>..."
migrate-no-data: "<red>No data found to migrate."
migrate-success: "<green>Data migration complete! Success: <success>/<total>, Failed: <failed>"
migrate-note: "<yellow>⚠ 注意:<white>迁移完成后,请关闭服务器,在 config.yml 中修改存储类型,然后重新启动服务器以使用迁移后的数据。"
migrate-error-unknown: "<red>An unknown error occurred during migration. Check Console for details."
migrate-in-progress: "<red>System is undergoing data maintenance (migration), you cannot open the chest right now!"
overflow-title: "<dark_purple><player> 的溢出仓库"
overflow-admin-title: "<dark_red>管理员浏览:<white><player> <dark_red>溢出仓库"
overflow-empty: "<green>你的溢出仓库中没有物品。"
overflow-admin-empty: "<green><player> 的溢出仓库中没有物品。"
overflow-no-enderchest: "<red>你需要末影箱来领取溢出物品。"
overflow-claimed: "<green>✓ 成功领取了 <count> 个溢出物品!"
overflow-enderchest-full: "<yellow>你的背包已满。剩余物品仍在溢出仓库中。"
overflow-claim-failed: "<red>领取溢出物品失败,请重试。"
titles:
enderchest: "<level> - <light_purple><player> 的箱子"
admin_view: "<dark_red>管理员浏览:<white><player>"
levels:
'0': "&f一阶" # 1 行(9 格)
'1': "&a二阶" # 2 行(18 格)
'2': "&b三阶" # 3 行(27 格)
'3': "&e四阶" # 4 行(36 格)
'4': "&6五阶" # 5 行(45 格)
'5': "&d&l六阶" # 6 行(54 格)
import:
started: "<green>Starting vanilla ender chest import for all online players..."
complete: "<green>Import complete! <white><imported></white> players imported, <white><skipped></white> skipped."
nbtapi-missing: "<red>NBTAPI plugin is required for this command. Please install NBTAPI on your server."
安装
- 下载最新版本。
- 将
.jar 文件放入服务器的 plugins 文件夹中。
- 启动服务器以生成默认配置文件。
- 停止服务器,根据需要编辑
config.yml 和 lang/lang_en.yml。
- 再次启动服务器。完成!
支持
如果您有任何问题或需要帮助,请使用讨论区或加入我们的 Discord:
Next-Gen Custom Ender Chest
The ultimate, high-performance, and fully customizable Ender Chest solution for modern servers. Built from the ground up for Paper & Folia.
Overview
Tired of basic Ender Chest plugins that lag your server, lack features, or don't support modern server software? Next-Gen Custom Ender Chest is a complete rewrite of the classic concept, engineered for the strict demands of today's high-performance servers.
Our plugin offers a powerful, flexible, and completely asynchronous experience, ensuring zero lag while providing your players with permission-based Ender Chests. Whether you're running a single server or a vast Velocity proxy network, our multi-storage backend has you completely covered.
⭐ Features
?️ Permission-Based Sizes: Easily configure up to 6 different Ender Chest sizes, granted to players dynamically via permission nodes (CustomEnderChest.level.0 to CustomEnderChest.level.5). The chest will automatically resize instantly when their permission changes!
⚡ High-Performance & Asynchronous: All database queries, loading, and saving sequences are handled asynchronously. Your server's TPS will never drop, even with hundreds of players spamming commands.
? Flexible Storage System: You choose how to securely store your data!
- MySQL: Perfect for multi-server networks (BungeeCord/Velocity) to sync player data seamlessly across servers.
- H2: A fast, high-performance local database for single servers. Offers drastically better TPS than YML with zero setup required.
- YML: Simple, classic, and manually editable, saving each player's data in a separate file.
? Folia Compatible: Built with the future in mind. Our scheduler and data handling logic are explicitly built for Folia's multi-threaded Region Thread environment!
? Fully Customizable UI: Customize all messages, prefixes, and inventory pop-up titles using the powerful MiniMessage format. Gradients, hex colors, and legacy codes (&c) are all natively supported. Drop-in support for multiple languages (lang_en, lang_vi, etc.).
? Dynamic Overflow Protection: If a player's VIP rank expires and their chest is downgraded, items exceeding their new size limit are NOT deleted! They are safely moved into a secure Overflow Storage. Players can manually view and claim these items using the /ec overflow command, or they will automatically be restored back into the Ender Chest when the player upgrades their chest size again. Includes customizable Vault retrieval fees and automatic expiration timers!
? Real-Time Admin Sync: Admins can view and interact with any player's Ender Chest in real-time. Any item you put in or take out will instantly mirror directly onto the player's screen!
? Anti-Dupe Data Lock: Robust, thread-safe asynchronous locks guarantee that quit-saving, rapid relogging, and cross-server Bungee transfers are completely immune to item duplication and corruption.
? Database Migration & Stats Validation: Move smoothly between databases (YML <-> H2 <-> MySQL) using the powerful /cec migrate command. Run /cec stats validate to quickly scan and validate the integrity of stored player data!
Commands & Permissions
Click to view Commands & Permissions
Player Commands:
/cec - Opens your Ender Chest. (Aliases: /ec, /customenderchest)
/cec overflow - Opens your Overflow Storage to retrieve saved items.
General & Interaction Permissions:
CustomEnderChest.commands - Allows using command aliases (/cec, /ec, /customec) to open your Ender Chest (needed if allow-command is set to false in config).
CustomEnderChest.command.open.self - Allows opening your chest via /cec open.
CustomEnderChest.block.open - Allows opening your Ender Chest by right-clicking an Ender Chest block (needed if permission block open is configured).
CustomEnderChest.command.overflow - Allows viewing and claiming your overflow items via /cec overflow.
Size Permissions (Levels):
CustomEnderChest.level.0 - 9 Slots (1 row)
CustomEnderChest.level.1 - 18 Slots (2 rows)
CustomEnderChest.level.2 - 27 Slots (3 rows)
CustomEnderChest.level.3 - 36 Slots (4 rows)
CustomEnderChest.level.4 - 45 Slots (5 rows)
CustomEnderChest.level.5 - 54 Slots (6 rows)
Admin Commands & Permissions:
/cec open <player> - Open and modify another player's Ender Chest in real-time. (Requires CustomEnderChest.command.open.other)
/cec overflow <player> - View and manage another player's overflow items. (Requires CustomEnderChest.command.overflow.other)
/cec delete <player> - Delete all items in a specific player's Ender Chest. (Requires CustomEnderChest.command.delete)
/cec reload - Reloads the config.yml and language files. (Requires CustomEnderChest.admin)
/cec migrate <source> <target> - Migrate all player data from one storage type to another (e.g. yml to mysql). (Requires CustomEnderChest.admin)
/cec stats [validate|help] - View database statistics or validate data integrity to detect corruption. (Requires CustomEnderChest.admin)
/cec import vanilla - Bulk import vanilla ender chest data for all offline/online players. (Requires CustomEnderChest.admin)
Configuration (config.yml)
The plugin is extremely easy to configure. You can control everything from database settings, auto-backups, and physical chest block behaviors to individual sound effects.
# -------------------------------------------------- #
# Configuration for CustomEnderChest v2.0 #
# -------------------------------------------------- #
# Thank you for using the refactored version!
# All messages, titles, and user-facing text are now managed in the /lang directory.
# General plugin settings
general:
# Select the language file to use.
# Example: "en" will load "lang_en.yml", "vi" will load "lang_vi.yml", "zhcn" will load lang_zhcn.yml.
# Make sure the corresponding file exists in the plugin's /lang folder.
locale: "en"
# Set to true to enable debug logging. Useful for troubleshooting.
debug: false
# Set to true to enable bStats metrics, which helps the developer understand how the plugin is used.
# Set to false to disable it.
bstats-metrics: true
# Set to true to enable FastStats metrics for error tracking and analytics.
# Set to false to disable it.
faststats-metrics: true
# Enable or disable automatic update checking.
update-checker: true
# Backup settings
backup:
# Enable automatic backups of player data
enabled: true
# Interval between automatic backups (in minutes)
interval-minutes: 60
# Maximum number of backup files to keep
# Old backups will be automatically deleted when this limit is exceeded
max-backups: 10
# Number of days to keep backups (older backups will be deleted)
retention-days: 7
# Create a backup when the server shuts down
backup-on-shutdown: true
# Database settings
storage:
# Storage type. Options:
# yml - Stores data in YAML files, no external setup needed.
# h2 - (Default & Recommended for single servers) Fast, lightweight, stores data in a single file, no external setup needed.
# mysql - (Recommended for multi-server networks) Requires a separate MySQL server.
type: "h2"
# The table name that will be used in the database.
table_name: "custom_enderchests"
# Periodically auto-save data for online players.
# This helps minimize data loss in case of a server crash.
# Time is in seconds.
auto-save-interval-seconds: 300 # Default is 5 minutes
# Settings for MySQL (only apply if `type` is "mysql")
mysql:
host: "127.0.0.1"
port: 3306
database: "enderchest_db"
username: "user"
password: "password"
# Enable/disable SSL encryption for the connection.
use-ssl: false
# Settings for the Connection Pool (HikariCP).
# These settings optimize database connection performance.
# You generally don't need to change these unless you know what you're doing.
pool-settings:
max-pool-size: 10
min-idle: 5
connection-timeout: 30000 # 30 seconds
# Automatically clean up old user data in MySQL
auto-cleanup:
# Enable/disable the automatic deletion of inactive player data.
enabled: false
# Number of inactive days. Data for players who have been offline for this duration will be deleted.
inactive-days: 90
# Automatically migrate data by player name if their UUID changes (e.g. Crack -> Premium).
# WARNING: Enabling this can allow a cracked player to steal a premium player's items if they change their name.
# It is recommended to leave this false and contact server staff to transfer data manually if needed.
# Only enable this if your server move from offline server to online server or you know what you're doing.
migrate-uuid-by-name: false
# Overflow settings
overflow:
# Expiration timer for overflow items
# If enabled, overflow items that are not claimed will be automatically deleted
expiration:
enabled: false
# Number of days before overflow items expire (default: 30)
days: 30
# How often to check for expired items (in minutes, default: 60)
check-interval-minutes: 60
# Warning shown to players on login if they have overflow items
login-warning:
enabled: true
# Retrieval fees (requires Vault)
# Charge players when they claim overflow items
retrieval-fee:
enabled: false
# Flat fee charged once when claiming any overflow items (default: 0)
flat-fee: 0
# Fee charged per item in overflow (default: 0)
per-item-fee: 0
# Ender Chest gameplay options
enderchest-options:
# Disable opening the custom ender chest by right-clicking an Ender Chest block.
# Useful if you only want players to open the chest via command or players will need
# "CustomEnderChest.block.open" permission to open via block.
# Note: If this option is true, don't set true for `disable-plugin-on-endechest-block` below.
disable-enderchest-click: false
# Disable the plugin's functionality when interacting with an Ender Chest block.
# The block will function as a normal vanilla Ender Chest.
# Useful if you want to reserve the block for vanilla use only.
# Note: If this option is true, don't set true for `disable-enderchest-click` above.
vanilla-enderchest-block: false
# Play the physical lid open/close animation of the Ender Chest block.
# Note: Disabling this prevents the vanilla ender chest sound from playing,
# allowing you to hear ONLY the custom sound configured in the `sounds` section.
play-block-animation: true
# Default settings for players
default-player:
# Enable this to give players a default chest size.
# This allows players to use the Ender Chest block without needing a specific permission.
enabled: true
# The default chest size (number of slots, must be a multiple of 9, max 54).
# 27 equals 3 rows, the same as a vanilla Ender Chest.
# Default permission level is CustomEnderChest.level.3 (27 slots).
size: 27
# Allow players to use /cec, /ec, /customec commands by default.
# If false, players will need "CustomEnderChest.commands" permission to use commands.
allow-command: true
# Sound customization
sounds:
# Disable all plugin sounds if set to `true`.
disable-all: false
# You can find valid sound names here:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# (Use the names from the Enum column)
open:
name: "BLOCK_ENDER_CHEST_OPEN"
volume: 1.0
pitch: 1.0
close:
name: "BLOCK_ENDER_CHEST_CLOSE"
volume: 1.0
pitch: 1.0
fail:
name: "BLOCK_NOTE_BLOCK_PLING"
volume: 1.0
pitch: 0.5
reload:
name: "ENTITY_PLAYER_LEVELUP"
volume: 0.8
pitch: 1.5
Click to view lang/lang_en.yml
# Prefix used for all messages
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>You don't have permission for that.</red>"
no-permission-block-open: "<red>You don't have permission to open the Ender Chest by clicking on it.</red>"
players-only: "<red>This command can only be run by a player.</red>"
reload-success: "<green>Configuration and language files have been reloaded.</green>"
data-still-loading: "<yellow>Your data is still loading, please wait a moment...</yellow>"
data-busy: "<red>Player data is busy. Please try again shortly.</red>"
save-error: "<red>An error occurred while saving data. Please check the console.</red>"
invalid-player: "<red>Invalid player name.</red>"
# Migration messages
migration-data-incompatible: "<yellow>Warning: Your Ender Chest data is incompatible with the new server version (1.21.5+)."
migration-data-cleared: "<yellow>Your Ender Chest has been reset due to incompatibility. Old data is still preserved in the database."
migration-contact-admin: "<gray>Please contact an admin if you need item recovery."
data-migrated: "<green>Your enderchest data has been migrated to your new account."
# Overflow messages
overflow-items-saved: "<yellow>⚠ Some items beyond your permission have been saved to overflow storage."
overflow-will-restore: "<gray>They will be automatically restored when you upgrade your Ender Chest or using /ec overflow."
overflow-items-restored: "<green>✓ Restored <count> items from overflow storage!"
overflow-login-warning: "<yellow>⚠ You have <count> item(s) in overflow storage. Use <command> to claim them."
overflow-login-warning-expiring: "<yellow>⚠ You have <count> item(s) in overflow that will expire in <days> day(s)! Use <command> to claim them."
overflow-expired: "<red>Your overflow items (<count> item(s)) have expired and been removed."
overflow-fee-charged: "<yellow>Charged <amount> for retrieving <count> overflow item(s)."
overflow-fee-insufficient: "<red>You need at least <amount> to retrieve your overflow items. Balance: <balance>"
overflow-fee-no-vault: "<red>Economy plugin (Vault) not found. Retrieval fees disabled."
command:
usage: "<red>Usage: <gray>/<label> <usage>"
player-not-found: "<red>Player '<player>' not found or has no data."
delete-usage: "<red>Usage: <gray>/<label> delete <player>"
delete-success: "<green>Successfully deleted Ender Chest data for <white><player></white>."
loading-chest: "<yellow>Loading <white><player>'s</white> Ender Chest..."
import-usage: "<red>Usage: <gray>/<label> import <vanilla>"
import-invalid-type: "<red>Invalid import type. Use: <gray>vanilla"
migrate-usage: "<yellow>Usage: <gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>Example: /<label> migrate yml mysql"
migrate-running: "<red>Another migration process is currently running. Please wait!"
migrate-same-type: "<red>Source and target formats cannot be the same."
migrate-init: "<yellow>Initializing database connection..."
migrate-conn-source-err: "<red>Error connecting to source format. Migration cancelled."
migrate-conn-target-err: "<red>Error connecting to target format. Migration cancelled."
migrate-start: "<yellow>Starting data migration from <source> to <target>..."
migrate-no-data: "<red>No data found to migrate."
migrate-success: "<green>Data migration complete! Success: <success>/<total>, Failed: <failed>"
migrate-note: "<yellow>⚠ Note: <white>To use the migrated data, stop the server, update the storage type in config.yml, then start the server again."
migrate-error-unknown: "<red>An unknown error occurred during migration. Check Console for details."
migrate-in-progress: "<red>System is undergoing data maintenance (migration), you cannot open the chest right now!"
overflow-title: "<dark_purple><player>'s Overflow"
overflow-admin-title: "<dark_red>Admin Overflow: <white><player>"
overflow-empty: "<green>You have no items in overflow storage."
overflow-admin-empty: "<green><player> has no items in overflow storage."
overflow-no-enderchest: "<red>You need an Ender Chest to claim overflow items."
overflow-claimed: "<green>✓ Claimed <count> item(s) from overflow!"
overflow-enderchest-full: "<yellow>Your inventory is full. Remaining items stay in overflow."
overflow-claim-failed: "<red>Failed to claim overflow items. Please try again."
titles:
enderchest: "<level> - <light_purple><player>'s Chest"
admin_view: "<dark_red>Admin View: <white><player>"
levels:
'0': "&fLevel 1" # 1 row (9 slots)
'1': "&aLevel 2" # 2 rows (18 slots)
'2': "&bLevel 3" # 3 rows (27 slots)
'3': "&eLevel 4" # 4 rows (36 slots)
'4': "&6Level 5" # 5 rows (45 slots)
'5': "&d&lLevel 6" # 6 rows (54 slots)
import:
started: "<green>Starting vanilla ender chest import for all players (online + offline)..."
complete: "<green>Import complete! <white><imported></white> imported, <white><skipped></white> skipped, <white><failed></white> failed."
failed-details: "<red>Failed players: <players>"
nbtapi-missing: "<red>NBTAPI plugin is required for this command. Please install NBTAPI on your server."
Click to view lang/lang_vi.yml
# File Ngôn ngữ Tiếng Việt cho CustomEnderChest
# Prefix dùng cho tất cả messages
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>Rương Ender</gradient>]</gray> "
messages:
no-permission: "<red>Bạn không có quyền để làm điều này.</red>"
no-permission-block-open: "<red>Bạn không có quyền để mở rương Ender.</red>"
players-only: "<red>Lệnh này chỉ có thể được thực thi bởi người chơi.</red>"
reload-success: "<green>Đã tải lại tệp cấu hình và ngôn ngữ.</green>"
data-still-loading: "<yellow>Dữ liệu của bạn đang được tải, vui lòng chờ trong giây lát...</yellow>"
data-busy: "<red>Dữ liệu người chơi hiện đang bận. Vui lòng thử lại sau giây lát.</red>"
save-error: "<red>Đã xảy ra lỗi khi lưu dữ liệu. Vui lòng kiểm tra console.</red>"
invalid-player: "<red>Tên người chơi không hợp lệ.</red>"
# Migration messages
migration-data-incompatible: "<yellow>Cảnh báo: Dữ liệu Rương Ender của bạn không tương thích với phiên bản server mới (1.21.5+)."
migration-data-cleared: "<yellow>Rương Ender của bạn đã bị reset do không tương thích. Dữ liệu cũ vẫn được lưu trong database."
migration-contact-admin: "<gray>Vui lòng liên hệ admin nếu cần khôi phục vật phẩm."
data-migrated: "<green>Dữ liệu rương ender của bạn đã được chuyển sang tài khoản mới."
# Overflow messages
overflow-items-saved: "<yellow>⚠ Một số vật phẩm vượt quyền hạn đã được lưu vào kho dự phòng."
overflow-will-restore: "<gray>Chúng sẽ tự động được khôi phục khi bạn nâng cấp Rương Ender hoặc /ec overflow"
overflow-items-restored: "<green>✓ Đã khôi phục <count> vật phẩm từ kho dự phòng!"
overflow-login-warning: "<yellow>⚠ Bạn có <count> vật phẩm trong kho dự phòng. Dùng <command> để nhận."
overflow-login-warning-expiring: "<yellow>⚠ Bạn có <count> vật phẩm trong kho dự phòng sẽ hết hạn sau <days> ngày! Dùng <command> để nhận."
overflow-expired: "<red>Vật phẩm dự phòng (<count> vật phẩm) đã hết hạn và bị xóa."
overflow-fee-charged: "<yellow>Đã trừ <amount> khi nhận <count> vật phẩm dự phòng."
overflow-fee-insufficient: "<red>Bạn cần ít nhất <amount> để nhận vật phẩm dự phòng. Số dư: <balance>"
overflow-fee-no-vault: "<red>Không tìm thấy plugin kinh tế (Vault). Phí nhận vật phẩm đã tắt."
command:
usage: "<red>Sử dụng: <gray>/<label> <usage>"
player-not-found: "<red>Không tìm thấy người chơi '<player>' hoặc họ chưa có dữ liệu."
delete-usage: "<red>Sử dụng: <gray>/<label> delete <tên_người_chơi>"
delete-success: "<green>Đã xóa thành công dữ liệu Rương Ender của <white><player></white>."
loading-chest: "<yellow>Đang tải Rương Ender của <white><player></white>..."
import-usage: "<red>Sử dụng: <gray>/<label> import <vanilla>"
import-invalid-type: "<red>Loại import không hợp lệ. Sử dụng: <gray>vanilla"
migrate-usage: "<yellow>Sử dụng: <gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>Ví dụ: /<label> migrate yml mysql"
migrate-running: "<red>Một tiến trình migrate khác đang diễn ra. Vui lòng đợi!"
migrate-same-type: "<red>Định dạng nguồn và đích không được giống nhau."
migrate-init: "<yellow>Đang khởi tạo kết nối database..."
migrate-conn-source-err: "<red>Lỗi kết nối định dạng nguồn. Migrate bị huỷ."
migrate-conn-target-err: "<red>Lỗi kết nối định dạng đích. Migrate bị huỷ."
migrate-start: "<yellow>Bắt đầu chuyển dữ liệu từ <source> sang <target>..."
migrate-no-data: "<red>Không tìm thấy dữ liệu nào để chuyển đổi."
migrate-success: "<green>Chuyển dữ liệu hoàn tất! Thành công: <success>/<total>, Lỗi: <failed>"
migrate-note: "<yellow>⚠ Lưu ý: <white>Sau khi chuyển đổi dữ liệu và muốn sử dụng dữ liệu đó thì hãy tắt máy chủ và chỉnh thông tin trong file config.yml rồi mở máy chủ để sử dụng."
migrate-error-unknown: "<red>Đã xảy ra lỗi không xác định lúc chuyển dữ liệu. Xem Console để biết chi tiết."
migrate-in-progress: "<red>Hệ thống đang bảo trì dữ liệu (migrate), không thể mở rương ngay lúc này!"
overflow-title: "<dark_purple>Rương dự phòng của <player>"
overflow-admin-title: "<dark_red>Admin Xem: <white><player> <dark_red>Dự phòng"
overflow-empty: "<green>Bạn không có vật phẩm nào trong kho dự phòng."
overflow-admin-empty: "<green><player> không có vật phẩm trong kho dự phòng."
overflow-no-enderchest: "<red>Bạn cần Rương Ender để nhận vật phẩm dự phòng."
overflow-claimed: "<green>✓ Đã nhận <count> vật phẩm từ kho dự phòng!"
overflow-enderchest-full: "<yellow>Hành trang của bạn đã đầy. Vật phẩm còn lại vẫn ở kho dự phòng."
overflow-claim-failed: "<red>Nhận vật phẩm dự phòng thất bại. Vui lòng thử lại."
titles:
enderchest: "<level> - <light_purple>Rương của <player>"
admin_view: "<dark_red>Admin Xem: <white><player>"
# Tên cấp độ được dùng trong biến <level>
levels:
'0': "&fCấp 1" # 1 hàng (9 ô)
'1': "&aCấp 2" # 2 hàng (18 ô)
'2': "&bCấp 3" # 3 hàng (27 ô)
'3': "&eCấp 4" # 4 hàng (36 ô)
'4': "&6Cấp 5" # 5 hàng (45 ô)
'5': "&d&lCấp 6" # 6 hàng (54 ô)
import:
started: "<green>Bắt đầu chuyển dữ liệu vanilla sang plugin cho tất cả người chơi trực tuyến..."
complete: "<green>Chuyển hoàn tất! Đã chuyển cho <white><imported></white> người chơi, bỏ qua <white><skipped></white>."
nbtapi-missing: "<red>Cần cài đặt plugin NBTAPI để sử dụng lệnh này. Vui lòng cài đặt NBTAPI trên server."
Click to view lang/lang_nl.yml
# Prefix dat voor alle berichten wordt gebruikt
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>Je hebt daar geen toestemming voor.</red>"
no-permission-block-open: "<red>You don't have permission to open the Ender Chest by clicking on it.</red>"
players-only: "<red>Dit commando kan alleen door een speler worden uitgevoerd.</red>"
reload-success: "<green>Configuratie- en taal bestanden zijn opnieuw geladen.</green>"
data-still-loading: "<yellow>Je gegevens worden nog geladen, even geduld a.u.b...</yellow>"
data-busy: "<red>Spelerdata is bezig. Probeer het binnenkort opnieuw.</red>"
save-error: "<red>Er is een fout opgetreden tijdens het opslaan van gegevens. Controleer de console.</red>"
invalid-player: "<red>Ongeldige spelersnaam.</red>"
# Migratie berichten
migration-data-incompatible: "<yellow>Waarschuwing: je Ender Chest data is niet compatibel met de nieuwe serverversie (1.21.5+)."
migration-data-cleared: "<yellow>Je Ender Chest is gereset vanwege incompatibiliteit. Oude gegevens zijn nog steeds bewaard in de database."
migration-contact-admin: "<gray>Neem contact op met een admin als je de items wilt herstellen."
data-migrated: "<green>Your enderchest data has been migrated to your new account."
# Overflow berichten
overflow-items-saved: "<yellow>⚠ Sommige items die buiten uw toestemming vallen, zijn opgeslagen in de overflow-opslag."
overflow-will-restore: "<gray>Ze worden automatisch hersteld wanneer je je Ender Chest upgradet."
overflow-items-restored: "<green>✓ <count> Items uit de overflow-opslag hersteld!"
overflow-login-warning: "<yellow>⚠ Je hebt <count> item(s) in overflow-opslag. Gebruik <command> om ze op te halen."
overflow-login-warning-expiring: "<yellow>⚠ Je hebt <count> item(s) in overflow die over <days> dag(en) verlopen! Gebruik <command> om ze op te halen."
overflow-expired: "<red>Je overflow items (<count> item(s)) zijn verlopen en verwijderd."
overflow-fee-charged: "<yellow><amount> in rekening gebracht voor het ophalen van <count> overflow item(s)."
overflow-fee-insufficient: "<red>Je hebt minstens <amount> nodig om je overflow items op te halen. Saldo: <balance>"
overflow-fee-no-vault: "<red>Economie plugin (Vault) niet gevonden. Ophaal kosten uitgeschakeld."
command:
usage: "<red>Gebruik: <gray>/<label> <usage>"
player-not-found: "<red>Speler '<player>' niet gevonden of heeft geen gegevens."
delete-usage: "<red>Gebruik: <gray>/<label> delete <player>"
delete-success: "<green>Succesvol de Ender Chest van <white><player></white> verwijderd."
loading-chest: "<yellow>Ender Chest van <white><player></white> wordt geladen..."
import-usage: "<red>Usage: <gray>/<label> import <vanilla>"
import-invalid-type: "<red>Invalid import type. Use: <gray>vanilla"
migrate-usage: "<yellow>Usage: <gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>Example: /<label> migrate yml mysql"
migrate-running: "<red>Another migration process is currently running. Please wait!"
migrate-same-type: "<red>Source and target formats cannot be the same."
migrate-init: "<yellow>Initializing database connection..."
migrate-conn-source-err: "<red>Error connecting to source format. Migration cancelled."
migrate-conn-target-err: "<red>Error connecting to target format. Migration cancelled."
migrate-start: "<yellow>Starting data migration from <source> to <target>..."
migrate-no-data: "<red>No data found to migrate."
migrate-success: "<green>Data migration complete! Success: <success>/<total>, Failed: <failed>"
migrate-note: "<yellow>⚠ Note: <white>To use the migrated data, stop the server, update the storage type in config.yml, then start the server again."
migrate-error-unknown: "<red>An unknown error occurred during migration. Check Console for details."
migrate-in-progress: "<red>System is undergoing data maintenance (migration), you cannot open the chest right now!"
overflow-title: "<dark_purple><player>'s Overflow"
overflow-admin-title: "<dark_red>Admin Overflow: <white><player>"
overflow-empty: "<green>Je hebt geen items in de overflow-opslag."
overflow-admin-empty: "<green><player> heeft geen items in de overflow-opslag."
overflow-no-enderchest: "<red>Je hebt een Ender Chest nodig om overflow items op te halen."
overflow-claimed: "<green>✓ <count> item(s) uit overflow opgehaald!"
overflow-enderchest-full: "<yellow>Je inventaris is vol. Resterende items blijven in de overflow-opslag."
overflow-claim-failed: "<red>Ophalen van overflow items mislukt. Probeer het opnieuw."
titles:
enderchest: "<level> - <light_purple><player>'s Kist"
admin_view: "<dark_red>Admin Overzicht: <white><player>"
levels:
'0': "&fLevel 1" # 1 rij (9 slots)
'1': "&aLevel 2" # 2 rij (18 slots)
'2': "&bLevel 3" # 3 rij (27 slots)
'3': "&eLevel 4" # 4 rij (36 slots)
'4': "&6Level 5" # 5 rij (45 slots)
'5': "&d&lLevel 6" # 6 rij (54 slots)
import:
started: "<green>Starting vanilla ender chest import for all online players..."
complete: "<green>Import complete! <white><imported></white> players imported, <white><skipped></white> skipped."
nbtapi-missing: "<red>NBTAPI plugin is vereist voor dit commando. Installeer NBTAPI op je server."
Click to view lang/lang_zhcn.yml
# 所有消息的前缀
prefix: "<gray>[<gradient:#C0FFEE:#B4D0FF>EnderChest</gradient>]</gray> "
messages:
no-permission: "<red>你没有权限使用这个。</red>"
no-permission-block-open: "<red>You don't have permission to open the Ender Chest by clicking on it.</red>"
players-only: "<red>该命令只能由玩家执行。</red>"
reload-success: "<green>配置与语言文件重载完毕。</green>"
data-still-loading: "<yellow>数据仍在载入,请稍候...</yellow>"
data-busy: "<red>玩家数据库繁忙,请稍后再试。</red>"
save-error: "<red>保存数据时出错,请检查控制台。</red>"
invalid-player: "<red>玩家名称无效。</red>"
# 迁移相关消息
migration-data-incompatible: "<yellow>警告:末影箱数据与新服务器版本(1.21.5+)不兼容。"
migration-data-cleared: "<yellow>出于兼容性考虑,你的末影箱数据已被重置。旧数据仍然保留在数据库中。"
migration-contact-admin: "<gray>若需要恢复丢失的物品,请联系管理员。"
data-migrated: "<green>Your enderchest data has been migrated to your new account."
# 溢出相关消息
overflow-items-saved: "<yellow>⚠ 部分当前权限不能存取的物品已转移到溢出仓库。"
overflow-will-restore: "<gray>升级末影箱后会自动回到普通仓库中。or /ec overflow "
overflow-items-restored: "<green>✓ 成功从溢出仓库中取回了 <count> 个物品!"
overflow-login-warning: "<yellow>⚠ 你有 <count> 个物品在溢出仓库中。使用 <command> 来领取。"
overflow-login-warning-expiring: "<yellow>⚠ 你有 <count> 个溢出物品将在 <days> 天后过期!使用 <command> 来领取。"
overflow-expired: "<red>你的溢出物品(<count> 个)已过期并被删除。"
overflow-fee-charged: "<yellow>领取 <count> 个溢出物品已扣除 <amount>。"
overflow-fee-insufficient: "<red>你需要至少 <amount> 来领取溢出物品。余额:<balance>"
overflow-fee-no-vault: "<red>未找到经济插件(Vault)。领取费用已禁用。"
command:
usage: "<red>命令用法:<gray>/<label> <usage>"
player-not-found: "<red>玩家 '<player>' 未找到或没有数据。"
delete-usage: "<red>命令用法:<gray>/<label> delete <player>"
delete-success: "<green>成功删除了玩家 <white><player></white> 的末影箱数据。"
loading-chest: "<yellow>正在载入 <white><player> 的</white> 末影箱..."
import-usage: "<red>Usage: <gray>/<label> import <vanilla>"
import-invalid-type: "<red>Invalid import type. Use: <gray>vanilla"
migrate-usage: "<yellow>Usage: <gray>/<label> migrate <yml|h2|mysql> <yml|h2|mysql>"
migrate-example: "<gray>Example: /<label> migrate yml mysql"
migrate-running: "<red>Another migration process is currently running. Please wait!"
migrate-same-type: "<red>Source and target formats cannot be the same."
migrate-init: "<yellow>Initializing database connection..."
migrate-conn-source-err: "<red>Error connecting to source format. Migration cancelled."
migrate-conn-target-err: "<red>Error connecting to target format. Migration cancelled."
migrate-start: "<yellow>Starting data migration from <source> to <target>..."
migrate-no-data: "<red>No data found to migrate."
migrate-success: "<green>Data migration complete! Success: <success>/<total>, Failed: <failed>"
migrate-note: "<yellow>⚠ 注意:<white>迁移完成后,请关闭服务器,在 config.yml 中修改存储类型,然后重新启动服务器以使用迁移后的数据。"
migrate-error-unknown: "<red>An unknown error occurred during migration. Check Console for details."
migrate-in-progress: "<red>System is undergoing data maintenance (migration), you cannot open the chest right now!"
overflow-title: "<dark_purple><player> 的溢出仓库"
overflow-admin-title: "<dark_red>管理员浏览:<white><player> <dark_red>溢出仓库"
overflow-empty: "<green>你的溢出仓库中没有物品。"
overflow-admin-empty: "<green><player> 的溢出仓库中没有物品。"
overflow-no-enderchest: "<red>你需要末影箱来领取溢出物品。"
overflow-claimed: "<green>✓ 成功领取了 <count> 个溢出物品!"
overflow-enderchest-full: "<yellow>你的背包已满。剩余物品仍在溢出仓库中。"
overflow-claim-failed: "<red>领取溢出物品失败,请重试。"
titles:
enderchest: "<level> - <light_purple><player> 的箱子"
admin_view: "<dark_red>管理员浏览:<white><player>"
levels:
'0': "&f一阶" # 1 行(9 格)
'1': "&a二阶" # 2 行(18 格)
'2': "&b三阶" # 3 行(27 格)
'3': "&e四阶" # 4 行(36 格)
'4': "&6五阶" # 5 行(45 格)
'5': "&d&l六阶" # 6 行(54 格)
import:
started: "<green>Starting vanilla ender chest import for all online players..."
complete: "<green>Import complete! <white><imported></white> players imported, <white><skipped></white> skipped."
nbtapi-missing: "<red>NBTAPI plugin is required for this command. Please install NBTAPI on your server."
Installation
- Download the latest version.
- Place the
.jar file into your server's plugins folder.
- Start your server to generate the default configuration files.
- Stop the server, edit
config.yml and lang/lang_en.yml to your liking.
- Start your server again. Done!
Support
If you have any questions or need support, please use the discussion thread or join our Discord:
评论 0
登录后参与评分
还没有评论,来抢沙发吧