For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐Ÿ› ๏ธConfiguration files

EnchantedMobs creates its data folder at plugins/EnchantedMobs.

The plugin generates the following configuration files, some of which will only be generated after you first use this feature.

  • items folder: stores saved item files. Saved items created by the item commands.

  • languages folder: stores language message files. Language files and translated power display text.

These two folders are less critical. Focus on the following:

  • powers folder: stores all created power files. One YAML file per mob power. The filename without .yml is the power ID.

  • config.yml: stores general plugin configuration, like power generation, display, optimization, language, math, and combat settings.

  • player-power.yml: stores how player strength is calculated. Calculates player strength from inventory items, enchantments, and optional PlaceholderAPI values.

  • generated-item-format.yml: Output from /enchantedmobs generateitemformat; created when the command is used.

The bundled files in the latest JAR are the source of truth for defaults. When upgrading a major version, compare your existing files with the current repository resources instead of assuming newly added keys are injected automatically.

Latest default files

Current config.yml sections

debug

Enables plugin debugging output. Leave disabled on normal production servers unless support asks for additional logs.

display-spawn-message

When enabled, players with enchantedmobs.nodify can receive powered-mob spawn notifications.

optimize

  • enabled-projectile-tick: enables the tracked projectile tick runtime used by on-projectile-tick.

  • enabled-entity-scanner-cache: caches powered living entities instead of repeatedly scanning every world.

Disabling an optimization can change performance substantially and should normally be used only for compatibility testing.

powers.temp-block-crack-animation

Controls the client-side break animation for temporary blocks created by powers:

  • enabled

  • start-at: initial progress ratio before animation begins.

  • update-interval: ticks between progress updates.

  • view-distance: maximum viewer distance.

config-files

  • language: default language file ID.

  • per-player-language: premium per-player language selection.

  • force-parse-mini-message: parse supported text through MiniMessage formatting.

Item serialization and hooks

  • debuild-item-method: item deserialization compatibility mode.

  • hook-item-method: item-provider integration method; current supported values include DEFAULT and ITEMBRIDGE.

math

  • enabled: enables configured formula evaluation.

  • enable-function: enables registered math functions in formulas.

mob-power-generator

See Mechanic for level calculation and power rolling.

mob-display

Individual power files may set hide-name: true to remove that power from the visible name and BossBar power lists without disabling its behavior.

mob-combat

  • disable-powered-mob-friendly-fire: cancel damage between powered monsters when enabled.

  • disarm-auto-return-item: return an item dropped by the disarm ability when it would otherwise be removed.

  • min-damage: minimum damage threshold used by the combat runtime.

player-power.yml

The current default formula is:

Built-in variables:

  • {equipment_sum}

  • {backpack_sum}

  • {backpack_max}

  • {backpack_avg}

  • {backpack_count}

Numeric PlaceholderAPI placeholders may also be used when PlaceholderAPI is installed. Item rules use the normal Match Item format and matching rule weights are added together.

Current player-powers.yml section.

Last updated