Hat icon

Hat -----

Simple hat plugin




Changelog:
  • Plugin now registers permissions dynamically using the material enum. This should make permissions appear in tab-complete of permissions plugin commands.
  • Permissions checking has been rewritten. No behavior should have changed, so please report any differences.
----------, Aug 3, 2022

Changelog:
  • Added an option in messages.yml that allows all messages to be disabled (they will remain enabled by default, messages.yml will be updated automatically).
----------, Jun 16, 2022

Changelog:
  • Allowed the /hat command to be run while holding air to remove the current hat.
  • Confirmed that the plugin works on spigot 1.18.1 and updated the main page to state this.
----------, Dec 27, 2021

I accidentally introduced a duplication glitch in version 1.4.1.
(Player uses a macro to rapidly don and doff a hat, the hat is sometimes duplicated).
This glitch has been removed.
Thank you to the users who brought this to my attention!
----------, Aug 22, 2021

Changelog:
  • Removed debug message that I forgot about.
----------, Jun 29, 2021

Changelog:
  • Added the ability to put items that the player has permission to wear into the helmet slot manually without using the command (this feature does not work in creative mode).
  • Changed the default messages in messages.yml for when a player doesn't have permission to wear a hat, and for when the hat's stack size is too large
Notes:
  • The permissions for putting the hat in the slot manually are the same as the permissions for a command (if a player has Hat.STONE, they can use the command while holding stone, and put stone in their helmet slot manually).
  • Items that could already be worn as hats are not affected by the change (you won't need to give players permission to wear an iron helmet, for example). The way I implemented this was a little weird, so please let me know in a DM if you notice any abnormal behavior.
----------, Jun 29, 2021

Permission checking has been updated to allow the universal star permission in plugins like PermissionsEx and LuckPerms to work as intended.
Built-in negative permissions have been removed. It turns out that I didn't need to implement them at all. if you want to negate a permission, use whatever method your permission plugin requires.
----------, Jan 7, 2021

The plugin is supposed to use the default version of the messages.yml file if it is invalid, but it was not doing that. This update fixes that functionality
----------, Jul 9, 2020

Added a messages.yml file to allow users to customize the plugin's messages.
The file supports standard color codes ( https://minecraft.gamepedia.com/Formatting_codes) and uses '&' as the indicator that the next character is a color code.
Officially updated the plugin to work with Spigot 1.16
----------, Jul 9, 2020

Fixed bug that caused command to not work properly for server operators.
----------, Apr 9, 2020

Added the ability to set a negative permission to deny the use of a certain item as a hat.
----------, Apr 5, 2020

Resource Information
Author:
----------
Total Downloads: 126,902
First Release: Dec 30, 2016
Last Update: Aug 3, 2022
Category: ---------------
All-Time Rating:
24 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings