Revenants Hats

A stupidly simple, configurable and secure hat plugin.

24

Revenants Hats

Avalible on Modrith

Revenants Hats

A lightweight, highly configurable, and secure plugin that enables players to equip held items as hats.

Basic Hat

Features

- Very simple configuration - AntiDupe protection (unlike other hat plugins) - Straightforward permission system

Permissions

The plugin utilizes one primary permission `hat.use` that allows players to equip items as hats (defaults to true for all players).

Configuration

All settings are stored in the `./plugins/RevenantsHats/` directory. The `config.yml` file is generated automatically upon first server startup.

`Config.yml`: stores all confiuration options. Here is the default configuration: ```yaml messages: no-item-held: "§cYou must be holding an item to use /hat" hat-equipped: "§aHat equipped!" cannot-remove: "§cThis hat cannot be removed." cannot-drop: "§cThis hat cannot be dropped." cannot-pickup: "§cHat items cannot be picked up!" not-allowed-item: "§cYou cannot equip this item as a hat."

hat-restriction: mode: BLACKLIST materials: - bedrock - command_block ``` The `messages` key support legacy colour codes, custom text for all action bar notifications and can be fully customized.

The `hat-restriction`'s `mode` supports `BLACKLIST` (deny listed materials) and `WHITELIST` (allow only listed materials) respectively allowing you to allow or deny materials or blocks from being a hat.

The `materials` sub key allows a list of material names to add to your `hat-restriction`.

ADS