What is MobControl?
MobControl is a plugin that allows server administrators to control which individual players/groups mobs can target and attack.
Configuration
Currently, the config file is the only method of setting mob passiveness. The Config file (config.yml) is made up of 3 basic elements: settings, groups and players. Below is an example configuration.
settings: usePermGroups: true groups: default: all: true zombie: false players: jhett12321: zombie: true creeper: true
Players
Setting up customized mob targeting for players is as simple as adding the players name to the configuration.
Player Example (Prevent all mobs from attacking the player named exampleplayer
players: exampleplayer: all: true
Permission Groups
Before configuring MobControl in-order to prevent mobs attack players within a particular permission group, Vault must be installed.
The configuration option usePermGroups under settings must then be set to true.
Once the plugin has been set up to manage permission groups, you will now be able to set up mob targeting for groups.
Group Example (Prevent creepers attacking players within the builders permission group
groups: builders: creeper: true
Valid Mob Options
Current valid config options are:
all (as name suggests, includes all mobs that can target the player)
blaze
cave_spider
creeper
ender_dragon
enderman
ghast
giant
iron_golem
magma_cube
zombie_pigman
silverfish
skeleton
slime
snowman
spider
witch
wither
wolf
zombie