在 Folia 上的任意位置打开你的末影箱。本插件管理命令、权限、容量以及首次登录提示。无需其他插件支持。
观看 YouTube 上的 Ender Link 演示视频。
使用 /enderlink 命令或 Ender Link Client 提供的库存按钮。两者均无需携带末影箱物品。
安装
需要 Folia 26.2 和 Java 25。将插件 jar 文件放入服务器的 plugins 文件夹并重启服务器。
命令与权限
| 命令 |
权限 |
默认设置 |
/enderlink |
enderlink.open |
所有人 |
/enderlink reload |
enderlink.reload |
操作员、控制台和 RCON |
/enderlink size <player> |
enderlink.size.query |
操作员 |
/enderlink size <player> <27|36|45|54> |
enderlink.size |
控制台和 RCON;玩家需显式授予该权限 |
目标玩家必须在线。enderlink.size 包含查询权限。
首次登录和物品交互提示中包含一个可点击的 [Open] 按钮。悬停时显示 /enderlink。右键点击方块时按住潜行键仍可放置手中的末影箱。
消息遵循玩家当前的客户端语言。内置英文 (en_us) 和简体中文 (zh_cn)。其他语言、控制台和 RCON 默认使用英文。
启动时会创建 plugins/enderlink/lang/en_us.properties 和 zh_cn.properties,且不会覆盖现有文件。请以 UTF-8 格式编辑它们,保留 {0} 和 {1} 等占位符,然后运行 /enderlink reload。缺失的键将使用内置消息;缺失的文件会被重新创建。如果读取或验证任一文件失败,所有当前消息保持激活状态。启动时若文件无效,则保留内置消息。重载仅更新语言文件;替换插件 jar 仍需重启服务器。
存储
物品仍保存在原版 EnderItems 中。容量存储在 enderlink:ender_chest_size 中。旧的 conflux:ender_chest_size 键会在登录时被迁移并移除,无需旧版插件支持。不会创建数据库或复制库存。
当箱子处于打开状态,或缩小容量会导致物品丢失时,容量更改将被拒绝。保存失败会恢复之前的容量。如果无法确认存储完整性,服务器将关闭。
打开箱子会触发原版的 Bukkit InventoryOpenEvent,允许其他插件限制访问。
在移除插件前,请清空所有额外槽位并将每个扩展的箱子恢复为 27 格。已迁移的数据无法直接降级到仅识别旧版容量键的版本。不支持热卸载。
客户端协议
enderlink:open_v1 接受空载荷。服务器在检查连接、生命状态、游戏模式、权限、菜单和光标后,仅打开发送者的箱子。
客户端使用注册的服务器频道;无需额外的握手或能力缓存。
许可证
版权所有 (C) 2026 PluginsKers。
项目代码采用 AGPL-3.0-only 许可,并附带 Minecraft 服务器链接权限。有关该权限及第三方通知,请参阅 NOTICE。
徽标和横幅使用了 Mojang Studios 的原版 Minecraft 艺术素材,不受此许可证约束。

Open your ender chest anywhere on Folia. The plugin manages commands, permissions, capacity, and first-login hints. No other plugin is required.
Watch the Ender Link demo on YouTube.
Use /enderlink or the inventory button provided by Ender Link Client. Neither requires carrying an ender chest item.
Installation
Requires Folia 26.2 and Java 25. Place the plugin jar in the server's plugins folder and restart.
Commands and permissions
| Command |
Permission |
Default |
/enderlink |
enderlink.open |
Everyone |
/enderlink reload |
enderlink.reload |
Operators, console, and RCON |
/enderlink size <player> |
enderlink.size.query |
Operators |
/enderlink size <player> <27|36|45|54> |
enderlink.size |
Console and RCON; players need an explicit grant |
The target player must be online. enderlink.size includes query permission.
First-login and item-interaction hints include a clickable [Open] button. Hovering shows /enderlink. Sneaking while right-clicking a block still places the held ender chest.
Messages follow the player's current client language. English (en_us) and Simplified Chinese (zh_cn) are included. Other languages, the console, and RCON use English.
Startup creates plugins/enderlink/lang/en_us.properties and zh_cn.properties without overwriting existing files. Edit them as UTF-8, keep placeholders such as {0} and {1}, then run /enderlink reload. Missing keys use bundled messages; missing files are recreated. If reading or validating either file fails, all current messages stay active. Invalid files at startup leave bundled messages active. Reload only updates language files; replacing the plugin jar still requires a server restart.
Storage
Items remain in vanilla EnderItems. Capacity is stored in enderlink:ender_chest_size. The legacy conflux:ender_chest_size key is migrated and removed on login without requiring the old plugin. No database or inventory copy is created.
Capacity changes are rejected while the chest is open or if shrinking would discard items. Failed saves restore the previous capacity. The server shuts down if storage integrity cannot be confirmed.
Opening a chest fires the native Bukkit InventoryOpenEvent, allowing other plugins to restrict access.
Before removing the plugin, empty all extra slots and restore every expanded chest to 27 slots. Migrated data cannot be downgraded directly to versions that only recognize the legacy capacity key. Hot unloading is not supported.
Client protocol
enderlink:open_v1 accepts an empty payload. The server opens only the sender's chest after checking connection, life state, game mode, permission, menu, and cursor.
The client uses the registered server channel; no additional handshake or capability cache is needed.
License
Copyright (C) 2026 PluginsKers.
Project code is licensed under AGPL-3.0-only, with a Minecraft server linking permission. See NOTICE for that permission and third-party notices.
The logo and banner use vanilla Minecraft artwork by Mojang Studios and are not covered by this license.

评论 0
登录后参与评分
还没有评论,来抢沙发吧