# Citizens

## 动画化 Citizens 玩家 NPC

现在你可以为任何 Citizens 玩家 NPC 添加动画了！

{% hint style="success" %}
这个插件不需要 Citizens 也能工作，但有些服务器可能需要使用它来创建 NPC。
{% endhint %}

### 使 NPC 可动画化并更改皮肤

然后使用 **ItemsAdder** 命令更改皮肤：\
`/iaentity citizens playerskin <playerName|skinUrl>`\
示例：

* `/iaentity citizens playerskin LoneDev`
* `/iaentity citizens playerskin` [`https://minesk.in/8b4bf861ea544edd8529707276d24853`](https://minesk.in/8b4bf861ea544edd8529707276d24853)

### 可选：获取/上传自定义皮肤

{% content-ref url="/pages/fXkDie9XfA2E18aFpEFX" %}
[创建](/chinese/cha-jian-shi-yong-fang-fa/adding-content/player-emotes/creation.md)
{% endcontent-ref %}

### 使头部旋转

你可以使用此命令使 NPC 看向附近的玩家，更多信息请参见 [Citizens wiki](https://wiki.citizensnpcs.co/Commands)。\
`/npc look`

### 完成

{% embed url="<https://youtu.be/phr3GbGgJys>" %}

## 播放动画

你可以使用此命令播放动画：`/iaentity citizens anim play <animation>`


---

# Agent Instructions: 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://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/player-emotes/spawning/citizens.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.
