Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Configuration

SlimeDog edited this page Jan 26, 2022 · 7 revisions

AggressiveAnimals-overview-large

Configuration

The current default configuration file may be found on GitHub.

The configuration options may be changed to reflect your preferences

parameter                                                           default description
check-for-updates true If you do not want available updates announced in the console log, you may disable it.
enable-metrics true By default, the plugins collects and transmits anonymous statistics to bstats.org. Data collection may be disabled here, or generally in bStats/config.yml.
mob-type One of the supported mob-types.
mob-type.enabled false Each mob-type must be explicitly enabled. All except chickens are disabled by default, to avoid surprises and minimize impact.
mob-type.enabled true Should revenge attacks by this mob-type be enabled?
mob-type.speed 1.5 How fast can the mob move? (1 is regular speed, 0.5 is half speed and 2 is double speed)
mob-type.attack-damage 1 How much damage will the mob supposed to inflict per attack? (in half-hearts)
mob-type.attack-unto-death false Should the mob kill the player if enough damage is inflicted? If false, the attack will stop at 1 heart
mob-type.attack-speed 10 How often can the mob damage the player? (in ticks)
mob-type.attack-range 1 From how many blocks away can the mob hit the player? (in blocks)
mob-type.attack-chance 50 Chance that the mob will attack the player, per chance-duration? (in percentage)
mob-type.chance-duration 100 How often should the attack chance be calculated? (in ticks)
mob-type.acquisition-range 12 How close will mobs acquire a player and start an attack?
mob-type.deacquisition-range 20 How far away must the player run to stop an attack?
mob-type.health-percentage 100 Should the mob attack only if healthy? (in percentage)
mob-type.age.adult true Adult mobs should attack
mob-type.age.baby false Baby mobs should attack
mob-type.ignore-npcs true Ignore NPCs created by Citizens, EliteMobs, InfernalMobs, and Shopkeepers
mob-type.named-mobs-only false Should mobs attack only if they are named?
mob-type.retaliate-only true Should mobs retaliate only if attacked by the player?
mob-type.group-aggression-distance 10 If other mobs of the same type are close enough, they should join the attack (in blocks)
mob-type.player-movement.standing true Mob should attack only if the player is stamdomg
mob-type.player-movement.sneaking true Mob should attack only if the player is sneaking
mob-type.player-movement.walking true Mob should attack only if the player is walking
mob-type.player-movement.sprinting true Mob should attack only if the player is sprinting
mob-type.player-movement.looking true Mob should attack only if the player is looking, like Enderman
mob-type.enabled-worlds Worlds in which this mob-type is enabled; if empty, it is enabled in all worlds
mob-type.disabled-worlds Worlds in which this mob-type is disabled; must be set explicitly

Recommendation: Save a backup of the file before you change it.

How to

  • Edit plugins/AggressiveAnimals/config.yml to suit your preferences.
  • Reload AggressiveAnimals or restart the server.

The configuration file must contain valid YAML.

🚩 YAML errors in the configuration may cause AggressiveAnimals to be disabled, depending on their severity. Check the log, correct the errors and restart the server.

Clone this wiki locally