LootRestock
描述
LootRestock 是一款轻量级的 Fabric 模组,用于追踪箱子被掠夺的时间,并在可配置的时段后自动重置它们。这确保了战利品可以随时间补充,非常适合持久化服务器、自定义地图以及冒险类游戏。
1.0.3 及以上版本(即 26.2 和 26.3)不再存在导致崩溃的栈溢出问题!
我不再支持 1.0.3 以下的任何版本。
请在此处报告问题:
主要功能
- 追踪玩家打开的所有可掠夺的箱子
- 仅在区块加载时根据原始战利品表重置箱子内容
- 使用简单的时间单位配置冷却时间(例如
7 days、12 hours、30 minutes) - 数据在服务器重启间持久保存
- 可选设置仅在超时后箱子为空时重置(或始终重置)
从 26.2 及更高版本起
- 试炼密室保险库的玩家列表重置
- 鞘翅物品框重生
配置
LootRestock 会在 ./lootrestock.properties 生成一个简单的配置文件,包含以下选项:
reset_time_value=7
reset_time_unit=days
only_reset_when_empty=true
include_barrels=false
reset_time_value: 箱子有资格重置前的时间单位数量reset_time_unit: 时间单位:seconds(秒)、minutes(分钟)、hours(小时)或days(天)only_reset_when_empty: (默认值:true)true:仅在箱子为空时(冷却期结束后)才会重置false:无论箱内是否有物品(冷却期结束后)都会重置
include_barrels: 是否重置木桶的战利品(默认值:false)
数据持久性
- 箱子交互数据存储在世界保存文件夹中(
chest_reset_data.json) - 安全地关闭或重载服务器不会丢失已跟踪的状态
用例示例
- 在多世界多人游戏中保持地牢战利品的新鲜度
- 在单人游戏中补给宝箱
- 确保玩家总有理由去探索
许可证
本模组为开源软件,采用 GPL v3 许可证。
LootRestock
Description
LootRestock is a lightweight Fabric mod that tracks when chests are looted and automatically resets them after a configurable period. This ensures that loot can replenish over time, ideal for persistent servers, custom maps, and adventure-based gameplay.
1.0.3 and up (that is 26.2 and 26.3) do not have the crashing stackoverflow issue!
I no longer support anything below 1.0.3.
Please report issues to:
Key Features
- Tracks every lootable chest opened by players
- Resets chest contents based on original loot tables only when chunks are loaded
- Configurable cooldown period using simple time units (e.g.
7 days,12 hours,30 minutes) - Persists data across server restarts
- Optionally reset only when chests are empty (or always) after timeout expires
From 26.2 and upwards
- Trial vault resetting of player lists
- Elytra item frame respawning
Configuration
LootRestock generates a simple config file at ./lootrestock.properties with the following options:
reset_time_value=7
reset_time_unit=days
only_reset_when_empty=true
include_barrels=false
reset_time_value: Number of time units before a chest is eligible for resetreset_time_unit: Units of time:seconds,minutes,hours, ordaysonly_reset_when_empty: (default value:true)true: Chests will reset only if empty (after the cooldown)false: Chests will reset regardless of contents (after the cooldown)
include_barrels: Whether barrel loot should get reset (default value:false)
Data Persistence
- Chest interaction data is stored in the world save folder (
chest_reset_data.json) - Safe to shut down or reload server without losing tracked state
Use Case Examples
- Keep dungeon loot fresh in multiplayer worlds
- Refill treasure chests in singleplayer
- Ensure players always have a reason to explore
License
This mod is open-source and licensed under GPL v3.
下载 LootRestock
下载 LootRestock
下载 LootRestock
下载 LootRestock
下载 LootRestock
下载 LootRestock
下载 LootRestock
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
一个基于构建器的 Minecraft 配置库!
评论 0
登录后参与评分
还没有评论,来抢沙发吧