新的 2.X.X 版本与 1.X.X 版本不兼容!
箱子保护
刚刚完成了对该模组的重写,以支持新功能!其中包括授权、配置文件、改进的用户界面,以及大量小调整以提升模组体验。
这是一个易于使用的 Fabric 服务端模组,实现了锁箱功能,并允许在箱子内创建商店。
锁定
在一本书上写下“LOCK”,将其放入箱子的第一个槽位。箱子现在已锁定!只有你可以打开它。这可以防止:
- 爆炸(例如 TNT、末影水晶)
- 凋灵破坏机制
- 将箱子放置在旁边以将书移出第一个槽位
- 破坏箱子
- 漏斗抽取
出售
在一本书上写下“SELL”,将其放入箱子的第一个槽位。其保护机制与锁定相同。当你打开箱子时,会提示你将物品放入左手和右手中间的槽位。
你可以通过点击旁边的纸张并输入数量来配置该物品的数量。
当你放入物品后,会出现一些绿色羊毛。这些羊毛让你选择要保留哪些物品数据。例如购买剑,但你不在乎它的伤害、附魔或名称。因此,点击那些羊毛使其变红,然后点击确认。
另一个例子是出售潜影盒,但你不在乎盒子是什么颜色。因此,点击名为“Item”的绿色羊毛使其变红,然后关闭箱子。这意味着它将仅匹配所选组件,而不是物品类型本身。这一点很重要,因为它允许你出售包含其他物品的容器。
授权
如果你右键点击一本书,你将能够配置商店或锁定。你可以搜索玩家并将其授权。这将赋予他们与所有者相同的权限,例如访问利润或打开锁定的箱子。
玩得开心,如有任何问题,请在 GitHub 页面上提交 issue 请求。
当我有时间时,我会逐步将此项目更新到新版本。
New 2.X.X versions are incompatible with 1.X.X versions!
CHEST PROTECTION
Just finished rewriting of this mod to allow for new features! These include Authorisation, config file, improved ui, and lots of small tweaks to improve the mod
Easy to use server side mod for fabric that implements locking chests as well as creating shops within them
Locking
Sign a book “LOCK”, put it in the first slot of a chest. It is now locked! Only you can open it. This protects against:
- explosions, eg. TNT, end crystals
- Wither break mechanics
- Placing chests next to it to move the book out of the first slot
- Breaking
- hoppers
Selling
Sign the book “SELL”, put it in the first slot of the chest. The same protections exist as locking. When you open the chest it will prompt you to put some items in the left and right hand middle slot.
You can configure the amount of that item by clicking the paper next to it and inputting a count.
When you put items in some green wool will appear. These let you choose what data you want to keep with the item. For example buying swords, but you don’t care about its damage or enchantments or name. So click those pieces of wool so they turn red then click confirm.
Another example is selling shulker. But you don’t care what colour box it is so click the green wool called Item so it turns red then close the chest. This now means that it will only match on the components selected and not the item type itself. This is important as it lets you sell containers of other items
Authorisation
If you right click a book you will be able to configure the shop or lock. You can search for players and then authorise them. This gives them the same privileges as the owner, eg. accessing profits or opening a locked chest.
Enjoy, any problems create a issue request on the GitHub page.
I’ll slowly update this project to newer versions when I have the time
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
下载 ChestProtection
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