Open Terrain Generator Wiki
Advertisement

Note: This information is for OTG 1.16.x and above. For 1.12.x, see OTG.ini 1.12.2.

Use SettingsMode: WriteAll to write the latest settings and documentation.

Located in the OpenTerrainGenerator folder, this .ini file can be edited with a text editor and contains global settings for all of OTG. These are mostly used by developers and modpack/preset creators to debug mods and presets.

Config reading/writing[]

SettingsMode determines whether OTG writes documentation as comments to otg.ini, as well as automatically correcting any errors. Can also disable writing entirely, to only read config files.  

Note: this affects only OTG.ini, Presets have their own SettingsMode setting in their WorldConfig file.

SettingsMode
WriteAll Write config files with help comments
WriteWithoutComments Write config files without help comments but keeping the sections names
WriteDisable Doesn't write to the config files, it only reads. Doesn't auto-update the configs. Use with care!
Defaults to SettingsMode: WriteAll

Logging[]

Logging settings are used for debugging OTG, when making presets or modpacks. By default, OTG uses minimal logging only.

LogLevel
Off Shows FATAL and ERROR logs
Quiet Shows FATAL, ERROR and WARNING logs
Standard Shows FATAL, ERROR, WARNING and INFO logs
Defaults to LogLevel: Standard
LogCustomObjects
true Logs information about BO2/BO3/BO4 config errors and spawning
false
Defaults to false
LogBO4Plotting
true Logs information about BO4 customstructures plotting branches
false
Defaults to false
LogConfigs
true Logs information about invalid settings in configs
false
Defaults to false
LogBiomeRegistry
true Logs information about biome registration
false
Defaults to false
LogDecoration
true Logs information about resources spawned during decoration
false
Defaults to false
LogMobs
true Logs information about mob config errors and spawning
false
Defaults to false
LogPresets
preset name or "all" Set the name of a preset or "all" to log warnings and errors for specified presets only
Defaults to all
LogPerformance
true Logs information about any feature that is taking more than 50 milliseconds.

Includes: base terrain gen, decoration, resources, bo4 plotting, bo3/bo4 spawning.

Use this to find performance bottlenecks and optimise your world.

false
Defaults to false

Developer settings[]

DecorationEnabled
true Set this to false to disable chunk decoration and generate only base terrain
false
Defaults to true
DeveloperMode
true Clears the BO2/BO3 cache and reloads WorldConfig/BiomeConfigs on exit/rejoin.

Use this if you're creating a preset and want to do trial/error quickly.

false
Defaults to false

Performance settings[]

WorkerThreads
Forge only
number Experimental: The amount of OTG worker threads used to speed up base terrain and BO4 generation. Higher values may not result in better performance, experiment to see what works best for your cpu.
Defaults to 0
Advertisement