
SwiftEC 是一款专为 Paper 1.21.1+ 和 Java 21 打造的高性能、轻量级 Paper 插件。它允许服务器管理员通过一个简单的权限节点,无缝控制玩家的末影箱容量。
与需要数据库设置或繁重后台保存任务的复杂存储插件不同,SwiftEC 直接挂钩到 Paper 原生的库存事件,并利用 Bukkit PersistentDataContainer (PDC)。这保证了零性能影响、即时加载,并 100% 保留现代 1.20.5+ 的物品组件特性。
技术规格与要求
| 要求 |
支持目标 |
详情 |
| 服务器平台 |
Paper 1.21.1+ |
兼容 Paper 及其分支(Purpur, Folia) |
| Java 环境 |
Java 21+ |
需要原生 Java 21 运行时 |
| 硬依赖项 |
无 |
独立插件(无需 Vault, ProtocolLib 等) |
| 配置 |
无 |
纯权限驱动(无需任何设置) |
功能与机制
- 动态扩展: 拥有相应权限的玩家可获得完整的 54 格(6 行)末影箱访问权限。
- 安全的物品访问: 如果玩家失去了扩展权限,他们在第 27–53 格的物品永远不会被删除。他们可以随时打开扩展后的箱子取出物品。
- 智能自动收缩: 当没有权限的玩家完全清空了第 27–53 格后,箱子会自动恢复为标准 27 格的原版末影箱大小。
- 严格限制系统: 没有权限的玩家无法放置、Shift 点击或将新物品拖入第 27–53 格。
- 完整的数据完整性: 采用现代物品序列化构建,可安全持久化自定义 NBT、组件、描述、附魔和自定义名称,确保跨服务器重启数据不丢失。
权限
所有功能均基于以下权限节点自动运行:
| 权限 |
默认值 |
描述 |
swiftec.expand |
op |
授予对扩展的 54 格(6 行)末影箱的访问权限 |
注意:SwiftEC 不需要任何命令或配置文件。

SwiftEC is a high-performance, lightweight Paper plugin built specifically for Paper 1.21.1+ and Java 21. It gives server administrators seamless control over player Ender Chest capacities using a simple permission node.
Unlike complex storage plugins that require database setups or heavy background save tasks, SwiftEC hooks directly into native Paper inventory events and utilizes the Bukkit PersistentDataContainer (PDC). This guarantees zero performance impact, instant loading, and 100% preservation of modern 1.20.5+ item components.
Technical Specifications & Requirements
| Requirement |
Supported Target |
Details |
| Server Platform |
Paper 1.21.1+ |
Compatible with Paper and forks (Purpur, Folia) |
| Java Environment |
Java 21+ |
Native Java 21 runtime required |
| Hard Dependencies |
None |
Standalone plugin (No Vault, ProtocolLib, etc.) |
| Configuration |
None |
Purely permission-driven (Zero setup needed) |
Features & Mechanics
- Dynamic Expansion: Players with permission gain access to a full 54-slot (6-row) Ender Chest.
- Safe Item Access: If a player loses their expand permission, their items in slots 27–53 are never deleted. They can open the expanded chest to take their items out at any time.
- Smart Auto-Shrinking: As soon as slots 27–53 are completely emptied by a player without permission, the chest automatically resizes back to the standard 27-slot vanilla Ender Chest.
- Strict Restriction System: Non-permission players are blocked from placing, shift-clicking, or dragging new items into slots 27–53.
- Full Data Integrity: Built with modern item serialization to safely persist custom NBT, components, lore, enchants, and custom names across server restarts.
Permissions
All features operate automatically based on the following permission node:
| Permission |
Default |
Description |
swiftec.expand |
op |
Grants access to the expanded 54-slot (6-row) Ender Chest |
Note: SwiftEC requires no commands or configuration files.
评论 0
登录后参与评分
还没有评论,来抢沙发吧