HeadCommands is a Bukkit/Paper plugin for loading heads from Minecraft-Heads.com. Heads are cached in a configurable MySQL database. It provides commands to list categories, search heads inside a category, and give a head by its known Minecraft-Heads ID.
Head data and textures are provided by Minecraft-Heads.com.

- Caches Minecraft-Heads.com categories and custom heads in MySQL.
- Searches cached heads by category and name tokens.
- Lists clickable chat results that run
/headcommands give <id>. - Creates player heads locally from cached texture URLs.
- Paper or compatible Bukkit server for Minecraft 1.21.11.
- Java 21.
- CubesideUtils.
- MySQL-compatible database.
- Minecraft-Heads.com free or better API key.
Copy the plugin jar to the server plugins folder, start the server once, and edit plugins/HeadCommands/config.yml.
Configure:
database.host,database.user,database.password,database.database,database.tableprefixapi.baseUrlapi.apiKeysettings.refreshOnEnablesettings.resultsPerPage
Without a valid free API key, remote refresh is disabled and the plugin keeps using any existing database cache.
/headcommands categories [page]lists cached categories./headcommands search <categoryId|categoryName> <query...>searches heads in one category./headcommands give <id> [amount]gives the executing player a cached head./headcommands refreshrefreshes the database cache from Minecraft-Heads.com./headcommands reloadreloads config and database cache.
/heads is an alias for /headcommands.
mvn packageThe plugin jar is written to target/HeadCommands.jar.
HeadCommands is licensed under the BSD 2-Clause License. See LICENSE.md.