Skip to content

Latest commit

 

History

History
276 lines (213 loc) · 20.5 KB

03-configuration.md

File metadata and controls

276 lines (213 loc) · 20.5 KB
title Configuration
description Iris documentation: Configuration
published true
date 2026-10-25 20:00:00 UTC
tags iris
editor markdown
dateCreated 2026-08-09 00:00:00 UTC

Edit iris.json in your platform's data folder to configure Iris. Run /iris reload or save the file and wait for automatic hotload. Settings marked Restart take effect after a server restart.

File locations

Platform Shared settings Packs root Platform-only config
Bukkit / Paper / Folia plugins/Iris/iris.json plugins/Iris/packs/ plugins/Iris/compat.json
Fabric / Forge / NeoForge <configDir>/iris/iris.json <configDir>/irisworldgen/packs/ <configDir>/irisworldgen/modded.json

<configDir> is the loader's config/ directory. On mod loaders, install packs under irisworldgen/packs/; the separate iris/packs/ directory is unused. See 01 - Installation & Platforms.

Changing settings

Back up iris.json, edit the existing fields, and save valid JSON. For example, to change the server language, set general.language to "de_DE" in the existing general object:

{
  "general": {
    "language": "de_DE",
    "metrics": true
  }
}

This example shows where the fields belong; keep the other settings in your file. Run /iris reload, then /iris help to check the language. Personal language choices are separate; see 08 - Localization.

Action Result
First boot Creates iris.json with defaults if it is missing
Startup Loads the file. Invalid JSON leaves the file untouched and uses defaults for that boot
Successful startup or /iris reload Adds missing defaults and rewrites the complete file. Custom formatting is replaced
/iris reload Reloads settings and the locale. On mod loaders, also regenerates the datapack. Does not reload packs or restart services
Automatic hotload Applies saved settings without rewriting the file. Files over 2 MiB are rejected
Invalid edit while running Keeps the current settings. Correct the file and save again
File deleted while running Keeps current settings without recreating the file
Debug command /iris debug toggle on Bukkit or /iris debug on mod loaders changes debug mode and saves the settings

Storage durability

Iris writes generation-history and saved-biome records immediately and forces them to storage in the background within about two seconds. It also forces every pending record when the world saves, when the server shuts down, when a pregeneration job finishes, and before a pack update is activated. A crash of the server process loses no records. An operating-system crash or power loss can lose the records written in the last two seconds. The JVM option -Diris.durability=relaxed disables forced writes entirely and relies on operating-system buffering. It preserves the record formats, but a crash or power loss can lose recent writes. Remove the option to restore the default policy.

Native Billow noise

Native Billow noise is enabled by default when your Iris artifact contains a compatible native library. On Java 25, add this JVM option before -jar to permit native access:

--enable-native-access=ALL-UNNAMED

Only two-dimensional Billow fields with 8 or 9 octaves and coordinates from −30,000,000 through 30,000,000 use this backend. Their results preserve the Java implementation's raw floating-point bits. Other fields continue to use Java. Generation throughput depends on the pack and workload; enabling this option does not guarantee faster world generation.

JVM property Default Takes effect Use
volmlib.noise.nativeBillow true Restart Selects the available native Billow backend; set false to use Java
volmlib.noise.nativeBillowLibrary Unset Restart Optional absolute path to a compatible native Billow library instead of the bundled library
volmlib.noise.nativeBillowDiagnostics false Restart Enables the native sample counter exposed by the shared noise API

The backend uses Java when the library is absent, the platform is unsupported, native access is disabled, or its startup comparison fails. Set -Dvolmlib.noise.nativeBillow=false to select Java on the next startup. /iris reload, pack hotload, and live system-property changes do not load or replace the native library. Named-module deployments must enable native access for the module containing VolmLib instead of ALL-UNNAMED.

See Workspace builds for native artifact requirements and Noise and procedural streams for backend diagnostics.

Settings groups

Missing groups use their defaults.

