Expendable Backpacks
一套全面的背包系统,包含八个递进等级、可升级的存储空间、可放置的背包方块以及独特的 Enderpack 共享库存功能。
✨ 特性
- 八个递进等级 - 从基础的泥土背包(9 格)到高级的下界合金背包(54 格)
- 可放置背包 - 按住 Shift + 右键点击任意表面即可将背包作为方块放置在世界中
- Enderpack 系统 - 基于 UUID 识别的独特共享存储,可在多个 Enderpack 之间同步
- 新手背包配置 - 在新玩家首次加入服务器时给予皮革背包
- 叠加式升级 - 通过将背包周围环绕指定材料来升级背包,同时保留所有物品内容
- 防嵌套保护 - 智能系统防止在背包内嵌套其他背包
- 交互式 GUI 指南 - 游戏内视觉指南,展示所有合成配方和升级路径
- 自定义纹理 - 每个等级都有精美的玩家头部纹理,并配有颜色编码的名称
- 持久化存储 - 所有背包内容均通过 UUID 跟踪自动保存
- Enderpack 克隆 - 创建多个访问点以访问同一个共享库存
- 全面保护 - 已放置的背包受到爆炸、活塞、火焰和岩浆的保护
- 性能优化 - 高效的库存缓存和异步数据保存
- Tab 补全支持 - 对所有命令和 UUID 提供完整的 Tab 补全支持
? 背包等级
| 等级 | 容量 | 升级材料 |
|---|---|---|
| Dirt Backpack | 9 格 (1 行) | 用泥土包围 |
| Leather Backpack | 9 格 (1 行) | 起始等级 |
| Copper Backpack | 18 格 (2 行) | 8x 铜锭 |
| Iron Backpack | 27 格 (3 行) | 8x 铁锭 |
| Gold Backpack | 36 格 (4 行) | 8x 金锭 |
| Diamond Backpack | 45 格 (5 行) | 8x 钻石 |
| Netherite Backpack | 54 格 (6 行) | 锻造台 |
| Enderpack | 27 格 (3 行) | 共享存储 |
? 可放置背包
背包现在可以作为装饰性方块放置在世界中,并保留完整的功能!
工作原理
- 放置:手持背包并按住 Shift + 右键点击 任意表面
- 打开:右键点击 已放置的背包以访问其库存
- 破坏:挖掘该方块以取回背包,所有物品内容保持完好
- 保护:已放置的背包完全受到以下情况的保护:
- 爆炸(苦力怕、TNT 等)
- 活塞(推/拉)
- 火焰和岩浆伤害
- 方块爆炸(床、重生锚)
使用场景
- 储物室 - 创建带有可见背包等级的有组织的存储区域
- 基地装饰 - 展示你收藏的高级背包
- 快速访问点 - 在基地周围的战略位置放置背包
- 团队存储 - 在公共区域放置共享的 Enderpack
- 商店与交易 - 在市场建筑中创建背包展示架
重要提示
- 已放置的背包保留其 UUID - 物品保持在原位
- 破坏并替换背包不会影响其内容
- Enderpack 在放置时工作方式相同 - 所有副本共享相同的库存
- 你仍然可以通过普通右键点击打开手中的背包
? Enderpack - 特殊存在
Enderpack 提供了在其他等级中找不到的独特功能:
- 共享存储 - 具有相同 UUID 的所有 Enderpack 访问相同的库存
- 可克隆 - 合成 1 个 Enderpack + 1 颗末影珍珠 = 2 个具有匹配 UUID 的 Enderpack
- 多个访问点 - 一个放在你的背包里,一个放在你的基地,分享给队友
- 放置时仍有效 - 将 Enderpack 作为方块放置,它们仍然共享相同的库存
- 适合团队 - 协调跨多个玩家的共享存储
- 跨地点访问 - 从任何地方访问相同的库存
示例使用场景
- 制作一个 Enderpack
- 通过与末影珍珠组合来克隆它(产生 2 个 Enderpack,相同的 UUID)
- 将一个保留在你的库存中以供随时访问
- 在基地放置一个作为方块以便轻松访问
- 给队友一个
- 这三个都访问相同的 27 格共享存储 - 包括已放置的那个!
⚙️ 配置
插件包含位于 plugins/ExpendableBackpacks/config.yml 的配置文件,用于服务器定制。
新手背包功能
在新玩家首次加入服务器时自动给予他们皮革背包:
# Give a Leather Backpack to players when they first join the server
# Default: false
give-backpack-on-first-join: false
# Message sent to players when they receive their starter backpack
# Use & for color codes (e.g., &a for green, &6 for gold)
# Set to empty string ("") to disable the message
starter-backpack-message: "&7Welcome! You've been given a &7Leather Backpack &7to get started. Right-click to open!"
特性:
- 仅对首次加入的玩家触发
- 自动将背包添加到库存中
- 如果库存已满,则在玩家位置掉落
- 支持颜色代码的可自定义欢迎消息
- 默认禁用 - 请在配置文件中启用它
? 安装与兼容性
- 下载最新的插件 JAR 文件
- 将其放入服务器的
/plugins/目录 - 重启服务器或使用插件加载器
- 使用
/backpack访问游戏内指南 - 在
plugins/ExpendableBackpacks/config.yml中配置新手背包(可选)
要求
- 服务器软件: Paper, Spigot, Purpur, 或 Folia
- Minecraft 版本: 1.21 或更高
- Java 版本: 21 或更高
? 命令与权限
命令
所有命令都支持 /bp 别名以快速访问。
| 命令 | 描述 | 权限 |
|---|---|---|
/backpack |
打开交互式指南 GUI | backpack.use |
/backpack help |
显示帮助信息 | backpack.use |
/backpack give <player> <tier> |
给玩家一个背包 | backpack.give |
/backpack open <uuid> |
通过 UUID 打开背包 | backpack.openOthers |
/backpack clear <uuid> |
清空背包内容 | backpack.clear |
/backpack clone <uuid> |
创建 Enderpack 的克隆体 | backpack.clone |
权限
| 权限 | 描述 | 默认值 |
|---|---|---|
backpack.use |
使用背包命令并打开自己的背包 | 所有人 |
backpack.give |
给予玩家背包 | OP |
backpack.openOthers |
通过 UUID 打开任意背包 | OP |
backpack.clear |
清空背包内容 | OP |
backpack.clone |
克隆 Enderpacks | OP |
backpack.admin |
所有管理员权限 | OP |
? 合成配方
皮革背包(起始点)
L S L
L C L
L L L
- L = 皮革,S = 线,C = 箱子
Enderpack(特殊配方)
E P E
P C P
E I E
- E = 末影之眼,P = 末影珍珠,C = 箱子,I = 铁块
升级
用 8个升级材料 包围你的背包:
- 皮革 → 铜:8x 铜锭
- 铜 → 铁:8x 铁锭
- 铁 → 金:8x 金锭
- 金 → 钻石:8x 钻石
- 钻石 → 下界合金:锻造台(下界合金升级模板 + 钻石背包 + 下界合金锭)
注意: 所有升级都会保留你的物品和 UUID!
? 技术细节
数据存储
- 背包存储在
plugins/ExpendableBackpacks/backpacks.yml - 每个背包实例基于 UUID 进行标识
- 放置的背包将 UUID 存储在方块 PersistentDataContainer 中
- 自动序列化库存
- 数据在服务器重启后持久保存
性能
- 高效的库存缓存系统
- 异步数据保存
- 优化的方块交互处理
- 针对大规模服务器优化
- 极小的服务器资源占用
放置背包的技术细节
- 作为带有自定义纹理的玩家头颅方块放置
- UUID 和等级数据存储在方块 NBT(PersistentDataContainer)中
- 与物品保持一致的 NamespacedKeys
- 完整的事件处理以实现全面保护
? 支持与链接
- 问题与错误报告: GitHub Issues
- 源代码: GitHub Repository
- 文档: 完整 README
? 许可证
详见 LICENSE 文件。
用心为 Minecraft 服务器社区开发。
Expendable Backpacks
A comprehensive backpack system featuring eight progressive tiers, upgradeable storage, placeable backpack blocks, and unique Enderpack shared inventory functionality.
✨ Features
- Eight Progressive Tiers - From basic Dirt Backpack (9 slots) to premium Netherite Backpack (54 slots)
- Placeable Backpacks - Place backpacks as blocks in the world using Shift + Right-click
- Enderpack System - Unique shared storage across multiple Enderpacks using UUID-based identification
- Starter Backpack Configuration - Give new players a Leather Backpack on first join
- Stackable Upgrades - Upgrade your backpacks by surrounding them with materials while preserving all contents
- Inception Protection - Smart system prevents nesting backpacks within other backpacks
- Interactive GUI Guide - In-game visual guide showing all crafting recipes and upgrade paths
- Custom Textures - Beautiful player head textures for each tier with color-coded names
- Persistent Storage - All backpack contents automatically saved with UUID tracking
- Enderpack Cloning - Create multiple access points to the same shared inventory
- Full Protection - Placed backpacks are protected from explosions, pistons, fire, and lava
- Performance Optimized - Efficient inventory caching and asynchronous data saving
- Tab Completion - Full tab completion support for all commands and UUIDs
? Backpack Tiers
| Tier | Storage | Upgrade Material |
|---|---|---|
| Dirt Backpack | 9 slots (1 row) | Surround with Dirt |
| Leather Backpack | 9 slots (1 row) | Starting tier |
| Copper Backpack | 18 slots (2 rows) | 8x Copper Ingot |
| Iron Backpack | 27 slots (3 rows) | 8x Iron Ingot |
| Gold Backpack | 36 slots (4 rows) | 8x Gold Ingot |
| Diamond Backpack | 45 slots (5 rows) | 8x Diamond |
| Netherite Backpack | 54 slots (6 rows) | Smithing Table |
| Enderpack | 27 slots (3 rows) | Shared Storage |
? Placeable Backpacks
Backpacks can now be placed in the world as decorative blocks that retain full functionality!
How It Works
- Place: Hold a backpack and Shift + Right-click on any surface
- Open: Right-click the placed backpack to access its inventory
- Break: Mine the block to retrieve your backpack with all contents intact
- Protection: Placed backpacks are fully protected from:
- Explosions (Creeper, TNT, etc.)
- Pistons (push/pull)
- Fire and lava damage
- Block explosions (Beds, Respawn Anchors)
Use Cases
- Storage Rooms - Create organized storage areas with visible backpack tiers
- Base Decoration - Display your collection of high-tier backpacks
- Quick Access Points - Place backpacks at strategic locations around your base
- Team Storage - Place shared Enderpacks in communal areas
- Shops & Trade - Create backpack displays in marketplace builds
Important Notes
- Placed backpacks retain their UUID - items stay exactly where they are
- Breaking and replacing a backpack doesn't affect its contents
- Enderpacks work the same when placed - all copies share the same inventory
- You can still open backpacks in your hand with a normal right-click
? Enderpack - The Special One
The Enderpack provides unique functionality not found in other tiers:
- Shared Storage - All Enderpacks with the same UUID access identical inventory
- Cloneable - Craft 1 Enderpack + 1 Ender Pearl = 2 Enderpacks with matching UUID
- Multiple Access Points - Keep one in your inventory, one at your base, share with teammates
- Works When Placed - Place Enderpacks as blocks and they still share the same inventory
- Perfect for Teams - Coordinate shared storage across multiple players
- Cross-Location Access - Access the same inventory from anywhere
Example Use Case
- Craft an Enderpack
- Clone it by combining with an Ender Pearl (yields 2 Enderpacks, same UUID)
- Keep one in your inventory for on-the-go access
- Place one as a block at your base for easy access
- Give one to a teammate
- All three access the same 27-slot shared storage - even the placed one!
⚙️ Configuration
The plugin includes a configuration file at plugins/ExpendableBackpacks/config.yml for server customization.
Starter Backpack Feature
Give new players a Leather Backpack automatically when they first join your server:
# Give a Leather Backpack to players when they first join the server
# Default: false
give-backpack-on-first-join: false
# Message sent to players when they receive their starter backpack
# Use & for color codes (e.g., &a for green, &6 for gold)
# Set to empty string ("") to disable the message
starter-backpack-message: "&7Welcome! You've been given a &7Leather Backpack &7to get started. Right-click to open!"
Features:
- Only triggers for players joining for the first time
- Automatically adds backpack to inventory
- Drops at player location if inventory is full
- Customizable welcome message with color code support
- Disabled by default - enable it in your config
? Installation & Compatibility
- Download the latest plugin JAR file
- Place it in your server's
/plugins/directory - Restart your server or use a plugin loader
- Use
/backpackto access the in-game guide - Configure starter backpack in
plugins/ExpendableBackpacks/config.yml(optional)
Requirements
- Server Software: Paper, Spigot, Purpur, or Folia
- Minecraft Version: 1.21 or higher
- Java Version: 21 or higher
? Commands & Permissions
Commands
All commands support the /bp alias for quick access.
| Command | Description | Permission |
|---|---|---|
/backpack |
Open interactive guide GUI | backpack.use |
/backpack help |
Display help information | backpack.use |
/backpack give <player> <tier> |
Give a backpack to a player | backpack.give |
/backpack open <uuid> |
Open a backpack by UUID | backpack.openOthers |
/backpack clear <uuid> |
Clear backpack contents | backpack.clear |
/backpack clone <uuid> |
Create an Enderpack clone | backpack.clone |
Permissions
| Permission | Description | Default |
|---|---|---|
backpack.use |
Use backpack command and open own backpacks | Everyone |
backpack.give |
Give backpacks to players | OP |
backpack.openOthers |
Open any backpack by UUID | OP |
backpack.clear |
Clear backpack contents | OP |
backpack.clone |
Clone Enderpacks | OP |
backpack.admin |
All admin permissions | OP |
? Crafting Recipes
Leather Backpack (Starting Point)
L S L
L C L
L L L
- L = Leather, S = String, C = Chest
Enderpack (Special Recipe)
E P E
P C P
E I E
- E = Ender Eye, P = Ender Pearl, C = Chest, I = Iron Block
Upgrades
Surround your backpack with 8x upgrade material:
- Leather → Copper: 8x Copper Ingot
- Copper → Iron: 8x Iron Ingot
- Iron → Gold: 8x Gold Ingot
- Gold → Diamond: 8x Diamond
- Diamond → Netherite: Smithing Table (Netherite Upgrade Template + Diamond Backpack + Netherite Ingot)
Note: All upgrades preserve your items and UUID!
? Technical Details
Data Storage
- Backpacks stored in
plugins/ExpendableBackpacks/backpacks.yml - UUID-based identification for each backpack instance
- Placed backpacks store UUID in block PersistentDataContainer
- Automatic inventory serialization
- Data persists across server restarts
Performance
- Efficient inventory caching system
- Asynchronous data saving
- Optimized block interaction handling
- Optimized for large-scale servers
- Minimal server resource usage
Placed Backpack Technical Details
- Placed as Player Head blocks with custom textures
- UUID and tier data stored in block NBT (PersistentDataContainer)
- Same NamespacedKeys as items for consistency
- Full event handling for comprehensive protection
? Support & Links
- Issues & Bug Reports: GitHub Issues
- Source Code: GitHub Repository
- Documentation: Full README
? License
See the LICENSE file for details.
Developed with care for the Minecraft server community.
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expendable Backpacks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