此插件可为用户提供一个虚拟箱子,在生存服和创造服中都非常实用。默认情况下,你死亡时不会丢失箱子里的物品。只需输入 /chest 即可打开它,管理员可以通过输入 /chest [player] 打开其他玩家的箱子!
第二个有用的功能是一个虚拟工作台,可以使用 /workbench 命令在任何地方打开!
请注意,我不会在此插件中添加虚拟熔炉!
源代码可在 GitHub 上找到。
<p>
感谢 BrandonHopkins/TechHut 提供的视频!
命令
本插件提供了以下命令:
/chest- 打开你的虚拟箱子(需要 "
alphachest.chest" 权限) /clearchest- 清空你的虚拟箱子(需要 "
alphachest.chest" 权限) /workbench- 打开一个虚拟工作台(需要 "
alphachest.workbench" 权限)
管理员命令:
/chest [player]- 打开其他人的箱子(需要 "
alphachest.admin" 权限) /clearchest [player]- 清空其他人的箱子(需要 "
alphachest.admin" 权限) /savechests- 将所有箱子的内容保存到磁盘(需要 "
alphachest.save" 权限)
权限
你需要使用与你兼容 SuperPerms 的插件来设置相应的权限!请参阅下方的列表以了解所需的权限。
alphachest.chest- 允许使用
/chest和/clearchest命令。 alphachest.chest.creativeMode- 允许在创造模式下使用
/chest命令。 alphachest.workbench- 允许使用
/workbench命令。 alphachest.admin- 允许使用
/chest [player]和/clearchest [player]打开并清空其他玩家的箱子。 alphachest.save- 允许使用
/savechests命令。
alphachest.keepOnDeath- 拥有此权限的玩家在死亡时保留其虚拟箱子的内容。
alphachest.dropOnDeath- 拥有此权限的玩家在死亡时会掉落其虚拟箱子的内容。
alphachest.clearOnDeath- 拥有此权限的玩家在死亡时会丢失其虚拟箱子的内容。
配置文件
以下定义取自默认配置文件:
autosave: 10- 定义插件应将箱子保存到磁盘的时间间隔(以分钟为单位)。将其设置为零可禁用定期保存。
silentAutosave: false- 将此设置为
true可在自动保存箱子时抑制日志消息。 clearOnDeath: false- 如果玩家没有 "
alphachest.keepOnDeath" 权限,则将其设置为true会在玩家死亡时清空其箱子。 dropOnDeath: false- 如果玩家没有 "
alphachest.keepOnDeath" 权限,则将其设置为true会在玩家死亡时掉落其箱子的内容。
捐赠
我为这个插件投入了大量时间。如果你喜欢我的工作,请考虑捐赠!特别是如果你将 AlphaChest 作为自己专属的捐赠者福利,这对你来说应该不是什么负担 :-)
论坛
我关闭了此页面的评论部分,因为那里过于混乱,重要信息很容易丢失。
请使用 论坛 进行讨论和提问!
1.10.0 版本之前有 11298 次下载
This plugin enables to give users a virtual chest, which can come in handy on survival servers and also on creative servers. By default, you will not loose the contents of your chest when you die. You can simply open it by typing /chest and admins can open other player's chests by typing /chest [player]!
The second useful feature is a virtual workbench that can be opened everywhere with the /workbench command!
Please note that I will not add virtual furnaces to this plugin!
The source code can be found on GitHub.
<p>
Thanks to BrandonHopkins/TechHut for the video!
Commands
The following commands are made available by this plugin:
/chest- Open your virtual chest (requires "
alphachest.chest" permission) /clearchest- Clears your virtual chest (requires "
alphachest.chest" permission) /workbench- Opens a virtual workbench (requires "
alphachest.workbench" permission)
Admin commands:
/chest [player]- Open someone else's chest (requires "
alphachest.admin" permission) /clearchest [player]- Clears someone else's chest (requires "
alphachest.admin" permission) /savechests- Saves the contents of all chests to disk (requires "
alphachest.save" permission)
Permissions
You need to set the appropriate permissions using the SuperPerms-compatible plugin of your choice! Please see the lists below for required permissions.
alphachest.chest- Allows using the
/chestand/clearchestcommands. alphachest.chest.creativeMode- Allows using the
/chestcommand while being in Creative Mode. alphachest.workbench- Allows using the
/workbenchcommand. alphachest.admin- Allows to open and clear other player's chests using
/chest [player]and/clearchest [player]. alphachest.save- Allows using the
/savechestscommand.
alphachest.keepOnDeath- Players with this permission keep the contents of their virtual chest on death.
alphachest.dropOnDeath- Players with this permission drop the contents of their virtual chest on death.
alphachest.clearOnDeath- Players with this permission lose the contents of their virtual chest on death.
Configuration file
The following definitions are taken from the default configuration file:
autosave: 10- Defines the interval (in minutes) the plugin should save the chests to disk. Setting this to zero disables periodic saving.
silentAutosave: false- Set this to
trueto suppress log messages while auto-saving chests. clearOnDeath: false- Set this to
trueto clear a player's chest on death if he does not have the "alphachest.keepOnDeath" permission. dropOnDeath: false- Set this to
trueto drop the contents of the player's chest on death if he does not have the "alphachest.keepOnDeath" permission.
Donate
I really invested a lot of time into this plugin. If you like my work, please consider donating! Especially if you use AlphaChest as a special for your own donators, it shouldn't hurt you too much :-)
Forum
I closed the comment section on this page as it was too confusing and important information got lost pretty quickly.
Please use the Forum for discussion and questions!
11298 Downloads before 1.10.0
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
下载 AlphaChest
1.17.0
* 需要 Bukkit 1.7.2 或更高版本
* 移除了 NBT 迁移功能——从 1.15 或更早版本升级的服务器需先升级至 1.16.0
* 对于 Bukkit 1.7 及更高版本,箱子现在通过 UUID 而非名称与用户关联
* 迁移是自动且不可逆的。升级前请备份文件以防万一。
1.16.0
* 修复了针对 CB 1.4.7 的 NBT 迁移问题
* 修复了 alphachest.admin 在没有 alphachest.chest 权限时无法正常工作的问题
* 使用 UTF-8 编码读取和写入 YAML 格式的箱子文件。这应该能解决显示名称中包含特殊字符的物品加载问题。
1.15.0
* 将虚拟箱子的存储方式从 NBT(依赖 CraftBukkit 且每个新 Minecraft 版本都需要重新构建)切换为 YAML 文件。旧的 NBT 文件将自动迁移到新格式(仅在 CB 1.4.6 下适用)。
+ 新增权限 "alphachest.chest.creativeMode",允许玩家在创造模式下打开虚拟箱子。
1.14.0
* 适配 CraftBukkit 1.4.5(API 变更)
+ 阻止玩家在创造模式下打开他们的箱子!
1.13.0
+ 新增 "dropOnDeath" 设置,使玩家死亡时掉落其箱子。使用新的 "alphachest.dropOnDeath" 权限可在单个用户级别设置此选项。拥有 "alphachest.keepOnDeath" 权限的玩家不受影响。
* md-5 更改了插件以使用 Bukkit 的新库存 API。感谢该补丁!
1.12.0
+ 新增 "clearOnDeath" 设置,使玩家死亡时清空其箱子。此设置不影响拥有新权限 "alphachest.keepOnDeath" 的玩家。
* 修复了一个在从旧版纯文本箱子文件转换时可能导致数据丢失的 bug。
1.11.1
* 修复了空指针异常 (NullPointerException)
1.11.0
* 修复了 CB-1.1-R5/R6 兼容性问题。
1.10.0
* 修复了加载箱子第一个物品槽的问题。
+ 仅保存已更改的箱子。
+ 新增 silentAutosave 选项,用于在自动保存箱子时抑制日志消息。
+ 如果 config.yml 不存在则创建默认配置文件。
* 修正自动保存间隔单位为分钟,如文档所述。
1.9.0
现在使用 Bukkit 的内部权限系统 (SuperPerms)。注意:权限已从 "ac.*" 重命名为 "alphachest.*"!
从纯文本存储切换为 NBT 存储。附魔效果现在可以在重启之间保留。
1.8.0
修复 MC >= beta 1.8 相关问题
1.7.2
我搞砸了。修复了 /craft 命令中的 NPE。
1.7.1
修复了 CraftBukkit API 变更(b937)导致的问题
1.7.0
添加了虚拟工作台!
1.6.4
修复了加载/保存箱子时的错误
新增了每 10 分钟自动保存箱子的功能
1.6.3
修复了 /savechests 命令中的 NPE
一些清理工作
1.6.2
kroimon 的首次发布
更新至最新 CraftBukkit 版本(b714 / Minecraft 1.5_01)
1.6.1
修复了在错误位置保存箱子的 bug
1.6
更新至最新 CraftBukkit 版本(b493)
1.5
小 bug 修复(将名称从 "Alpha Chest" 更改为 "AlphaChest")
1.4
小 bug 修复
添加了对不使用 Permissions 插件的服务器的支持
1.3
小 bug 修复
1.2
添加了清空箱子的功能
小 bug 修复
1.1
修复了物品数据存储问题(染色羊毛)
1.0
Mast4rPlan 的初始发布
如果您曾使用非玩家名称来存储箱子中的物品,这些箱子将不再可访问,因为它们没有 UUID。磁盘上的文件将保持不变。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