Field Covers
general Language, logging, colors, datapacks and pack validation
world Entity spawning, effects and pregeneration cache
gui Desktop windows opened on the server machine
autoConfiguration Bukkit server timeout settings
generator World creation defaults and generation transitions
studio Studio world behavior
performance Caches and background maintenance
pregen Pregeneration scheduling, limits and timeouts
treeFeller Survival tree felling

general

Key Default Takes effect Use
language "en_US" Live Server language. Non-English catalogs download when selected
metrics true Restart Bukkit only. Enables bStats reporting
updateNotifications true Live Bukkit only. Checks Iris's stable GitHub releases for shared update notices and /volmit plugins updates. See Update notifications
commandSounds true Live Bukkit only. Plays sounds for command completion and command results
debug false Live Enables detailed console logging, Studio update wait and phase durations, and chunk error dumps under debug/chunk-errors/. Leave off during normal operation
dumpMantleOnError false Live Saves a region dump under dump/ when stored generation data cannot be read correctly
disableNMS false Restart Bukkit only. Disables native server integration and prevents Iris world creation. Leave false for normal use
eagerRuntimeInjection false Restart Bukkit only. Prepares and checks native server integration during startup instead of when the first Iris world loads
splashLogoStartup true Restart Shows the Iris logo and version at startup
useConsoleCustomColors true Live Enables gradient and hex colors in console messages
useCustomColorsIngame true Live Enables gradient and hex colors in player messages
progressBossBar true Live Shows boss bars for supported jobs, Studio opens and downloads. Ordinary world creation uses an action bar
adjustVanillaHeight false Restart Bukkit only. Applies Iris height to the vanilla Overworld, Nether and End dimension types when generating the datapack
autoIngestDatapacks true Restart Bukkit only. Imports configured datapack sources and ZIPs in plugins/Iris/datapacks/imports/ at startup. Drop-folder imports apply to all Iris dimensions
autoImportDatapackStructures false Live, next import Bukkit only. Copies registered datapack structures into editable pack files. Use /iris structure import <dimension> for a manual import
strictContentKeys false Live Rejects packs with unresolved content keys or invalid block-state properties. Useful while authoring. The JVM property -Diris.strictContent=true or false overrides this setting
spinh -20 Live Hue adjustment for animated Iris text
spins 7 Live Saturation adjustment for animated Iris text
spinb 8 Live Brightness adjustment for animated Iris text

strictContentKeys does not change how Iris handles content unavailable on your Minecraft version. Use /iris pack compat to review version compatibility; see 25 - Pack Management.

world

These settings control Iris spawning and effects. Vanilla spawning has its own server settings.

Key Default Takes effect Use
postLoadBlockUpdates true Live Updates blocks near players after generation so placed objects settle and receive waterlogging updates
forcePersistEntities false Live, new spawns Prevents distance despawning of Iris-spawned mobs when enabled. Normal chunk saving is independent of this setting
ambientEntitySpawningSystem true Live Enables biome and region ambient spawn lists
asyncTickIntervalMS 700 Live, next tick Milliseconds between Iris spawning, effects and cleanup passes
targetSpawnEntitiesPerChunk 0.95 Live Stops Iris spawning when entities per loaded chunk exceed this value
markerEntitySpawningSystem true Live Enables mobs placed at pack-defined feature markers
effectSystem true Live Applies biome and region potion effects, particles and sounds to players
globalPregenCache false Following world-init or chunk-load event Bukkit only. Saves generated-chunk records so pregeneration can skip completed chunks across restarts

gui

These windows open on the machine running the server. Set useServerLaunchedGuis to false on remote or headless hosts.

Key Default Takes effect Use
useServerLaunchedGuis true Live Allows the Studio window and pregeneration viewer to open on the server desktop
maximumPregenGuiFPS false Next window open Refreshes the local pregeneration preview more frequently
colorMode true Next window open Starts the Studio Noise view with the terrain palette instead of grayscale
theme "auto" First Studio window after startup; immediately through the theme control Studio appearance: auto follows the system, light or dark selects that theme. The window theme control saves this setting

autoConfiguration

