HatMe Configuration Reference - Serubin/HatMe GitHub Wiki

Restrict- This value (restrict:), when set to true, will use the whitelist in the configuration file to limit the block that players are allowed to put on their head.

restrict: true

Any item under the "allowed:" delimiter will be available for players to put on their heads, if HatMe is limiting blocks.

allowed: 
- 0
- 1
------
 Snip
------   
- 103
- 112

The notAllowedMsg value contains the string that is displayed to players when they try to put a disallowed block onto their head.

notAllowedMsg: Invalid Item

Default configuration file (YAML Encoding):

hatMe:
    restrict: true
    allowed: 
    - 0
    - 1
    - 2
    - 3
    - 4
    - 5
    - 12
    - 13
    - 14
    - 15
    - 17
    - 18
    - 20
    - 22
    - 23
    - 24
    - 25
    - 35
    - 41
    - 42
    - 44
    - 45
    - 46
    - 47
    - 48
    - 49
    - 52
    - 54
    - 57
    - 58
    - 80
    - 81
    - 82
    - 87
    - 88
    - 89
    - 91
    - 98
    - 103
    - 112
    notAllowedMsg: Invalid Item