# Citizens

## Animating a player Citizens NPC

Finally you can animate any Citizens player NPC!

{% hint style="success" %}
This plugin doesn't require Citizens to work, but some servers might need to use it to create NPCs.
{% endhint %}

### Make the NPC animatable and change skin

Then change the skin using the **ItemsAdder** command:\
`/iaentity citizens playerskin <playerName|skinUrl>`\
Examples:

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

### Optional: getting/uploading custom skins

{% content-ref url="<https://github.com/LoneDev6/Wiki-ItemsAdder/blob/japanese/plugin-usage/adding-content/player-emotes/spawning/broken-reference/README.md>" %}
<https://github.com/LoneDev6/Wiki-ItemsAdder/blob/japanese/plugin-usage/adding-content/player-emotes/spawning/broken-reference/README.md>
{% endcontent-ref %}

### Make head rotate

You can make the NPC look at nearby players by using this command, more info on [Citizens wiki](https://wiki.citizensnpcs.co/Commands).\
`/npc look`

### Done

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

## Playing animation

You can play an animation using this command: `/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/japanese/plugin-usage/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.
