1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00

Created Commands (markdown)

Suiranoil
2024-09-24 16:09:35 +03:00
parent bf63a84d97
commit 879438af42

85
Commands.md Normal file

@@ -0,0 +1,85 @@
**Note**: This page assumes you are using the default configuration. Some commands may behave differently if the configuration has been customized.
# Command List
### `skin set mojang`
Use this command to fetch and apply a skin from a valid Minecraft username.
```
/skin set mojang <username> [<targets>]
```
- **Parameters**
- `<username>`: The Minecraft username to fetch the skin from.
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
### `skin set ely.by`
Fetch and apply skins using a valid [Ely.by](https://ely.by/) username.
```
/skin set ely.by <username> [<targets>]
```
- **Parameters**
- `<username>`: Ely.by username to fetch the skin from.
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
### `skin set web`
Fetch and apply skins from any image URL, supporting both classic (Steve) and slim (Alex) skin models.
Uses [mineskin api](https://mineskin.org/) under the hood.
```
/skin set web (classic|slim) "<url>" [<targets>]
```
- **Parameters**
- `(classic|slim)`: Type of the skin model (`classic` for Steve model, `slim` for Alex model).
- `"<url>"`: URL pointing to the skin image file (ensure it follows Minecraft's skin size and format requirements).
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
### `skin refresh`
Refetch and reapply the currently applied skins.
```
/skin refresh [<targets>]
```
- **Parameters**
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
### `skin clear`
Remove the currently applied skins.
```
/skin clear [<targets>]
```
- **Parameters**
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
### `skin reset`
Reset to the default skin or remove any custom skin.
If [automatic skin fetching](https://github.com/Suiranoil/SkinRestorer/wiki/Configuration#fetchskinonfirstjoin) is enabled, a new skin will be fetched when the player rejoins the server.
```
/skin reset [<targets>]
```
- **Parameters**
- `[<targets>]`: (Optional, for server operators) Specify one or more players to apply the skin to. If not provided, the skin is applied to the player executing the command.
## Examples
```
/skin set mojang Notch
/skin set web classic "https://example.com/skin.png"
/skin clear @a
```