These settings apply only to Bukkit servers. Iris saves changes at startup to the configuration files selected by the server launch options. Restart the server to apply the saved values. Before changing a timeout, Iris saves its original value in plugins/Iris/server-timeouts.json.

To manage the timeouts yourself, set the corresponding options to false and restart once with Iris installed. Iris restores the recorded values in the server configuration files; the following restart applies them. Values you changed after Iris's adjustment stay as you set them. Keep server-timeouts.json until restoration finishes; if no original value is recorded, set your intended timeout in the server configuration yourself.

Key Default Takes effect Use
configureSpigotTimeoutTime true Restart Raises settings.timeout-time to at least 300 seconds in the Spigot configuration selected by --spigot-settings (default spigot.yml)
configurePaperWatchdogDelay true Restart Raises watchdog.early-warning-delay to at least 180000 milliseconds in paper-global.yml under --paper-settings-directory (default config/). The warning interval is unchanged

generator

Key Default Takes effect Use
generationTransitionWidthBlocks 256 Next generation activation Width of terrain-height and water-level transitions beside saved chunks. Range: 16–8192 blocks. Existing transitions keep their recorded width
defaultWorldType "overworld" Live Bukkit only. Pack used when a world or Studio command omits one, or bukkit.yml uses the bare Iris generator. Mod loaders use modded.json's defaultPack
preventLeafDecay true Restart Makes generated leaves persistent. Separate from the dimension's preventLeafDecay pack setting

Transitions change only new chunks. The new terrain keeps its local shape as its height meets the saved boundary. Cave openings and physical biome matching use only the first four blocks beside that boundary. The remaining band uses the new pack's materials and biomes.

performance

Restart requirements are listed for each key.

Key Default Takes effect Use
trimMantleInStudio false Live Enables routine cleanup of stored generation data in Studio worlds
mantleKeepAlive 30 Live Requested retention time, in seconds, for generation data in memory
noiseCacheSize 1024 Engine hotload or restart; live for terrain queries Base noise cache capacity
resourceLoaderCacheSize 1024 Restart / pack reload Number of pack resources retained per loader
objectLoaderCacheSize 4096 Restart / pack reload Cache capacity for objects and images
mantleCleanupDelay 200 Live Delay in ticks before loaded-chunk generation data cleanup. Default: 10 seconds
simdKernels true Restart Enables vectorized noise calculations when the JVM starts with --add-modules=jdk.incubator.vector

performance.engineSVC

Key Default Takes effect Use
useVirtualThreads true Restart Uses virtual threads for background maintenance
forceMulticoreWrite false Live Enables parallel generation outside pregeneration and more frequent saving of eligible generation data
priority 5 Restart Background thread priority, from 1 to 10. Applies only when useVirtualThreads is false
parallelism -1 Restart Background maintenance worker count. Nonpositive values choose automatically; positive values are limited by available processors

pregen

Changes apply to the next pregeneration job. See 07 - Pregeneration for commands.

Key Default Applies to Use
runtimeSchedulerMode AUTO Bukkit Scheduler selection: AUTO, PAPER_LIKE or FOLIA. Leave AUTO for normal use; Folia uses its region scheduler
paperLikeBackendMode AUTO Bukkit, non-Folia Backend selection: AUTO, TICKET or SERVICE. AUTO uses TICKET; ignored on Folia
chunkLoadTimeoutSeconds 15 Both Bukkit slow-request warning threshold, clamped to 5–120 seconds; slow requests continue waiting. Mod loaders use a 120-second timeout
timeoutWarnIntervalMs 500 Bukkit Minimum interval between slow-request and failed-release warnings. Minimum: 250 ms
saveIntervalMs 30000 Both Progress-save interval, clamped to 5000–900000 ms
maxResidentTectonicPlates 96 Both Requested target for resident generation regions. Minimum: 16. Iris scales the target with world height, Java heap and visible Linux container memory limits, reserving memory for active generation and server chunks. Regions still in use can temporarily exceed this target
mantleBackpressureWaitMs 25 Both How often pregeneration checks whether it can resume after reaching its region limit. Range: 5–1000 ms
mantleBackpressureTimeoutMs 60000 Both Warning interval while waiting for the region target or memory headroom. Range: 5000–600000 ms. Pinned regions may exceed the target to finish their work; high heap or container memory usage continues to block new requests until memory is available
moddedPregenInFlight 0 Modded Concurrent chunk limit. Positive values are capped at 512; nonpositive values choose automatically. The effective limit also allows at most one request per 256 MiB of the memory budget, with a minimum of one request. Ignored on Bukkit

