跳到正文

ChestProtection

作者:FBanna

Locks chests or creates a trading chest!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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 支持哪些 Minecraft 版本?

ChestProtection 支持 Minecraft Java 版 1.21–26.3,共 13 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ChestProtection 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

FBanna 的其他作品

查看全部 →