# Commands

{% hint style="info" %}
Commands in this plugin are configured in a way that some parameters may be optional or required. Any parameter that is between **\[]** is optional, and any value that is between **()** is required.
{% endhint %}

## /dp

Opens up a gui where users can configure their skin packs. It will in the later versions also be a place where users can see what other users' current skin is, along with changing the global settings of the plugin.

```
/dp
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.modify`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

## /disguise&#x20;

This command generates a random name and a skin from the database for the user executing the command.

```
/disguise
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.disguise`
{% endtab %}

{% tab title="Alias" %}
`/d`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

## /undisguise

Removes the current skin and name from the player and reverts their player properties. It can only be executed if a player is disguised.

```
/undisguise
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.undisguise`
{% endtab %}

{% tab title="Alias" %}
`/und`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

## /redisguise

This command is needed for the purpose of re-changing your skin. You can only do /disguise when your properties are default, otherwise use /redisguise.

```
/redisguise
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.disguise`
{% endtab %}

{% tab title="Alias" %}
`/rd`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

## /setskin

Changes the skin of the player to another player specified in the parameter.

{% tabs %}
{% tab title="Permission" %}
`permission.dp.skin`
{% endtab %}

{% tab title="Alias" %}
`/setskin`
{% endtab %}

{% tab title="Additional Details" %}
This command is a player only command, may not be executed by the console.
{% endtab %}
{% endtabs %}

### /setskin \<playerName>

```
/setskin <name>
```

| Parameters | Description                                   | Example   |
| ---------- | --------------------------------------------- | --------- |
| name       | The name of the player to model a player for. | ITSPINGER |

{% hint style="success" %}
&#x20; Correct usage:

**`/setskin ITSPINGER`**
{% endhint %}

## /unskin

Replaces the current skin of the player with their default. Different from /undisguise, which removes both skin and name.

```
/unskin
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.skin`
{% endtab %}

{% tab title="Alias" %}
`/resetskin`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

## /nick&#x20;

Changes the name of the player specified in the parameters.

{% tabs %}
{% tab title="Permission" %}
`permission.dp.nickname`
{% endtab %}

{% tab title="Alias" %}
`/nickname`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

{% hint style="success" %}
&#x20; Correct usage:

**`/nick Tylarzz`**
{% endhint %}

## /unnick

Removes the current nick from the player and sets the default one.

```
/unnick
```

{% tabs %}
{% tab title="Permission" %}
`permission.dp.nickname`
{% endtab %}

{% tab title="Alias" %}
`/unnickname, /resetnick`
{% endtab %}

{% tab title="Additional Details" %}
This command may not be executed by the console.
{% endtab %}
{% endtabs %}

##
