CheckYourChest
CheckYourChest 是一款适用于服务器和单人世界的 Minecraft 实用模组,非常适合管理农场或自动化物品系统的玩家。该模组允许玩家标记特定的箱子,实时追踪其内容,并通过 webhook 将详细的库存信息直接发送到 Discord 服务器。
无论您是离开基地还是希望监控存储空间,CheckYourChest 都能提供无缝的方式让您随时了解箱子里的情况。
功能?️
-
标记任意箱子
标记世界中任意单个或双格箱子并监控其内容。
-
支持单格与双格箱子
轻松自动处理单格和双格箱子。
-
实时更新
实时监控箱子内容,并按指定间隔自动发送更新。
-
通过 Webhook 集成 Discord
使用 webhook 将详细的库存报告直接发送到 Discord 频道。
-
适用于自动化系统
非常适合需要追踪资源的自动化、农场和大型存储系统。
工作原理
-
标记箱子
使用自定义物品(Marking Stick)标记任意箱子。当箱子被标记后,其内容将被定期追踪和更新。
-
箱子监控
实时监控箱子的内容。该模组兼容单格和双格箱子,确保满足所有存储需求的全面追踪。
-
自动 Webhook 更新
在每个间隔期(在配置文件中定义),已标记箱子的内容会被发送到您指定的 Discord webhook,提供详细的物品列表及其数量。
安装
-
要求
-
安装模组
- 将下载的
.jar 文件放入您的 Minecraft mods 文件夹中。
- 确保您已安装正确版本的 Forge。
配置?
-
Webhook 设置
要设置 Discord webhook,请按照以下步骤操作:
- 进入您的 Discord 频道设置。
- 在“Integrations”选项卡下,创建一个新的 webhook 并复制其 URL。
- 启动一次服务器 / 客户端世界。
- 现在您可以通过命令
/cyc setWebhookURL <URL> 输入 URL,或将 URL 粘贴到模组的配置文件(config/checkyourchest-common.toml)中。
- 重启服务器。
-
间隔设置
您可以通过调整配置文件中的 checkInterval 来自定义向 webhook 发送箱子更新的频率。该值的单位为分钟。例如:
checkInterval = 60 # 每小时发送一次更新
此外,您还可以在游戏中使用以下命令动态设置间隔:
/cyc setCheckInterval <minutes>
使用方法
-
获取 Marking Stick 的命令
在游戏中使用 /cyc 命令获取 Marking Stick。这个特殊物品允许您标记箱子以便进行监控。
-
标记箱子
要标记箱子,请手持 Marking Stick 并对想要追踪的箱子执行 潜行右键点击。模组将开始监控箱子的内容,并按照配置的间隔向您的 webhook 发送更新。
-
取消标记箱子
要取消标记箱子,只需手持 Marking Stick 对已标记的箱子或其他方块执行 潜行右键点击,即可取消该箱子的标记。
强制加载区块
您还可以使用 /cyc forceload <true|false> 命令来启用或禁用已标记箱子的区块强制加载。这可以确保箱子所在的区块保持加载状态,即使附近没有玩家。
此外,您可以在模组的配置文件(config/checkyourchest-common.toml)中配置此设置。例如:
forceLoadChunks = true # 确保已标记箱子的区块始终处于加载状态
默认情况下,区块强制加载是禁用的。如果启用,包含已标记箱子的区块将保持加载,以保证不间断的监控和更新。
Made with Love ❤️
CheckYourChest
CheckYourChest is a Minecraft utility mod designed for both servers and single-player worlds, perfect for players managing farms or automated item systems. The mod allows players to mark specific chests, track their contents in real-time, and receive detailed inventories via a webhook directly to a Discord server.
Whether you're away from your base or want to monitor your storage, CheckYourChest provides a seamless way to stay updated on what's happening in your chests.
Features?️
-
Mark Any Chest
Mark any single or double chest in your world and monitor its contents.
-
Track Single and Double Chests
Automatically handle both single and double chests with ease.
-
Real-Time Updates
Monitor chest contents in real-time and automatically send updates at specified intervals.
-
Discord Integration via Webhook
Send detailed inventory reports directly to a Discord channel using a webhook.
-
Ideal for Automated Systems
Perfect for automation, farms, and large storage systems where keeping track of resources is essential.
How It Works
-
Marking a Chest
Use a custom item (Marking Stick) to mark any chest. When a chest is marked, its contents will be tracked and updated at regular intervals.
-
Chest Monitoring
Track the chest's contents in real-time. The mod works with both single and double chests, ensuring comprehensive tracking for all your storage needs.
-
Automatic Webhook Updates
At each interval (defined in the config), the contents of the marked chest(s) are sent to your designated Discord webhook, providing a detailed list of items and their quantities.
Installation
-
Requirements
-
Install the Mod
- Place the downloaded
.jar file into your Minecraft mods folder.
- Ensure you have the correct Forge version installed.
Configuration?
-
Webhook Setup
To set up a Discord webhook, follow these steps:
- Go to your Discord channel settings.
- Under the "Integrations" tab, create a new webhook and copy its URL.
- Start the server / client world once.
- Now you can either enter the command
/cyc setWebhookURL <URL> or paste the URL in the mod's configuration file (config/checkyourchest-common.toml).
- Restart the server.
-
Interval Settings
You can customize how often chest updates are sent to the webhook by adjusting the checkInterval in the config file. This value is in minutes. For example:
checkInterval = 60 # Sends updates every hour
Additionally, you can set the interval dynamically in-game using the following command:
/cyc setCheckInterval <minutes>
Usage
-
Command to Get the Marking Stick
Use the /cyc command in the game to get the Marking Stick. This special item allows you to mark chests for monitoring.
-
Marking a Chest
To mark a chest, hold the Marking Stick and sneak right-click on the chest you want to track. The mod will start monitoring the contents of the chest and send updates to your webhook at the configured interval.
-
Unmarking a Chest
To unmark a chest, simply sneak right-click on the marked chest or any other block with the Marking Stick, and the chest will be unmarked.
Force Load Chunks
You can also use the /cyc forceload <true|false> command to enable or disable chunk force loading for marked chests. This ensures that the chunk where the chest is located remains loaded, even if no players are nearby.
Additionally, you can configure this setting in the mod's configuration file (config/checkyourchest-common.toml). For example:
forceLoadChunks = true # Ensures marked chests' chunks are always loaded
By default, chunk force loading is disabled. If enabled, chunks containing marked chests will remain loaded to guarantee uninterrupted monitoring and updates.
Made with Love ❤️
评论 0
登录后参与评分
还没有评论,来抢沙发吧