> For the complete documentation index, see [llms.txt](https://1294243258.gitbook.io/untiltheend-introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1294243258.gitbook.io/untiltheend-introduction/gu-you-shu-xing/shu-zhi-xian-shi-yu-wai-zhi-papi-bian-liang.md).

# 数值显示与PAPI变量

## 数值范围

* **理智值为 0\~角色最大理智值**
* **温度是     -5\~75**
* **湿度是     0\~100**
* **疲劳是     0\~100**

## BossBar

#### 如果你在配置中打开了BossBar选项

#### 玩家的理智值、湿度、温度将会以BossBar的形式出现

![BossBar显示](/files/-M1LN5CXwa3LgX6xuoN8)

* **湿度Bar在天气为晴且玩家湿度为0时消失**
* 默认 每秒刷新2次
* 看到上面那张图的箭头了吗？
* **属性上升则会出现 ↑**&#x20;
* **属性下降则会出现 ↓**

{% code title="hud.yml" %}

```yaml
bar: 
  enable: true  #是否开启Boss血量条显示固有属性
fresh: 10  #HUD多少刻刷新一次
```

{% endcode %}

## PAPI变量与计分板

### 插件不自带计分板，但是有许多PAPI变量噢\~

#### 插件的PAPI变量

| PAPI变量                  | 对应数值/字段           |
| ----------------------- | ----------------- |
| %ute\_san%              | 玩家的理智值            |
| %ute\_tem%              | 玩家的温度             |
| %ute\_hum%              | 玩家的湿度             |
| %ute\_tir%              | 玩家的疲劳值            |
| %ute\_season%           | 玩家所在世界的季节         |
| %ute\_role%             | 玩家所选的角色           |
| %ute\_sanmax%           | 玩家的最大理智值          |
| %ute\_healthmax%        | 玩家的最大生命值          |
| %ute\_level%            | 玩家目前角色的等级         |
| %ute\_damagelevel%      | 玩家的基础攻击倍率         |
| %ute\_day%              | 玩家所在世界的季节天数       |
| %ute\_sanitycolor%      | 玩家理智值状态对应的颜色（可配置） |
| %ute\_temperaturecolor% | 玩家温度状态对应的颜色（可配置）  |
| %ute\_humiditycolor%    | 玩家湿度状态对应的颜色（可配置）  |
| %ute\_tirednesscolor%   | 玩家疲劳值状态对应的颜色（可配置） |
| %ute\_seasoncolor%      | 玩家所在世界季节的颜色（可配置）  |
| %ute\_sanitytend%       | 玩家理智值的变化趋势（箭头）    |
| %ute\_temperaturetend%  | 玩家温度的变化趋势（箭头）     |
| %ute\_humiditytend%     | 玩家湿度的变化趋势（箭头）     |
| %ute\_tirednesstend%    | 玩家疲劳值的变化趋势（箭头）    |

{% code title="hud.yml" %}

```yaml
#理智值状态对应的颜色
sanityColor:
  120: "§a§l" #大于120
  90: "§6§l" #大于90小于120
  60: "§c§l" #以此类推
  30: "§4§l"
  0: "§0§l"

#湿度状态对应的颜色
humidityColor:
  5: "§b§l" #小于5
  15: "§3§l" #小于15大于5
  25: "§1§l" #大于15

#温度状态对应的颜色
temperatureColor:
  15: "§9§l" #小于15
  50: "§6§l" #小于50大于15
  75: "§4§l" #小于75大于50

#季节文字对应的颜色
seasonColor:
  SPRING: "§2§l" #春天
  SUMMER: "§e§l" #夏天
  AUTUMN: "§6§l" #秋天
  WINTER: "§7§l" #冬天
```

{% endcode %}

#### 实例计分板内容与设置

```yaml
scoreboard:
  list: 
  #计分板的内容（支持任何PAPI变量）
  - "§7§l理智值：%ute_sanitycolor%%ute_san%%ute_sanitytend%"
  - "§7§l温度：%ute_temperaturecolor%%ute_tem%%ute_temperaturetend%"
  - "§7§l湿度：%ute_humiditycolor%%ute_hum%%ute_humiditytend%"
  - "§7§l季节：%ute_seasoncolor%%ute_season%"
  - "§7§l季节天数：%ute_day%"
  
  title: "§9§k  §7§lUntilTheEnd§9§k  " 
```

### 显示-完

赞助地址：<https://afdian.net/order/create?plan_id=7cc5be1eb8dd11e9a25e52540025c377>

QQ官方交流群：1051331429


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://1294243258.gitbook.io/untiltheend-introduction/gu-you-shu-xing/shu-zhi-xian-shi-yu-wai-zhi-papi-bian-liang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
