Paper plugin that makes mobs not attack players wearing mob heads. Note that, because Spigot lacks important APIs used by this plugin, this plugin does not run on Spigot and you will need to use Paper or a fork of Paper instead.
The config.yml
file contains every option provided by this plugin. These settings can also be set via an in-game command (see below). Descriptions of each option are shown:
This sets whether or not a "disguise" (aka head) should work on all mobs this plugin affects or just mobs of the head's type. For example, when this is on, neither zombies, creepers, skeletons, or wither skeletons will attack a player wearing a zombie head. While this is off, wearing a zombie head will only prevent attacks from zombies.
These settings specificy whether or not mobs of type "x" are dumb in that they do not attack players wearing their type of head. This setting is ignored if magic-disguises
is set to true
.
This plugin has one simple root command, /disguises
. This command can only be run by those with the disguises.control
permission. The subcommands are listed below.
This command reloads the configuration from the disk, allowing you to change settings without restarting the server.
This command allows you to set options in the config file in-game. The format is as follows:
/disguises set <config-name> <value (true or false)>
This plugin does not entirely prevent mobs from attacking you. For example, if you attack a zombie, even while wearing a zombie head, it will still retaliate, and nearby zombies will as well. This is applicable to real mobs as well: if a skeleton shoots another skeleton, the second one will shoot back, so why should that not be the case if a player wearing a skeleton skull shoots a skeleton?