> For the complete documentation index, see [llms.txt](https://itemsadder.devs.beer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/player-emotes/spawning/citizens.md).

# 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
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, and the optional `goal` query parameter:

```
GET https://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/player-emotes/spawning/citizens.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
