Chest SignLock
Chest SignLock 是一款面向 Minecraft 26.2 的开源服务端 Fabric 模组,允许玩家使用告示牌来保护箱子、门、信标和其他方块。
该系统采用受 BlockLocker 启发的熟悉的 [Private](私有)和 [More Users](更多用户)格式。无需安装客户端模组:仅需服务器端安装该模组和 Fabric API。
功能
- 使用
[Private] 告示牌保护方块
- 通过
[More Users] 告示牌添加授权玩家
- 存储玩家 UUID 同时显示用户名
- 当列出的玩家进行交互时自动链接 UUID
- 防止过期的隐藏 UUID 获得访问权限
- 将双箱子和门的两侧视为一个受保护对象
- 允许服务器管理员绕过面向玩家的防护
- 防止被锁定的方块和告示牌遭受爆炸和活塞破坏
- 默认阻止漏斗、漏斗矿车和铁傀儡
- 支持通过
[Redstone] 实现自动化
- 内置英文和法文消息
- 完全可通过 YAML 文件自定义消息
- 仅服务端运行
支持的方块
- 箱子 (Chests)
- 陷阱箱 (Trapped chests)
- 木桶 (Barrels)
- 潜影盒 (Shulker boxes)
- 发射器 (Dispensers)
- 投掷器 (Droppers)
- 熔炉 (Furnaces)
- 高炉 (Blast furnaces)
- 烟熏炉 (Smokers)
- 讲台 (Lecterns)
- 信标 (Beacons)
- 所有类型的门
创建防护
在不潜行的情况下,右键点击受支持的方块并放置普通告示牌。
第一个告示牌会自动生成:
[Private]
PlayerName
附加的告示牌使用以下格式:
[More Users]
PlayerName
主要的 [Private] 告示牌属于列出的第一位玩家。只有该所有者或服务器管理员可以破坏它。
潜行时放置的告示牌保持为普通的装饰性告示牌。它们不提供访问权限,也不受模组保护。
自动放置系统会保留所用告示牌的木材类型。
红石与自动化
私人物品栏无法通过以下方式访问:
- 漏斗 (Hoppers)
- 漏斗矿车 (Hopper minecarts)
- 铁傀儡 (Copper golems)
私人门和受保护的方块也针对活塞移动进行了加固。
若要明确允许红石或物品栏自动化,请在关联的保护告示牌中添加以下行:
[Redstone]
命令
所有命令都需要管理员权限。
/chestlocklang en
/chestlocklang fr
/chestlockdebug
语言更改会立即生效,无需重启服务器。
配置
配置文件生成于以下路径:
config/ChestLockSign/messages.yml
config/ChestLockSign/messages/en.yml
config/ChestLockSign/messages/fr.yml
默认语言为英语。
每个聊天消息均可在 YAML 文件中自定义。普通消息使用橙色前缀 [Chest SignLock],而调试消息使用前缀 [Debug Signlock]。
要求
- Minecraft 26.2
- Fabric Loader 0.19.3 或更高版本
- Fabric API
- Java 25
- 仅限服务端安装
支持
需要帮助、发现错误或希望建议新功能?
加入支持 Discord:
Chest SignLock 将尽可能频繁地进行更新和维护。
开源
Chest SignLock 是开源软件,遵循 MIT 许可证。欢迎贡献、反馈和错误报告。
支持公益事业
Chest SignLock 产生的每一美元都将捐赠给 [RIGOLOPITO Les clowns hospitaliers],通过小丑表演为孩子们带来欢乐和支持。
感谢您对模组及这项事业的支持。
鸣谢
Chest SignLock 灵感来源于 BlockLocker,这是由 Rutger Kok 及其贡献者开发的经典基于 Minecraft 告示牌的防护插件。
本项目是一个独立的 Fabric 实现,不与 BlockLocker 有关联或由其背书。
Chest SignLock
Chest SignLock is an open-source, server-side Fabric mod for Minecraft 26.2 that allows players to protect containers, doors, beacons, and other blocks using signs.
The system uses the familiar [Private] and [More Users] format inspired by BlockLocker. No client-side installation is required: only the server needs the mod and Fabric API.
Features
- Protect blocks using
[Private] signs
- Add authorized players using
[More Users] signs
- Store player UUIDs while keeping usernames visible
- Automatically link UUIDs when a listed player interacts
- Prevent outdated hidden UUIDs from granting access
- Treat double chests and both halves of a door as one protected object
- Allow server operators to bypass player-facing protections
- Protect locked blocks and signs from explosions and pistons
- Block hoppers, hopper minecarts, and copper golems by default
- Allow automation with
[Redstone]
- Built-in English and French messages
- Fully configurable messages through YAML files
- Server-side only
Supported Blocks
- Chests
- Trapped chests
- Barrels
- Shulker boxes
- Dispensers
- Droppers
- Furnaces
- Blast furnaces
- Smokers
- Lecterns
- Beacons
- All doors
Creating a Protection
Right-click a supported block with a regular sign while not sneaking.
The first sign is created automatically:
[Private]
PlayerName
Additional signs use:
[More Users]
PlayerName
The main [Private] sign belongs to the first listed player. Only that owner or a server operator can break it.
Signs placed while sneaking remain normal decorative signs. They do not grant access and are not protected by the mod.
The automatic placement system keeps the wood type of the sign being used.
Redstone and Automation
Private inventories cannot be accessed by:
- Hoppers
- Hopper minecarts
- Copper golems
Private doors and protected blocks are also secured against piston movement.
To explicitly allow redstone or inventory automation, add the following line to an attached protection sign:
[Redstone]
Commands
All commands require operator permissions.
/chestlocklang en
/chestlocklang fr
/chestlockdebug
Language changes are applied immediately without restarting the server.
Configuration
Configuration files are generated in:
config/ChestLockSign/messages.yml
config/ChestLockSign/messages/en.yml
config/ChestLockSign/messages/fr.yml
The default language is English.
Every chat message can be customized in the YAML files. Normal messages use the orange [Chest SignLock] prefix, while debug messages use [Debug Signlock].
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.3 or newer
- Fabric API
- Java 25
- Server-side installation only
Support
Need help, found a bug, or want to suggest a feature?
Join the support Discord:
Chest SignLock will be updated and maintained as often as possible.
Open Source
Chest SignLock is open source and licensed under the MIT License. Contributions, feedback, and bug reports are welcome.
Supporting a Good Cause
Every dollar generated by Chest SignLock will be donated to [RIGOLOPITO Les clowns hospitaliers], helping bring joy and support to children through clown performances.
Thank you for supporting both the mod and this cause.
Credits
Chest SignLock is inspired by BlockLocker, the classic Minecraft sign-based protection plugin by Rutger Kok and contributors.
This project is an independent Fabric implementation and is not affiliated with or endorsed by BlockLocker.
评论 0
登录后参与评分
还没有评论,来抢沙发吧