treeFeller

Both settings apply live after reload. Players need iris.treefeller on Bukkit or the platform's tree-feller permission on mod loaders.

Key Default Use
enabled false Enables felling an entire Iris-managed tree by breaking one log
durabilityPreservationChance 0 Percentage chance per block that the axe loses no durability. Range: 0–100

See 04 - Commands & Permissions and 28 - Integrations.

studio

Key Default Use
openVSCode true Allows /iris studio vscode to launch the editor after writing its workspace file. Set false on a headless host
blendChanges true Blends accepted Studio pack edits beside existing chunks on Bukkit. Set false to generate sharp terrain cutoffs. Applies to the next accepted pack edit after settings reload or hotload; existing transitions keep their recorded behavior. Production-world updates are unaffected. Modded Studio generates direct cutoffs
entitySpawning true Allows mobs in Studio worlds. Natural spawning still requires an eligible player outside spectator mode
disableTimeAndWeather true Freezes the day cycle at noon and disables weather when Studio opens
autoStartDefaultStudio false Opens the default pack's Studio world automatically at startup

See 10 - Studio & VSCode Schemas.

Bukkit-only: compat.json

Use plugins/Iris/compat.json to substitute blocks and items unavailable on your server. Iris writes compat.default.json alongside it as a reference. Your entries supplement the built-in mappings. Restart after editing; /iris reload does not apply this file.

{
  "blockFilters": [
    { "when": "example:missing_block", "supplement": "minecraft:stone", "exact": false }
  ],
  "itemFilters": [
    { "when": "example:missing_item", "supplement": "minecraft:stick" }
  ]
}
Field Applies to Use
when Block and item filters Unsupported source key to replace
supplement Block and item filters Supported replacement key
exact Block filters only Match the full namespace and block-state properties when true; match the bare material name when false

Invalid JSON leaves the built-in mappings active. Mod loaders do not use these files.

Modded-only: modded.json

Edit <configDir>/irisworldgen/modded.json and restart to apply changes. Iris creates the file with defaults if it is absent. Invalid JSON leaves the file untouched and uses defaults for that boot, except that a world with applied dimension replacements refuses to start until the file is fixed. The Bukkit plugin does not use this file.

Key Default Use
defaultPack "overworld" Pack used by /iris create when omitted. Install the pack separately
primaryWorld "" Iris dimension id used for player routing
routePlayersToPrimaryWorld true Sends players to the primary world when one is set. Disconnecting cancels pending routing; a new session starts its own attempt
mainWorldPack "" Pack or pack:dimensionKey for the main-world preset
mainWorldSeed 0 Seed for the main-world preset
mainWorldAutoRestart false Restarts automatically after a main-world inject
dimensionReplacements {} Dedicated servers only. Maps a vanilla or mod dimension's namespace:path to the replacement that generates it after a restart: type is pack or pack:dimensionKey, and the optional seed defaults to the world seed. Adding, changing, or removing an entry moves that dimension's terrain to a recovery folder. An entry for a dimension that is not created from a level stem is skipped with a logged error. /iris replace writes this section. See 06 - Worlds & Lifecycle and 48 - Mod Worldgen
{
  "dimensionReplacements": {
    "minecraft:overworld": { "type": "overworld", "seed": 123456789 },
    "examplemod:skylands": { "type": "skylands" }
  }
}

World-management commands, including /iris replace, also update this file. They refuse to rewrite it while a dimensionReplacements entry is invalid. See 06 - Worlds & Lifecycle and 30 - Platform Differences.

Related