跳到正文

ChestWarning

作者:Mintype

Warn player to not grief on their first chest opening.

收藏

截图

介绍

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

Chest Warning Mod

A lightweight Fabric 1.21.11 mod designed for server administrators to prevent accidental griefing. It ensures every player receives a clear, one-time warning about stealing and server rules the first time they attempt to open a chest.

Features

  • First-Interaction Warning: Intercepts the first time a player right-clicks a chest or trapped chest.
  • Action Interruption: Automatically cancels the first chest-opening action so the player is forced to acknowledge the warning.
  • Persistent Storage: Uses the Fabric Data Attachment API to ensure that once a player is warned, the status is saved permanently to their data file.

Installation

  1. Requirement: Minecraft 1.21.11 and the Fabric Loader.
  2. Dependencies: Ensure Fabric API is installed in your /mods folder.
  3. Setup: Drop the ChestWarningMod.jar into your server or client /mods folder.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License – see the LICENSE file for details.

常见问题

ChestWarning 支持哪些 Minecraft 版本?

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

ChestWarning 怎么安装?

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

评论

登录后评论和评分