CobbleHunts
CobbleHunts 是一款 Fabric 模组,为 Cobblemon 添加了完整的宝可梦狩猎系统。通过服务器范围的 Global Hunts(全球狩猎)促进社区协作,或通过分级 Solo Hunts(单人狩猎)挑战个人玩家。凭借对宝可梦、奖励和计时器的深度自定义功能,你可以为社区打造完美的狩猎体验。
依赖项
功能特性
- 双重狩猎系统:提供服务器范围的 Global Hunts(全球狩猎)以增强社区互动,以及分级的 Solo Hunts(单人狩猎,分为简单、普通、中等、困难四个等级)以促进个人玩家的成长。
- 深度自定义:精确定义哪些宝可梦可以出现在狩猎中,包括特定形态、特征(如闪光)、性别、性格,甚至所需的完美个体值(IV)。
- 灵活的奖励机制:为每种狩猎类型创建独特的战利品表。给予玩家物品、执行命令(例如增加经济货币),或两者兼有。使用加权系统随机获得单一奖励,或使用百分比系统给予多个奖励。
- 直观的玩家界面:玩家可以通过简洁易用的界面查看所有活跃的狩猎任务、接受任务并提交捕获的宝可梦。
- 强大的管理员工具:全套命令允许你实时重载配置文件、管理玩家冷却时间,甚至撤销错误的提交操作。
- 游戏内编辑器:管理员可以使用
/hunts editor图形界面在游戏内直接管理宝可梦池和奖励池,无需退出游戏。
命令
主要命令为 /hunts。所有权限节点均可在配置文件中完全自定义。
| 命令 | 权限节点 | 描述 |
|---|---|---|
/hunts |
cobblehunts.hunts |
打开主图形界面,查看和管理你的活跃狩猎任务。 |
/hunts editor |
cobblehunts.editor |
打开强大的游戏内编辑器,修改宝可梦池和战利品池。 |
/hunts reload |
cobblehunts.reload |
从磁盘重新加载所有配置文件,无需重启服务器。 |
/hunts revertturnin <player> <pokemon> |
cobblehunts.revertturnin |
将已提交用于狩猎任务的宝可梦返还给玩家的队伍。 |
/hunts cooldowns <action> <type> ... |
cobblehunts.cooldowns |
管理玩家冷却时间。操作包括 reset(重置)、extend <seconds>(延长秒数)和 decrease <seconds>(减少秒数)。 |
配置亮点
CobbleHunts 使用位于 config/cobblehunts/ 的多文件配置系统,以实现最大程度的组织性。编辑后,请使用 /hunts reload 应用更改。
config.jsonc - 核心设置
此文件控制狩猎系统的基本行为。
| 设置项 | 描述 |
|---|---|
globalHuntsEnabled |
全局开关(true/false),用于开启或关闭整个服务器的 Global Hunts(全球狩猎)。 |
soloHuntsEnabled |
所有 Solo Hunts(单人狩猎)的全局开关。 |
globalTimeLimit & globalCooldown |
设置 Global Hunts(全球狩猎)的持续时间(秒)以及新任务开始前的等待期。 |
solo[Difficulty]TimeLimit & solo[Difficulty]Cooldown |
设置每个单独的 Solo Hunts(单人狩猎)等级(例如 soloEasyTimeLimit)的计时器和冷却时间。 |
autoTurnInOnCapture |
如果为 true,一旦捕获匹配的宝可梦,狩猎任务将立即完成,无需手动提交。 |
takeMonOnTurnIn |
如果为 true,狩猎任务完成时将从玩家的队伍中扣除该宝可梦。设置为 false 则让玩家保留捕获的宝可梦。 |
rewardMode |
选择 "weight"(从池中随机给出一个奖励)或 "percentage"(每个奖励都有机会被给予)。 |
autoAcceptSoloHunts |
如果为 true,当玩家的某个等级冷却结束时,系统将自动为其分配新的狩猎任务。 |
pokemon_pools.jsonc - 定义狩猎目标
在此文件中指定哪些宝可梦可以出现在狩猎中。你可以为 Global Hunts(全球狩猎)和四种 Solo Hunts(单人狩猎)等级分别创建不同的池子。
每个宝可梦条目允许进行精确筛选:
species:宝可梦的 ID(例如"pikachu")。form:(可选)指定形态,如"alolan"。aspects:(可选)所需特征的列表,如"shiny"。chance:加权值,决定该宝可梦从池中选中的可能性。gender:(可选)对于较高难度,可以要求"male"或"female"。nature:(可选)对于较高难度,可以要求特定的性格(例如"adamant")。ivRange:(可选)对于最高难度,指定所需的完美(31)个体值数量(例如"2")。
loot_pools.jsonc - 制作奖励
定义玩家在成功完成狩猎后获得的奖励。每种狩猎类型和难度都有其独立的奖励列表。
- 奖励类型:你可以创建两种类型的奖励:
"command":执行服务器命令。使用%player%作为玩家名称的占位符。这非常适合与经济系统集成。"item":直接向玩家给予物品,并通过serializableItemStack完整支持 NBT 数据。
- 显示物品:对于命令类奖励,你仍然可以定义一个物品栈以在图形界面中显示,以便玩家了解奖励代表什么。
chance:加权值,决定从池中授予此特定奖励的概率。
CobbleHunts
CobbleHunts is a Fabric mod that adds a complete Pokémon hunting system to Cobblemon. Engage your server with server-wide Global Hunts for community collaboration or challenge individual players with tiered Solo Hunts. With deep customization for Pokémon, rewards, and timers, you can create the perfect hunting experience for your community.
Dependencies
Features
- Dual Hunt System: Features both server-wide Global Hunts for community engagement and tiered Solo Hunts (Easy, Normal, Medium, Hard) for individual player progression.
- Deep Customization: Define exactly which Pokémon can appear in hunts, including specific forms, aspects (like shiny), genders, natures, and even required perfect IVs.
- Flexible Rewards: Create unique loot tables for each hunt type. Give players items, run commands (like adding economy money), or both. Use a weighted system for a single random reward or a percentage system to give multiple rewards.
- Intuitive Player GUI: Players can view all active hunts, accept missions, and turn in their catches through a clean and easy-to-use interface.
- Powerful Admin Tools: A full suite of commands lets you reload configs live, manage player cooldowns, and even revert a mistaken turn-in.
- In-Game Editors: Admins can use the
/hunts editorGUI to manage the Pokémon and reward pools without ever leaving the game.
Commands
The primary command is /hunts. All permission nodes are fully configurable in the config file.
| Command | Permission | Description |
|---|---|---|
/hunts |
cobblehunts.hunts |
Opens the main GUI to view and manage your active hunts. |
/hunts editor |
cobblehunts.editor |
Opens the powerful in-game editor to modify Pokémon and loot pools. |
/hunts reload |
cobblehunts.reload |
Reloads all configuration files from disk without a server restart. |
/hunts revertturnin <player> <pokemon> |
cobblehunts.revertturnin |
Returns a Pokémon that was turned in for a hunt back to a player's party. |
/hunts cooldowns <action> <type> ... |
cobblehunts.cooldowns |
Manages player cooldowns. Actions include reset, extend <seconds>, and decrease <seconds>. |
Configuration Highlights
CobbleHunts uses a multi-file configuration system located in config/cobblehunts/ for maximum organization. After editing, use /hunts reload to apply changes.
config.jsonc - Core Settings
This file governs the fundamental behavior of the hunting system.
| Setting | Description |
|---|---|
globalHuntsEnabled |
A master switch (true/false) to turn Global Hunts on or off for the entire server. |
soloHuntsEnabled |
The master switch for all Solo Hunts. |
globalTimeLimit & globalCooldown |
Sets the duration (in seconds) for Global Hunts and the waiting period before new ones start. |
solo[Difficulty]TimeLimit & solo[Difficulty]Cooldown |
Sets the timer and cooldown for each individual Solo Hunt tier (e.g., soloEasyTimeLimit). |
autoTurnInOnCapture |
If true, a hunt completes the instant a matching Pokémon is captured, no manual turn-in required. |
takeMonOnTurnIn |
If true, the Pokémon is taken from the player's party upon hunt completion. Set to false to let players keep their catches. |
rewardMode |
Choose between "weight" (gives one random reward from the pool) or "percentage" (each reward has a chance to be given). |
autoAcceptSoloHunts |
If true, players are automatically assigned a new hunt as soon as their cooldown for that tier ends. |
pokemon_pools.jsonc - Defining Hunt Targets
This file is where you specify which Pokémon can appear in hunts. You can create distinct pools for Global Hunts and each of the four Solo Hunt tiers.
Each Pokémon entry allows for precise targeting:
species: The ID of the Pokémon (e.g.,"pikachu").form: (Optional) Specify a form, like"alolan".aspects: (Optional) A list of required aspects, like"shiny".chance: A weighted value that determines how likely this Pokémon is to be selected from the pool.gender: (Optional) For higher difficulties, you can require"male"or"female".nature: (Optional) For higher difficulties, you can require a specific Nature (e.g.,"adamant").ivRange: (Optional) For the hardest difficulty, specify the number of perfect (31) IVs required (e.g.,"2").
loot_pools.jsonc - Crafting Rewards
Define what players receive upon successful hunt completion. Each hunt type and difficulty has its own reward list.
- Reward Types: You can create two kinds of rewards:
"command": Executes a server command. Use%player%as a placeholder for the player's name. This is perfect for economy integration."item": Directly gives the player an item, with full support for NBT data via aserializableItemStack.
- Display Item: For command rewards, you can still define an item stack to be shown in the GUI, so players know what the reward represents.
chance: A weighted value that dictates the probability of this specific reward being granted from the pool.
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
下载 CobbleHunts
- 修复了自动交任务不尊重所有要求的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一堆修复
模组
如果游戏能告知重要的刷新点,会怎样?
模组
一款适用于你选择的加载器的 Minecraft VR 模组!
模组
为盔甲架添加图形用户界面,允许你配置其姿势和其他属性
评论 0
登录后参与评分
还没有评论,来抢沙发吧