Source-checkedGameplay & overhauls

Hat

by Sigong · for Minecraft

Simple hat plugin

130KDownloads
4 yr agoLast updated
Spigot · PaperLoaders
1.20Latest game version

About Hat

From SpigotMC

Simple hat plugin

Hat
A simple hat plugin.

Simply hold a single block or item in your hand and type /hat
(As of v1.4.0, you can also put the hat directly into the helmet slot)
The hat can be removed in the same way as any other helmet.

If you need support, message me.
If you have a feature request, message me.
Keep in mind I'd like to keep this plugin as simple to use as possible.

Permissions

hat.
Grants use of every item (block and non-block) as hats.

hat.blocks
Grants the use of all blocks as hats.

hat.items
Grants the use for all non-block items as hats.

hat.ITEM_NAME_HERE
Grants use of the a specific item as a hat. Use the list of materials located in the spigot javadoc to get the proper name of a given item.

<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Only for Version 1.3.1 and Below</button>
-hat.ITEM_NAME_HERE
Denies the use of the command for a specific item.

Examples

  • hat.WHITE_CONCRETE would grant the use of a block of white concrete as a hat.
  • hat.DIAMOND would grant the use of a diamond as a hat.
  • hat. and -hat.STONE together would grant the use of anything except a stone block as a hat.

Message Customization

To customize the messages the plugin sends in response to commands or manual hat placement, edit the messages.yml file in the Hat folder in the plugins folder in your server's root directory.
Standard Minecraft color codes are supported ( https://minecraft.wiki/w/Formatting_codes#Color_codes), the character '&amp;' is used to indicate that the next character is a color code. Be sure to also enclose each message in single quotes ( ' ).
Messages can also be disabled completely using an option in the file.
Once you have edited or disabled the messages, reload or restart the server to apply the changes.
If you are experiencing errors related to messages.yml, or your messages aren't appearing, the easiest fix is to delete messages.yml and reload or restart the server. A new copy of the default file will be generated.

Requested Features
  • Put on a hat by moving it to the helmet slot without using the command (same permissions will apply). COMPLETE
  • Allow messages to be completely disabled. COMPLETE
  • New command "/hat reload" will allow you to reload all yml files (currently just messages.yml) associated with the plugin without reloading the entire server.
  • Post the code on GitHub or similar site. COMPLETE
  • Dynamically register permissions so that they show up in tab-complete of plugins like LuckPerms COMPLETE

Highlights

From source data

Game versions

Supports 8 Minecraft versions, the newest being 1.20.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Hat on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.5.0, released 2022-08-03

Game versions by loader

LoaderGame versionsNewest
Paper1.13 to 1.20 (8 versions)1.20
Spigot1.13 to 1.20 (8 versions)1.20

From 10 recorded builds of Hat.

Recent builds

BuildReleasedGame versionsLoaders
1.5.02022-08-031.13 to 1.20 (8 versions)Spigot, Paper
1.4.42022-06-16n/aSpigot, Paper
1.4.32021-12-27n/aSpigot, Paper
1.4.22021-08-22n/aSpigot, Paper
1.4.12021-06-29n/aSpigot, Paper
1.4.02021-06-29n/aSpigot, Paper

Run Hat on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Fun”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

SpigotMC lists Hat as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.20 and 7 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorSigong, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

Hat, answered

Generated from the mod’s own source data.

Do my players need to install Hat?

SpigotMC lists Hat as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. Hat is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Hat on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Hat in one click.