alRex-U / alRex-U/ParCool

## Feature Request: Add Max Stamina and Recovery Speed Options to Config

未关闭
#498 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
132
派生
62
平均合并
1 天 2 小时
30 天内合并 PR
2

描述

Currently, the only way to change the maximum stamina is through the `/attribute` command, which doesn't persist across worlds and has to be reapplied manually. It would be helpful to add two new options to the `[Stamina]` section in the config file:

```toml
[Stamina]
# Maximum stamina value
# Range: 1 ~ 32767
max_stamina = 2000

# Stamina recovery per tick
# Range: 0.0 ~ 100.0
stamina_recovery = 1.0
```

This would allow server admins to configure stamina globally in one place, without relying on commands or datapacks.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by tracing the existing /attribute command and the code that reads the [Stamina] configuration section. Add configuration handling for max_stamina and stamina_recovery with the stated ranges, then verify that both values persist across worlds and control stamina behavior without requiring the command or datapacks.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
game-dev
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
64/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。