Timed Harvest – 自动重置资源世界
Timed Harvest 是一款面向多人服务器的服务端 Minecraft Fabric 模组,专为需要可再生资源采集区域的服务器设计。该模组会创建独立的维度世界(如采矿、下界、末地等),并支持按配置的时间表自动重置,确保玩家始终能获取新鲜资源,且不会影响主世界。
?️ 主要功能
- 自动世界重置:配置资源世界每隔 X 小时重置一次(例如每周重置的采矿世界、每月重置的末地世界)。
- 自定义维度:创建多个具有不同世界类型的资源世界(主世界、下界、末地)。
- 独特世界生成:每个世界使用唯一的种子进行生成——支持自动生成或自定义定义。
- 世界边界:设置可配置的世界边界,以限制探索范围并提升性能。
- 现代化 GUI 系统:为所有玩家和管理员提供精美、采用金色/黄色主题的界面。
- 资源世界选择器 (
/th):简洁的分页 GUI,供玩家查看并传送至可用的资源世界。
- 管理员仪表板 (
/th admin):为操作员提供的可视化界面,所有关键操作(删除、重置、传送、启用/禁用、设为主世界、状态)均带有确认对话框。
- 确认对话框:所有管理员操作现在都需要通过专用 GUI 进行确认,防止误操作。
- 一致的导航体验:返回按钮和导航功能始终将您带回正确的上一级屏幕(例如“资源世界”GUI)。
- 权限感知:管理员功能仅对拥有操作者权限(权限等级 2+)的用户可见。
- 玩家通知:在重置前通过倒计时消息提醒玩家(60、30、10、5 分钟警告)。
- 便捷传送:支持命令补全的简单命令,方便在世界间传送。
- 增强的 Create 命令:支持完整的世界自定义,包括 worldType、seed、border 和结构生成设置。
- 维度验证:通过友好的错误信息防止无效的维度名称。
- 自动修复与验证:自动配置文件验证及游戏内故障排除帮助。
- JSON 配置:易于编辑的配置文件,包含所有选项并支持自动验证。
⚙️ 工作原理
服务器管理员在 config/timed-harvest.json 中配置资源世界,指定以下内容:
- 世界 ID 和维度名称
- 重置间隔(小时)
- 世界类型(
minecraft:overworld、minecraft:the_nether、minecraft:the_end)
- 种子(0 表示自动生成随机种子,或使用自定义种子)
- 世界边界直径(方块数)
- 结构生成设置
玩家使用 /timedharvest tp <worldId> 访问资源世界。当重置计时器到期时,玩家会被踢出当前世界,所有世界数据将被删除,并根据配置的设置重新生成一个全新的世界。主世界将完全不受影响。
注意: 这确保了服务器上的可持续资源采集,同时保持了玩家建筑结构和主世界地形的完整性。
?️ 要求
- Minecraft 1.20.1
- Fabric Loader 0.15.11+
- Fabric API 0.92.2+
- Java 21 LTS
Timed Harvest – Auto-Resetting Resource Worlds
Timed Harvest is a server-side Minecraft Fabric mod designed for multiplayer servers that need renewable resource gathering areas. The mod creates separate dimensional worlds (mining, nether, end, etc.) that automatically reset on configurable schedules, ensuring players always have access to fresh resources without affecting the main world.
?️ Key Features
- Automatic World Resets: Configure resource worlds to reset every X hours (e.g., weekly mining world, monthly end world).
- Custom Dimensions: Create multiple resource worlds with different world types (overworld, nether, end).
- Unique World Generation: Each world generates with unique seeds – automatic or custom-defined.
- World Borders: Set configurable world borders to limit exploration and improve performance.
- Modern GUI System: Polished, gold/yellow themed interface for both players and admins.
- Resource World Selector (
/th): Clean, paginated GUI for players to view and teleport to available resource worlds.
- Admin Dashboard (
/th admin): Visual management interface for operators, with confirmation dialogs for all critical actions (delete, reset, teleport, enable/disable, set main, status).
- Confirmation Dialogs: All admin actions now require confirmation via a dedicated GUI, preventing accidental changes.
- Consistent Navigation: Back buttons and navigation always return you to the correct previous screen (e.g., Resource Worlds GUI).
- Permission-Aware: Admin features are only visible to operators (permission level 2+).
- Player Notifications: Warns players before resets with countdown messages (60, 30, 10, 5, 1 minute warnings).
- Easy Teleportation: Simple commands with tab-completion to teleport between worlds.
- Enhanced Create Command: Full world customization with worldType, seed, border, and structure settings.
- Dimension Validation: Prevents invalid dimension names with helpful error messages.
- Auto-Fix & Validation: Automatic config validation and in-game troubleshooting help.
- JSON Configuration: Easy-to-edit configuration file with all options and auto-validation.
⚙️ How It Works
Server administrators configure resource worlds in config/timed-harvest.json, specifying:
- World ID and dimension name
- Reset interval in hours
- World type (
minecraft:overworld, minecraft:the_nether, minecraft:the_end)
- Seed (0 for automatic random generation, or custom seed)
- World border diameter in blocks
- Structure generation settings
Players use /timedharvest tp <worldId> to access resource worlds. When the reset timer expires, players are kicked from the world, all world data is deleted, and a fresh world is generated with the configured settings. The main world remains completely untouched.
Note: This ensures sustainable resource gathering on servers while maintaining the integrity of player builds and main world terrain.
?️ Requirements
- Minecraft 1.20.1
- Fabric Loader 0.15.11+
- Fabric API 0.92.2+
- Java 21 LTS
评论 0
登录后参与评分
还没有评论,来抢沙发吧