Skip to content

Server /hat

Adds the /hat command

Fabric
Loaders
Fabric
Downloads on Modrinth
1.9K
Followers on Modrinth
9
versions
7
Updated
October 23, 2026Oct 23
Published
in 2025
2 · swipe

At a glance

Runs on Fabric
For Minecraft 1.21.7–26.3
Server only — players don't need to install it
Latest version — 1.3 from October 23, 2026
Requires Fabric API
License LGPL-3.0-only — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.21.7–26.3

A simple mod that adds the command /hat

Take an item in your hand and enter the command /hat — voila, and the item is on your head!

Setting the language of messages.

English and Russian are already present in the mod code.

  • language=en — English (default)
  • language=ru — Russian
  • language=custom — your own language that needs to be configured in the config.
#Hat Mod Configuration
command.hat.empty_hand=You must hold an item in your main hand\!
command.hat.players_only=This command can only be used by players\!
command.hat.replaced=Item replaced on your head\! Previous item returned to inventory.
command.hat.success=Item placed on your head\!
language=en

FAQ

How to install Server /hat?

Install Fabric for your Minecraft version, download Server /hat for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Server /hat support?

Server /hat has builds for Minecraft 1.21.7–26.3.

Is Server /hat needed on the server?

Server only — players don't need to install it

License and source
GNU Lesser General Public License v3.0 onlyfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More