Chorus EnderChest
适用于 Paper 26.2 的高级、多页且完全可定制的末影箱。
默认情况下所有内容均为紫色,所有消息和菜单均可编辑,且支持全范围的十六进制颜色。
由 Controll3r24 制作。
功能
- 基于权限的大小设置:每位玩家拥有 1 到 6 行。
- 多页支持:为玩家提供多个末影箱页面,配有整洁的页面菜单以及导航栏(上一页 / 菜单 / 下一页)。
- 重命名页面并选择图标:玩家可以自定义页面名称和菜单图标。
- 全范围颜色支持:支持
	D4EDD、#9D4EDD、<#9D4EDD>、&x&9&D&4&E&D&D、经典 & 代码,以及 <gradient:#9D4EDD:#C77DFF> 和 <rainbow>。
- 所有消息均可编辑:在
messages.yml 中编辑所有消息,在 config.yml 中编辑所有菜单标题、物品、材质、槽位、描述和音效。
- 物品黑名单:支持按材质、名称和描述进行过滤。
- 管理工具:打开、编辑或清空任何玩家的末影箱,包括之前登录过的离线玩家。
- 安全保存:原子文件写入、自动备份前一版本、异步保存、自动保存,以及损坏文件恢复(通过还原备份)。
- 防复制设计:每个页面在内存中仅存在一份,因此所有者和管理员查看同一页面时共享同一个库存。
- 智能交互:原版末影箱方块仅在右键点击时打开自定义 GUI(左键点击仍会破坏它),手持物品时潜行仍可放置方块。
- 可配置的限制:禁用世界、创造模式拦截、打开冷却时间。
- 权限变更不丢失物品:如果玩家失去行数,其物品仍会保留存储,并在行数恢复时重新出现。
要求
- Paper 26.2(或更新的 26.x 构建版)
- Java 25
安装
- 将
ChorusEnderChest-1.0.0.jar 放入你的 plugins 文件夹。
- 启动服务器。
- 编辑
plugins/ChorusEnderChest/config.yml 和 messages.yml,然后运行 /ec reload。
命令
别名:/ec、/echest、/enderchest
| 命令 |
描述 |
/ec |
打开你的末影箱(如果有多个页面则打开页面菜单) |
/ec <page> |
打开特定页面 |
/ec menu |
打开页面菜单 |
/ec rename <page> <name|reset> |
重命名页面 |
/ec icon <page> [reset] |
使用手中的物品作为页面图标 |
/ec open <player> [page] |
打开其他玩家的末影箱 |
/ec clear <player> [page|all] |
清空末影箱 |
/ec reload |
重载 config.yml 和 messages.yml |
权限
| 权限 |
描述 |
默认值 |
chorusenderchest.use |
打开自己的末影箱 |
所有人 |
chorusenderchest.customize |
重命名页面并更改图标 |
所有人 |
chorusenderchest.rename.color |
在页面名称中使用颜色 |
op |
chorusenderchest.rows.<1-6> |
行数数量 |
无(参见 defaults.rows) |
chorusenderchest.pages.<1-N> |
页面数量(N = settings.max-pages) |
无(参见 defaults.pages) |
chorusenderchest.admin.open |
打开其他玩家的末影箱 |
op |
chorusenderchest.admin.edit |
编辑其他玩家的末影箱(否则仅为只读) |
op |
chorusenderchest.admin.clear |
使用 /ec clear |
op |
chorusenderchest.admin.reload |
使用 /ec reload |
op |
chorusenderchest.bypass.cooldown |
忽略打开冷却时间 |
op |
chorusenderchest.bypass.world |
忽略禁用的世界 |
op |
chorusenderchest.bypass.gamemode |
忽略创造模式限制 |
op |
chorusenderchest.bypass.blacklist |
存储黑名单中的物品 |
op |
chorusenderchest.* |
所有权限 |
op |
操作员自动获得所有 rows 和 pages 权限。请使用权限插件(例如 LuckPerms)并使用非 op 账号进行测试。
当玩家拥有多个页面时,导航栏使用库存的最后一行,因此这些玩家每页最多拥有 5 个存储行。设置 page.nav-row.enabled 为 false 以禁用它。
配置亮点
settings:
override-vanilla-block: true
sneak-bypass: true
allow-creative: true
disabled-worlds: []
cooldown-seconds: 0
autosave-seconds: 300
keep-backups: true
max-pages: 9
defaults:
rows: 3
pages: 1
blacklist:
materials: []
name-contains: []
lore-contains: []
标题、菜单和消息中可用的占位符用花括号表示,例如 {page}、{name}、{player}、{items}、{slots}、{target}、{max}、{seconds}、{item}。
数据
玩家数据存储在 plugins/ChorusEnderChest/data/<uuid>.yml 中。每次保存都会将前一版本保留为 <uuid>.yml.bak。
支持
发现错误或有任何想法?在项目页面上提交 Issue。
Chorus EnderChest
Advanced, multi-page and fully customizable EnderChest for Paper 26.2.
Everything is purple by default, every message and menu is editable, and hex colors work everywhere.
By Controll3r24.
Features
- Permission-based size: 1 to 6 rows per player.
- Multiple pages: give players several EnderChest pages, with a clean page menu and a navigation row (previous / menu / next).
- Rename pages and pick icons: players choose their own page names and menu icons.
- Hex colors everywhere:
	D4EDD, #9D4EDD, <#9D4EDD>, &x&9&D&4&E&D&D, classic & codes, plus <gradient:#9D4EDD:#C77DFF> and <rainbow>.
