Описание
# Player Heads
**Version:** Paper/Spigot 1.21.5
**Author:** TomMustBe12
---
## Overview
This plugin allows **any player** to get the player head of any Minecraft username using the command `/playerhead `. It fetches the custom player head texture directly from the Mojang API, so you get the correct skin head for the specified player.
---
## Features
- Fetches player heads by username using Mojang’s official API
- Easy to use command: `/playerhead `
- Gives a player head item with the correct skin texture
- No additional setup or config needed
---
## Commands & Permissions
### `/playerhead `
- Gives you the player head of the specified username
- Requires permission:
- `playerhead.give` — Allows using the `/playerhead` command
### Permissions Summary
| Permission | Description | Default |
|------------------|-------------------------------------|-----------|
| `playerhead.give` | Allows the player to use `/playerhead` command | OP only |
*Note:* Only players with the `playerhead.give` permission can use the command. By default, this permission is granted to operators (OPs) only.
---
## Usage
1. Give yourself permission or be OP:
`/lp user YourName permission set playerhead.give true` (if using LuckPerms)
2. Use the command to get any player’s head:
`/playerhead Notch`
3. The plugin will fetch the skin texture from Mojang API and give you the correct player head item.
---
## Additional Notes
- Requires internet access to fetch player skin data from Mojang API
- If the player name is invalid or skin fetch fails, you will receive a normal player head item or an error message
- Works with any valid Minecraft Java Edition username, whether they have joined the server or not.
---
## Support & Contributions
If you encounter issues or want to suggest improvements, please open an issue or contact the author on the plugin’s repository.