hEnderChest

hEnderChest 是一款用于 Minecraft 服务器的自定义末影箱插件。
它用可配置的虚拟存储系统替换了默认的末影箱体验。你可以使用基于权限的存储空间大小、可解锁的槽位、购买菜单、确认菜单、数据库存储、PlaceholderAPI 占位符、Vault 操作和管理工具。
该插件适用于生存服务器、经济服务器、基于等级的存储、捐赠者升级以及基于进度的游戏玩法。
概览

玩家可以通过命令或交互末影箱方块来打开自定义末影箱。服务器管理员可以通过权限或槽位购买系统来控制可用空间。
玩家的数据存储在 SQLite 或 MySQL 中。该插件还包含一个灵活的操作系统的消息、声音、命令、Vault 支付和 GUI 反馈。
功能
虚拟存储
该插件管理自定义末影箱物品栏、锁定槽位、存储大小、物品栏标题、已购买的槽位和数据库保存。
两种模式
模式 1 使用基于权限的存储空间大小。模式 2 启用锁定槽位和玩家槽位购买。
大小权限
你可以通过权限提供不同的存储大小:
henderchest.size.9
henderchest.size.18
henderchest.size.27
henderchest.size.36
henderchest.size.45
henderchest.size.54
槽位解锁
在模式 2 中,锁定槽位显示为可配置的物品。玩家可以通过自定义条件和动作解锁它们。
确认菜单
槽位购买前可以要求显示确认菜单。标题、大小、按钮、物品和操作均可配置。
条件
购买条件可以使用 PlaceholderAPI 值。这允许进行金钱、点数、等级、统计或其他基于占位符的检查。
点击操作
你可以为左键点击、右键点击、中键点击、Shift+点击和所有点击配置不同的行为。
数据库
该插件支持 SQLite 和 MySQL 存储。
员工访问
工作人员可以使用以下命令打开其他玩家的末影箱:
/enderchest <player>
编辑其他玩家的存储需要单独的权限。
槽位工具
管理员可以在模式 2 中添加、移除或设置玩家的已购买槽位。
操作
该插件支持消息、广播、控制台命令、玩家命令、声音、标题、动作栏、Boss 条、粒子、烟花、效果、Vault 操作和关闭操作。
命令
| 命令 |
描述 |
/enderchest |
打开你的末影箱 |
/ec |
打开你的末影箱 |
/enderchest <player> |
打开其他玩家的末影箱 |
/henderchest |
显示管理帮助 |
/henderchest help |
显示管理帮助 |
/henderchest reload |
重载插件 |
| `/henderchest addslots <player> <amount |
range>` |
| `/henderchest removeslots <player> <amount |
range>` |
| `/henderchest setslots <player> <amount |
range>` |
权限
| 权限 |
描述 |
henderchest.open.command |
允许通过命令打开 |
henderchest.open.interact |
允许通过与末影箱交互打开 |
henderchest.others |
允许打开其他玩家的存储 |
henderchest.modify |
允许编辑其他玩家的存储 |
henderchest.offline |
声明离线访问权限 |
henderchest.admin |
允许管理命令 |
henderchest.size.9 |
允许访问 9 个槽位 |
henderchest.size.18 |
允许访问 18 个槽位 |
henderchest.size.27 |
允许访问 27 个槽位 |
henderchest.size.36 |
允许访问 36 个槽位 |
henderchest.size.45 |
允许访问 45 个槽位 |
henderchest.size.54 |
允许访问 54 个槽位 |
推荐的玩家权限:
henderchest.open.command
henderchest.open.interact
henderchest.size.9
PAPI
该插件使用 henderchest 标识符注册 PlaceholderAPI 占位符。
| 占位符 |
描述 |
%henderchest_size% |
当前存储大小 |
%henderchest_purchased% |
模式 2 中的已购买槽位 |
%henderchest_available% |
可用槽位 |
变量
这些变量可用于插件消息、操作、物品名称、描述和购买反馈。
| 变量 |
描述 |
{prefix} |
插件前缀 |
{player} |
玩家名称 |
{uuid} |
玩家 UUID |
{slots} |
槽位数值或槽位列表 |
{slot} |
当前槽位 |
{size} |
当前存储大小 |
{target} |
目标标识符 |
{targetName} |
目标名称 |
{permission} |
所需权限 |
{slotsText} |
槽位的文本表示 |
安装
- 安装 PlaceholderAPI。
- 将
hEnderChest.jar 放入 plugins 文件夹。
- 重启服务器。
- 打开
plugins/hEnderChest/。
- 在
config.yml 中选择工作模式。
- 为玩家组配置权限。
- 如果使用槽位购买,请配置
mode2.yml。
- 重启服务器或重载插件。
配置文件
主要文件:
plugins/hEnderChest/config.yml
plugins/hEnderChest/mode2.yml
config.yml 用于主要设置、模式选择、数据库设置、标题和全局操作。
mode2.yml 用于锁定槽位、购买规则、点击操作、确认菜单和槽位解锁设置。
用例
- 自定义末影箱存储
- 基于等级的存储大小
- 捐赠者存储升级
- 经济槽位购买
- 渐进式存储解锁
- 任务奖励
- 宝箱奖励
- 活动奖励
- 工作人员存储检查
注意事项
- 需要 PlaceholderAPI。
- Vault 为可选依赖。
- MySQL 为可选依赖。
- 槽位购买命令适用于模式 2。
- 玩家需拥有
henderchest.open.command 权限才能通过命令打开储物箱。
- 玩家需拥有
henderchest.open.interact 权限才能通过与末影箱方块交互来打开储物箱。
hEnderChest

