> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/ultimatequest-zhong-wen-wen-dang/gong-neng/task-limits.md).

# 任务名额

配置 config.yml 的 task-limits：

```yaml
task-limits:
  normal:
    total: 20
    categories:
      combat: 6
      gathering: 10
  scroll:
    total: 8
    categories:
      adventure: 4
      gathering: 4
  period:
    total: 12
    categories: {}
  battlepass-task:
    total: -1
    categories: {}
  categories:
    combat: -1
    gathering: -1
    uncategorized: -1
```

类型为 normal、scroll、period、battlepass-task，各含 total 和 categories.。根 task-limits.categories. 限制跨类型总量，所有限制同时生效。省略/-1 不限，0 禁止新增；无分类使用 uncategorized。多分类分别计入各上限，类型总数只计一次，一张卷轴只占一个任务名额。

完成未领奖仍占名额，已领奖、失效、未携带卷轴不占活动名额，战令/里程碑奖励容器不占。周期按整批检查，不足则保留旧任务，之后固定结果重试。挑战按配置顺序补入。降低上限不删除已有任务，管理员接取绕过仍检查名额。
