HatCommand: Wear Any Block as a Hat in Minecraft

Discover HatCommand for Minecraft – a highly configurable hat plugin. Learn how to install, configure permissions, and use the /hat command. Download HatCommand today!

Download HatCommand for Minecraft 1.21.2

Original name: HatCommand

Minecraft: 1.21.2

FileVersionLoaderSize
HatCommand-1.0.jar1.21.2—9 КБDownload

HatCommand

Minecraft servers thrive on unique, player-driven experiences, and few things spark creativity like the ability to wear any block on your head. HatCommand is a lightweight yet powerful plugin that brings this exact feature to your server, giving players a simple command to turn the block they are holding into a wearable helmet. Whether you run a survival, creative, or minigame server, this tool adds a layer of fun and personalization that your community will love.

HatCommand plugin interface showing a player wearing a block as a hat in Minecraft

What Makes HatCommand Stand Out?

HatCommand is not just another hat plugin. It is built with server administrators in mind, offering deep configurability without sacrificing ease of use. The core mechanic is instant: hold a block, type /hat, and it appears on your head. But behind that simplicity lies a robust set of controls that let you fine-tune exactly how players interact with the feature.

Instant Block Hats with Material Control

By default, any block a player holds can become a hat. However, you can enable a whitelist system to restrict which materials are allowed. This prevents players from wearing inappropriate or overpowered blocks. The configuration file lets you list permitted materials like GLASS, STONE, or IRON_BLOCK, ensuring the feature stays balanced and fits your server's theme.

Cooldown Management

Spammy hat changes can be distracting. HatCommand includes a configurable cooldown measured in milliseconds. Set it to 5000 (5 seconds) or any value that suits your server's pace. When a player tries to use the command too quickly, they receive a clear message with the remaining wait time, thanks to the %cooldown% placeholder in the messages file.

Granular Permission System

Security is a priority. HatCommand splits permissions into two nodes: hat.use for the basic command and hat.reload for administrators who need to apply config changes on the fly. This separation keeps your server secure while giving staff the tools they need without granting unnecessary access.

How to Install HatCommand on Your Server

Getting started with HatCommand for Minecraft is straightforward. First, ensure your server runs a compatible version of Minecraft (the plugin supports modern Paper, Spigot, and Bukkit-based servers). Download HatCommand from a trusted source and place the JAR file into your server's plugins folder. After restarting the server, the plugin will generate its default configuration files automatically. If you use the foxygame.net launcher, you can skip the manual steps entirely—just search for HatCommand in the built-in add-on catalog and install it with one click, with automatic version compatibility checks handled for you.

Configuring HatCommand: Permissions and Settings

Once installed, you will find two YAML files: config.yml and messages.yml. The main config controls cooldown, material whitelisting, and the list of allowed blocks. The messages file lets you customize every chat response, from success notifications to error alerts. All messages support MiniMessage formatting, so you can use colors and styles like <green> or <white> to match your server's branding.

Essential Permission Nodes

  • hat.use – Grants access to the /hat command.
  • hat.reload – Allows reloading the plugin configuration with /hat reload.

Commands at a Glance

  • /hat – Wear the block you are holding as a helmet.
  • /hat reload – Reload the plugin config without restarting the server.

Using the /hat Command in Game

Players will find the command intuitive. Simply hold the desired block in your main hand and type /hat. If you have the correct permission and the material is allowed (when whitelisting is active), the block moves to your helmet slot. The plugin checks for common issues: it warns if you are not holding an item, if you hold more than one, or if the material is restricted. All feedback is instant and clear, reducing confusion and support requests.

Why Choose HatCommand for Your Minecraft Server?

There are many hat plugins available, but HatCommand focuses on doing one thing exceptionally well. Its lightweight design means minimal impact on server performance, and the configurable cooldown prevents abuse. The separate reload permission empowers staff to tweak settings live without giving full operator access. Additionally, the active Discord community behind the plugin offers a place to suggest features, get configuration help, and discover other quality plugins. For server owners who value both fun and control, HatCommand strikes the perfect balance.

Whether you are building a roleplay world where players wear crowns of stone, or a competitive server where hats are a rare privilege, HatCommand adapts to your vision. Download HatCommand today and give your community a new way to express themselves, one block at a time.