Effective Instruments: Configuration
On this page (14)
Effective Instruments uses two Forge TOML configuration files plus optional JSON override files.
| File | Location | Applies to | When changes take effect |
|---|---|---|---|
Server config |
<world>/serverconfig/effective_instruments/server.toml |
Auras, targeting, durability, duets, Iron’s spells, NPC bards |
On world load or live Forge config reload (server-authoritative in multiplayer) |
Client config |
config/effective_instruments/client.toml |
Selector overlay, tooltips, status HUD, particles, duet cues |
Immediately; particle/reduced-motion changes sync to the server on edit |
Entity classification |
config/effective_instruments/entity_classification.json |
Curated mod mob target overrides |
On world load and /effectiveinstruments reload (generated on first run with 21 entries) |
Optional JSON overrides |
config/effective_instruments/{auras/*.json, instrument_auras.json, mobile_instrument_auras.json, instrument_durability.json} |
Overrides layered over datapacks when general.allowConfigOverrides = true |
On world load and /effectiveinstruments reload (never auto-generated or rewritten in 1.7.0) |
World operator mappings |
<world>/effectiveinstruments/mapping_overrides.json |
World-scoped edits from /effectiveinstruments mapping |
Immediately upon apply / remove / undo when general.allowOperatorMappingEdits = true |
[!TIP] Modpack defaults: To apply the same
server.tomlto every newly created world, place a copy atdefaultconfigs/effective_instruments/server.tomlin your instance directory.
Server config (server.toml)
[general]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Master enable/disable for all aura effects and musical spell casts; turning false releases active EI effects and spell sessions immediately |
noteWindowTicks |
100 |
20–600 |
Ticks after the last qualifying note before a stationary aura deactivates ( 100 = 5s) |
auraTickIntervalTicks |
10 |
1–100 |
How often (in ticks) active stationary potion effects refresh on targets |
defaultRadius |
16 |
1–64 |
Default aura radius in blocks when a preset sets "radius": -1 |
effectOverwritePolicy |
REFRESH_TIES |
Enum ( NEVER_OVERWRITE, STRONGER_ONLY, REFRESH_TIES, ALWAYS) |
How EI potion effects interact with pre-existing effects on targets ( STRONGER_ONLY: strictly higher amplifier; REFRESH_TIES: higher or equal) |
noteThresholdMin |
1 |
1–32 |
Minimum qualifying notes inside noteThresholdWindowTicks required to activate a stationary aura |
noteThresholdWindowTicks |
40 |
1–600 |
Sliding window size (in ticks) used by noteThresholdMin |
debugMode |
false |
boolean |
Logs per-tick musician counts, target counts, and timing in microseconds (keep false in production) |
allowConfigOverrides |
true |
boolean |
Layers config/effective_instruments/ JSON files over datapacks (false = datapacks and operator mapping edits only) |
allowOperatorMappingEdits |
true |
boolean |
Enables /effectiveinstruments mapping and loads <world>/effectiveinstruments/mapping_overrides.json (false locks mappings for curated packs) |
immediateApplyMinIntervalTicks |
4 |
1–40 |
Minimum ticks between immediate per-note area scans for one performer (coalesces chords/fast MIDI; every note still counts for activation and wear) |
practiceModeWearsInstrument |
true |
boolean |
Whether playing with Off (practice) selected still consumes instrument durability |
[duets]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Enables cosmetic duet cues when two or more nearby non-combat performers play positive auras |
range |
8 |
2–32 |
Maximum block distance between performers to join the same duet group |
cueCooldownTicks |
200 |
40–6000 |
Minimum ticks between visual/audio cues for the same group |
sound |
true |
boolean |
Plays a short amethyst chime with the cue (clients can mute via visuals.duetSound) |
[positiveTargeting]
The musician and their own tamed pets/allies are always included in positive auras and cannot be toggled off.
| Key | Default | Range / Type | Effect |
|---|---|---|---|
includeOtherPlayers |
true |
boolean |
Buff other players in range |
includeOtherPlayerPets |
true |
boolean |
Buff other players’ tamed pets in range |
includeVillagers |
true |
boolean |
Buff villagers and wandering traders |
includeIronGolems |
true |
boolean |
Buff iron golems |
includePassiveMobs |
false |
boolean |
Buff passive mobs (animals, water animals, ambient mobs, snow golems) |
includeHostileMobs |
false |
boolean |
Buff hostile mobs |
maxTargetsPerTick |
32 |
1–512 |
Cap on entities buffed per performer per tick (sorted by category priority → distance → UUID) |
[offensiveTargeting]
The musician, own pets/allies, scoreboard teammates (friendly fire off), other players/pets when server PvP is off, #effective_instruments:ignore entities, and unresolved summons are always protected.
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Master toggle for negative-polarity auras and offensive spells |
includeAllNonPets |
true |
boolean |
Under preset = FROM_FLAGS, hits every non-pet living entity except other players’ pets (ignoring the per-category toggles below except includeOtherPlayers) |
preset |
FROM_FLAGS |
Enum ( FROM_FLAGS, BROAD, HOSTILES_ONLY) |
FROM_FLAGS: honors includeAllNonPets + flags; BROAD: all non-pets (includeOtherPlayers still checked); HOSTILES_ONLY: hostile mobs only |
includeOtherPlayers |
true |
boolean |
Include other players as offensive targets when server PvP is enabled |
includeOtherPlayerPets |
false |
boolean |
Include other players’ tamed pets (used when preset = FROM_FLAGS and includeAllNonPets = false) |
includeVillagers |
false |
boolean |
Include villagers (when includeAllNonPets = false) |
includeIronGolems |
false |
boolean |
Include iron golems (when includeAllNonPets = false) |
includePassiveMobs |
false |
boolean |
Include passive mobs (when includeAllNonPets = false) |
includeHostileMobs |
true |
boolean |
Include hostile mobs (when includeAllNonPets = false) |
maxTargetsPerTick |
32 |
1–512 |
Cap on entities targeted per offensive performer per tick |
durabilityCostMultiplier |
2 |
1–8 |
Durability wear multiplier applied when an offensive aura is active |
[targeting]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
petEntityTypeAllowlist |
[] |
list<ResourceLocation> |
Extra entity type IDs treated as domesticated ( PASSIVE_MOB in vanilla bucket fallback; prefer entity_classification.json or tags for full owner control) |
allowSelfBuff, includeOtherPlayers, includeTamedPets, maxTargetsPerTick |
(legacy) |
— |
Deprecated since 1.4.1 and ignored at runtime; emit a startup warning if changed from defaults |
[mobileTier]
Applies when Immersive Melodies is installed (no-op otherwise). Target category selection inherits from [positiveTargeting] and [offensiveTargeting].
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Master toggle for the mobile tier |
pulseIntervalTicks |
20 |
5–100 |
How often (in ticks) mobile effects refresh ( 20 = 1s) |
lingerTicks |
60 |
0–200 |
How long mobile effects linger after stopping playback |
defaultRadius |
8 |
1–32 |
Default mobile aura radius in blocks when a preset sets "radius": -1 |
maxTargetsPerTick |
16 |
1–256 |
Cap on targets per mobile performer per pulse |
suppressWhenStationaryActive |
true |
boolean |
Suppresses mobile output while the same player has an active stationary aura |
allowSelfBuff, includeOtherPlayers, includeTamedPets |
(legacy) |
— |
Deprecated since 1.4.1 and ignored at runtime; emit a startup warning if non-default |
(Note: offensiveTargeting.allowSelf and offensiveTargeting.includeTamedPets are also deprecated legacy keys ignored at runtime.)
[durability]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Master toggle for NBT durability tracking, wear, tooltips/bars, and broken-instrument blocking |
creativeImmunity |
true |
boolean |
Creative-mode players’ instruments do not lose durability ( false allows depletion in Creative) |
costPerNote |
1 |
1–8 |
Durability consumed per stationary note (tap or held attack) |
costPerMobilePulse |
1 |
1–8 |
Durability consumed per active mobile pulse |
defaultMax |
1200 |
1–100000 |
Fallback max durability for mapped or #effectiveinstruments:instruments-tagged items lacking an explicit durability row |
anvilCombineBonusPercent |
12 |
0–100 |
Bonus max-durability percentage granted when combining two copies on an anvil |
[ironsSpellbooks]
Controls the Iron’s Spells ‘n Spellbooks spell provider (separate from [npcs.irons_spellbooks]).
| Key | Default | Range / Type | Effect |
|---|---|---|---|
providerMode |
AUTO |
Enum ( AUTO, LEGACY, IRON_SPELLS) |
AUTO: use spells when provider loads, else legacy; LEGACY: potion effects only (custom spell presets disabled); IRON_SPELLS: require provider (marks spell auras unavailable if missing instead of falling back) |
replaceBuiltInDefaults |
true |
boolean |
Replace untouched shipped presets in memory with catalog spells ( false keeps legacy unless preset sets "provider": "irons_spells") |
resourceMode |
INSTRUMENT |
Enum ( INSTRUMENT, MANA_AND_INSTRUMENT) |
INSTRUMENT: durability cost only; MANA_AND_INSTRUMENT: player performers also pay native mana per committed cast (NPCs never spend mana) |
respectSharedSpellCooldowns |
true |
boolean |
Sync musical casts with the player’s native Iron’s spell cooldown ( false uses EI’s persistent ledger, still at least the native configured cooldown) |
stationaryMinimumCastIntervalTicks |
100 |
20–72000 |
Minimum ticks between committed stationary spell casts per performer |
mobileMinimumCastIntervalTicks |
160 |
20–72000 |
Minimum ticks between committed mobile spell casts per performer |
minimumPerformanceWarmupTicks |
20 |
0–1200 |
Minimum ticks of active music before first cast (never shorter than the spell’s native effective cast time) |
mobileRadiusMultiplier |
0.75 |
0.1–1.0 |
Multiplier applied to native spell radius for mobile performers (also bounded by mobileTier.defaultRadius; never enlarges native area) |
maxActiveFieldFamiliesPerPerformer |
1 |
1–8 |
Concurrent persistent spell field families ( Healing Circle, Earthquake, Poison Splash/Cloud) per performer; new casts end the oldest family |
maxOwnedSpellEntitiesPerPerformer |
4 |
1–32 |
Cap on EI-owned native spell entities per performer (including helpers/child clouds) |
maxSpellCommitsPerLevelTick |
8 |
1–256 |
Per-dimension budget of committed musical casts per tick (excess defers fairly) |
allowMobTransformations |
false |
boolean |
Allows EI Shockwave casts to charge creepers (never alters normal spellbook casting) |
debugSpells |
false |
boolean |
Enables rate-limited diagnostic logging for musical spell casts |
[npcs]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
enabled |
true |
boolean |
Master toggle for the NPC performer and target classification framework |
allowPerformers |
true |
boolean |
Allow NPCs (adapters and tag performers) to play instruments ( false = targets only) |
allowTargets |
true |
boolean |
Allow adapter-recognized NPCs to receive auras ( false excludes them as targets) |
maxPerformersPerChunk |
4 |
1–64 |
Maximum simultaneous NPC performers in one chunk |
maxPerformersPerOwner |
8 |
1–256 |
Maximum simultaneous NPC performers per owning player |
maxPerformersPerServer |
256 |
1–4096 |
Server-wide cap on simultaneous NPC performers |
performerCooldownTicks |
60 |
1–6000 |
Cooldown in server game ticks between NPC performances |
performerScanIntervalTicks |
20 |
1–200 |
How often (in ticks) active NPC performers recheck eligibility, instrument, vetoes, and capacity |
ownerNearbyRadius |
32 |
4–128 |
Reserved supervision radius setting ( 4–128; Guard Villagers uses its own heroPlayerRadius) |
performerAuraRadiusMultiplier |
0.75 |
0.1–4.0 |
Radius multiplier for non-player performers |
requireOwnerOnline |
true |
boolean |
Owned NPCs only perform while their owner player is online |
respectScoreboardTeams |
true |
boolean |
Consult scoreboard team membership when classifying NPC performers and targets |
maxTargetsPerTickPerPerformer |
16 |
1–256 |
Hard target cap per tick for any NPC performer |
cueEnabled |
true |
boolean |
Plays audible vanilla note-block phrases ( RECORDS category) during NPC performances |
cuePhraseNotes |
6 |
1–32 |
Number of notes per NPC musical phrase |
cueNoteIntervalTicks |
6 |
2–40 |
Ticks between notes in an NPC phrase |
cueVolume |
0.6 |
0.0–2.0 |
Base volume of NPC phrase notes |
performanceTicks |
200 |
40–6000 |
Duration (in ticks) of one autonomous NPC performance before resting |
companionControls |
true |
boolean |
Enables /effectiveinstruments bard and Sneak + Use (empty main hand) companion controls |
enemyBards |
false |
boolean |
Enables hostile performers tagged #effective_instruments:enemy_bard |
Per-mod NPC sub-sections ([npcs.<modid>])
| Section & Key | Default | Range / Type | Effect |
|---|---|---|---|
npcs.recruits.enabled |
true |
boolean |
Enable Recruits adapter |
npcs.recruits.allowPerformers |
true |
boolean |
Allow recruits to perform when idle |
npcs.recruits.allowOffensiveAuras |
true |
boolean |
Allow recruits to play negative-polarity auras |
npcs.recruits.respectRecruitsFaction |
true |
boolean |
Share ALLY classification between same-owner recruits (Recruits diplomacy relations are not read) |
npcs.guardvillagers.enabled |
true |
boolean |
Enable Guard Villagers adapter |
npcs.guardvillagers.allowPerformers |
true |
boolean |
Allow guards to perform when idle |
npcs.guardvillagers.heroPlayerRadius |
24 |
4–64 |
Radius within which a Hero of the Village player acts as implicit guard owner |
npcs.easy_npc.enabled |
true |
boolean |
Enable Easy NPC adapter |
npcs.easy_npc.allowPerformers |
true |
boolean |
Allow Easy NPCs to perform when idle |
npcs.doggytalents.enabled |
true |
boolean |
Enable Doggy Talents Next adapter |
npcs.doggytalents.allowPerformers |
true |
boolean |
Allow DTN dogs to perform |
npcs.doggytalents.requireSittingOrDocile |
true |
boolean |
Dogs only play while sitting or in DOCILE mode |
npcs.irons_spellbooks.enabled |
true |
boolean |
Enable Iron’s Spells summon performer adapter |
npcs.irons_spellbooks.allowPerformers |
true |
boolean |
Allow Iron’s summons to perform between combats |
npcs.irons_spellbooks.minSummonTimerRemaining |
60 |
0–6000 |
Legacy 3.4.x guard: minimum remaining summon_timer ticks required to start playing |
npcs.ars_nouveau.enabled |
true |
boolean |
Enable Ars Nouveau Starbuncle adapter |
npcs.ars_nouveau.allowStarbuncle |
true |
boolean |
Allow Starbuncles to perform (ownerless) |
npcs.ars_nouveau.allowFamiliars |
false |
boolean |
Reserved — currently has no effect (reported in /effectiveinstruments npcs adapters) |
npcs.touhou_little_maid.enabled |
true |
boolean |
Enable Touhou Little Maid adapter |
npcs.touhou_little_maid.allowPerformers |
true |
boolean |
Allow maids to perform during non-combat tasks |
npcs.touhou_little_maid.allowOffensiveAuras |
false |
boolean |
Allow maids to play offensive auras ( false keeps maids buff-only by default) |
npcs.mca.enabled |
true |
boolean |
Enable MCA Reborn villager adapter |
npcs.mca.respectRelationships |
true |
boolean |
Treat an MCA villager’s married partner UUID as their owner |
npcs.pehkui.respectScaleForRadius |
true |
boolean |
Multiply non-player performer aura radius by Pehkui BASE scale (0.1–8.0) |
Client config (config/effective_instruments/client.toml)
[overlay]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
showOverlay |
true |
boolean |
Show the Aura Selector overlay on supported instrument screens |
overlayScale |
1.0 |
0.5–2.0 |
Scale factor applied to selector tiles |
compactMode |
false |
boolean |
Smaller tile size ( 14px vs 18px base) and tighter spacing |
showTooltips |
true |
boolean |
Show aura/spell tooltips when hovering or focusing selector tiles |
maxRows |
2 |
1–6 |
Maximum tile rows before paging ( ‹ ›) activates |
showPerformanceStatus |
true |
boolean |
Show the compact status line under the selector and above the hotbar |
[screens]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
screenClassAllowlist |
[] |
list<String> |
Fallback list of fully-qualified Java Screen class names to attach the stationary selector overlay onto for third-party mods not extending Genshin’s InstrumentScreen |
[visuals]
| Key | Default | Range / Type | Effect |
|---|---|---|---|
particlesMode |
ALL |
Enum ( ALL, MINIMAL, NONE) |
Controls aura note particles, duet trails, and EI-filtered Iron’s MagicManager.spawnParticles (synced to server) |
reducedMotion |
false |
boolean |
Dampens particle drift/pulse and disables Earthquake camera shake for EI-originated casts (synced to server) |
showDuetCues |
true |
boolean |
Show connecting aura_note particle trails during cosmetic duets |
duetSound |
true |
boolean |
Play local chime on duet cues (also gated by server duets.sound) |