# Creation

## Creating an NPC

You can create it in various ways. The first and most common it's Mojang names. But here's the list of the supported methods in ServerNPC.

* Mojang
* Mineskin
* Self Skin

## Mojang

To create a NPC with Mojang name it's very very simple.

{% hint style="info" %}
/npc create test1 iSnakeBuzz\_
{% endhint %}

If you typed this command, you will notice the NPC has spawned with my skin, but you can change my name (iSnakeBuzz\_) for anyone name.

{% hint style="danger" %}
Only if the name it's a Premium account, if not, it will be appear as a Steve.
{% endhint %}

## Mineskin

> **MineSkin.org** allows you to generate **skin texture data** signed by Mojang.\
> These can be used on ingame skull blocks or to change a player's skin using some packet magic :).

Said by Mineskin.

It allows you to upload Skins without needing a Minecraft Account. Well, you can use the generated IDS in ServerNPC to create fantastic NPCs.

![](/files/-MZnQmPBPdQiMbZDa67c)

<figure><img src="/files/V6bHndzYTRh8n5S3YYt1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
/npc create test2 420161720
{% endhint %}

{% hint style="success" %}
/npc create test2 <https://minesk.in/1ecaf3f7322340e4871c9cd541f4aaa6>
{% endhint %}

And done, you've created a NPC with Mineskin. Very simple, right?

## Self Skin

Well, to use this, you need [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) installed in your Server. If you don't know what it is, I fully recommend you to read the official page. But simplifying that, it's a library of placeholders.

First of all you need to install the `Player` extension to continue.

```
/papi ecloud download Player
/papi reload
```

Execute both commands to a correct installation of the extension. Then we can continue with the NPC creation.

{% hint style="info" %}
/npc create test3 %player\_name%
{% endhint %}

Well, that very easy, if you don't see your Skin, probably you are a cracked player, at the moment we are working on a fix to work with SkinsRestorer but do not have a estimated time for that.


---

# 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://snpc.docs.snake.rip/guide/creation.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.