hEnderChest is a custom Ender Chest plugin for Minecraft servers.
It replaces the default Ender Chest experience with a configurable virtual storage system. You can use permission-based storage sizes, unlockable slots, purchase menus, confirmation menus, database storage, PlaceholderAPI placeholders, Vault actions and admin tools.
The plugin is useful for survival servers, economy servers, rank-based storage, donor upgrades and progression-based gameplay.
Overview

Players can open a custom Ender Chest by command or by interacting with an Ender Chest block. Server owners can control the available space through permissions or through the slot purchase system.
Player storage is saved in SQLite or MySQL. The plugin also includes a flexible action system for messages, sounds, commands, Vault payments and GUI feedback.
Features
Virtual storage
The plugin manages custom Ender Chest inventories, locked slots, storage size, inventory titles, purchased slots and database saving.
Two modes
Mode 1 uses permission-based storage sizes. Mode 2 enables locked slots and player slot purchases.
Size permissions
You can give different storage sizes through permissions:
henderchest.size.9
henderchest.size.18
henderchest.size.27
henderchest.size.36
henderchest.size.45
henderchest.size.54
Slot unlocks
In Mode 2, locked slots are shown as configurable items. Players can unlock them through custom conditions and actions.
Confirm menu
Slot purchases can require a confirmation menu before the player pays. The title, size, buttons, items and actions are configurable.
Conditions
Purchase conditions can use PlaceholderAPI values. This allows money, points, ranks, statistics or other placeholder-based checks.
Click actions
You can configure different behavior for left click, right click, middle click, shift click and all clicks.
Database
The plugin supports SQLite and MySQL storage.
Staff access
Staff can open another player's Ender Chest with:
/enderchest <player>
Editing another player's storage requires a separate permission.
Slot tools
Admins can add, remove or set purchased slots for players in Mode 2.
Actions
The plugin supports messages, broadcasts, console commands, player commands, sounds, titles, action bars, boss bars, particles, fireworks, effects, Vault actions and close actions.
Commands
| Command |
Description |
/enderchest |
Opens your Ender Chest |
/ec |
Opens your Ender Chest |
/enderchest <player> |
Opens another player's Ender Chest |
/henderchest |
Shows admin help |
/henderchest help |
Shows admin help |
/henderchest reload |
Reloads the plugin |
| `/henderchest addslots <player> <amount |
range>` |
| `/henderchest removeslots <player> <amount |
range>` |
| `/henderchest setslots <player> <amount |
range>` |
Permissions
| Permission |
Description |
henderchest.open.command |
Allows opening by command |
henderchest.open.interact |
Allows opening by Ender Chest interaction |
henderchest.others |
Allows opening other players' storage |
henderchest.modify |
Allows editing other players' storage |
henderchest.offline |
Declared permission for offline access |
henderchest.admin |
Allows admin commands |
henderchest.size.9 |
Gives access to 9 slots |
henderchest.size.18 |
Gives access to 18 slots |
henderchest.size.27 |
Gives access to 27 slots |
henderchest.size.36 |
Gives access to 36 slots |
henderchest.size.45 |
Gives access to 45 slots |
henderchest.size.54 |
Gives access to 54 slots |
Recommended player permissions:
henderchest.open.command
henderchest.open.interact
henderchest.size.9
PAPI
The plugin registers PlaceholderAPI placeholders with the henderchest identifier.
| Placeholder |
Description |
%henderchest_size% |
Current storage size |
%henderchest_purchased% |
Purchased slots in Mode 2 |
%henderchest_available% |
Available slots |
Variables
These variables can be used in plugin messages, actions, item names, lore and purchase feedback.
| Variable |
Description |
{prefix} |
Plugin prefix |
{player} |
Player name |
{uuid} |
Player UUID |
{slots} |
Slot value or slot list |
{slot} |
Current slot |
{size} |
Current storage size |
{target} |
Target identifier |
{targetName} |
Target name |
{permission} |
Required permission |
{slotsText} |
Text representation of slots |
Install
- Install PlaceholderAPI.
- Place
hEnderChest.jar into the plugins folder.
- Restart the server.
- Open
plugins/hEnderChest/.
- Choose the working mode in
config.yml.
- Configure permissions for player groups.
- Configure
mode2.yml if you use slot purchases.
- Restart the server or reload the plugin.
Configs
Main files:
plugins/hEnderChest/config.yml
plugins/hEnderChest/mode2.yml
config.yml is used for main settings, mode selection, database settings, titles and global actions.
mode2.yml is used for locked slots, purchase rules, click actions, confirmation menu and slot unlock settings.
Use Cases
- Custom Ender Chest storage
- Rank-based storage sizes
- Donor storage upgrades
- Economy slot purchases
- Progressive storage unlocks
- Quest rewards
- Crate rewards
- Event rewards
- Staff storage inspection
Notes
- PlaceholderAPI is required.
- Vault is optional.
- MySQL is optional.
- Slot purchase commands are intended for Mode 2.
- Players need
henderchest.open.command to open storage by command.
- Players need
henderchest.open.interact to open storage by interacting with an Ender Chest block.
评论 0
登录后参与评分
还没有评论,来抢沙发吧