- Every message is editable in
messages.yml, every menu title, item, material, slot, lore and sound in config.yml.
- Item blacklist by material, name and lore.
- Admin tools: open, edit or clear any player's EnderChest, even offline players who joined before.
- Safe saving: atomic file writes, automatic backup of the previous version, async saving, autosave, and a corrupt-file recovery that restores the backup.
- Anti-dupe design: each page exists only once in memory, so an owner and an admin looking at the same page share the very same inventory.
- Smart interaction: the vanilla Ender Chest block opens the custom GUI with right click only (left click still breaks it), and sneaking with an item in hand still lets you place blocks.
- Configurable restrictions: disabled worlds, creative mode block, open cooldown.
- No items lost when permissions change: if a player loses rows, their items stay stored and come back when the rows return.
Requirements
- Paper 26.2 (or newer 26.x builds)
- Java 25
Installation
- Put
ChorusEnderChest-1.0.0.jar in your plugins folder.
- Start the server.
- Edit
plugins/ChorusEnderChest/config.yml and messages.yml, then run /ec reload.
Commands
Aliases: /ec, /echest, /enderchest
| Command |
Description |
/ec |
Open your EnderChest (page menu if you have several pages) |
/ec <page> |
Open a specific page |
/ec menu |
Open the page menu |
/ec rename <page> <name|reset> |
Rename a page |
/ec icon <page> [reset] |
Use the item in your hand as the page icon |
/ec open <player> [page] |
Open another player's EnderChest |
/ec clear <player> [page|all] |
Clear an EnderChest |
/ec reload |
Reload config.yml and messages.yml |
Permissions
| Permission |
Description |
Default |
chorusenderchest.use |
Open your own EnderChest |
everyone |
chorusenderchest.customize |
Rename pages and change icons |
everyone |
chorusenderchest.rename.color |
Use colors in page names |
op |
chorusenderchest.rows.<1-6> |
Number of rows |
none (see defaults.rows) |
chorusenderchest.pages.<1-N> |
Number of pages (N = settings.max-pages) |
none (see defaults.pages) |
chorusenderchest.admin.open |
Open other players' EnderChests |
op |
chorusenderchest.admin.edit |
Edit other players' EnderChests (otherwise view only) |
op |
chorusenderchest.admin.clear |
Use /ec clear |
op |
chorusenderchest.admin.reload |
Use /ec reload |
op |
chorusenderchest.bypass.cooldown |
Ignore the open cooldown |
op |
chorusenderchest.bypass.world |
Ignore disabled worlds |
op |
chorusenderchest.bypass.gamemode |
Ignore the creative restriction |
op |
chorusenderchest.bypass.blacklist |
Store blacklisted items |
op |
chorusenderchest.* |
Everything |
op |
Operators automatically get every rows and pages permission. Use a permissions plugin (for example LuckPerms) and test with a non-op account.
When a player has more than one page, the navigation row uses the last row of the inventory, so those players get at most 5 storage rows per page. Set page.nav-row.enabled to false to disable it.
Configuration highlights
settings:
override-vanilla-block: true
sneak-bypass: true
allow-creative: true
disabled-worlds: []
cooldown-seconds: 0
autosave-seconds: 300
keep-backups: true
max-pages: 9
defaults:
rows: 3
pages: 1
blacklist:
materials: []
name-contains: []
lore-contains: []
Placeholders available in titles, menus and messages are written in curly braces, for example {page}, {name}, {player}, {items}, {slots}, {target}, {max}, {seconds}, {item}.
Data
Player data lives in plugins/ChorusEnderChest/data/<uuid>.yml. Each save keeps the previous version as <uuid>.yml.bak.
Support
Found a bug or have an idea? Open an issue on the project page.
评论 0
登录后参与评分
还没有评论,来抢沙发吧