# type: bool
# noclip = false
-# Smooths camera when moving and looking arround.
+# Smooths camera when moving and looking around.
# Useful for recording videos.
# type: bool
# cinematic = false
# viewing_range_nodes_max = 160
# The allowed adjustment range for the automatic rendering range adjustment.
-# Set this to be equal to viewing range minimum to disable the auto-adjustment algorithm.
+# Set this to be equal to viewing range maximum to disable the auto-adjustment algorithm.
# type: int
# viewing_range_nodes_min = 35
-# Vertical initial window size.
+# Width component of the initial window size.
# type: int
# screenW = 800
-# Horizontal initial window size.
+# Height component of the initial window size.
# type: int
# screenH = 600
# - interlaced: odd/even line based polarisation screen support.
# - topbottom: split screen top/bottom.
# - sidebyside: split screen side by side.
-# type: enum values: none, anaglyph, interlaced, topbottom, sidebyside
+# - pageflip: quadbuffer based 3d.
+# type: enum values: none, anaglyph, interlaced, topbottom, sidebyside, pageflip
# 3d_mode = none
# In-game chat console background color (R,G,B).
# type: float
# hud_hotbar_max_width = 1.0
-# Enable selection highlighting for nodes (disables selectionbox).
-# type: bool
-# enable_node_highlighting = false
+# Selection highlighting method (box or halo)
+# type: string
+# node_highlighting = box
# Enables caching of facedir rotated meshes.
# type: bool
# type: float min: 0.25 max: 4
# ambient_occlusion_gamma = 2.2
+# Enable animation of inventory items.
+# inventory_items_animations = false
+
### Menus
# Use a cloud animation for the main menu background.
# type: string
# static_spawnpoint =
+# Maximum distance above water level for player spawn.
+# Larger values result in spawn points closer to (x = 0, z = 0).
+# Smaller values may result in a suitable spawn point not being found,
+# resulting in a spawn at (0, 0, 0) possibly buried underground.
+# type: int
+# vertical_spawn_range = 16
+
# If enabled, new players cannot join with an empty password.
# type: bool
# disallow_empty_password = false
# Name of map generator to be used when creating a new world.
# Creating a world in the main menu will override this.
-# type: enum values: v5, v6, v7, singlenode
+# type: enum values: v5, v6, v7, flat, fractal, singlenode
# mg_name = v6
# Water surface level of the world.
# map_generation_limit = 31000
# Global map generation attributes.
+# In Mapgen v6 the 'decorations' flag controls all decorations except trees
+# and junglegrass, in all other mapgens this flag controls all decorations.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with "no" are used to explicitly disable them.
-# 'trees' and 'flat' flags only have effect in mgv6.
-# type: flags possible values: trees, caves, dungeons, light, flat, notrees, nocaves, nodungeons, nolight, noflat
-# mg_flags = trees,caves,dungeons,light
+# type: flags possible values: caves, dungeons, light, decorations, nocaves, nodungeons, nolight, nodecorations
+# mg_flags = caves,dungeons,light,decorations
### Advanced
#### Mapgen v6
-# Map generation attributes specific to Mapgen V6.
+# Map generation attributes specific to Mapgen v6.
# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with "no" are used to explicitly disable them.
-# type: flags possible values: jungles, biomeblend, mudflow, snowbiomes, nojungles, nobiomeblend, nomudflow, nosnowbiomes
-# mgv6_spflags = jungles,biomeblend,mudflow,snowbiomes
+# type: flags possible values: jungles, biomeblend, mudflow, snowbiomes, flat, trees, nojungles, nobiomeblend, nomudflow, nosnowbiomes, noflat, notrees
+# mgv6_spflags = jungles,biomeblend,mudflow,snowbiomes,trees
-# Controls size of deserts and beaches in Mapgen V6.
+# Controls size of deserts and beaches in Mapgen v6.
# When snowbiomes are enabled 'mgv6_freq_desert' is ignored.
# type: float
# mgv6_freq_desert = 0.45
#### Mapgen v7
-# Map generation attributes specific to Mapgen V7.
+# Map generation attributes specific to Mapgen v7.
# 'ridges' are the rivers.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with "no" are used to explicitly disable them.
# type: noise_params
# mgv7_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
+#### Mapgen flat
+
+# Map generation attributes specific to Mapgen flat.
+# Occasional lakes and hills added to the flat world.
+# Flags that are not specified in the flag string are not modified from the default.
+# Flags starting with "no" are used to explicitly disable them.
+# type: flags possible values: lakes, hills, , nolakes, nohills
+# mgflat_spflags =
+
+# Y of flat ground.
+# type: int
+# mgflat_ground_level = 8
+
+# Y of upper limit of large pseudorandom caves.
+# type: int
+# mgflat_large_cave_depth = -33
+
+# Terrain noise threshold for lakes.
+# Controls proportion of world area covered by lakes.
+# Adjust towards 0.0 for a larger proportion.
+# type: float
+# mgflat_lake_threshold = -0.45
+
+# Controls steepness/depth of lake depressions.
+# type: float
+# mgflat_lake_steepness = 48.0
+
+# Terrain noise threshold for hills.
+# Controls proportion of world area covered by hills.
+# Adjust towards 0.0 for a larger proportion.
+# type: float
+# mgflat_hill_threshold = 0.45
+
+# Controls steepness/height of hills.
+# type: float
+# mgflat_hill_steepness = 64.0
+
+# Determines terrain shape.
+# The 3 numbers in brackets control the scale of the
+# terrain, the 3 numbers should be identical.
+# type: noise_params
+# mgflat_np_terrain = 0, 1, (600, 600, 600), 7244, 5, 0.6, 2.0
+
+# type: noise_params
+# mgflat_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
+
+# type: noise_params
+# mgflat_np_cave1 = 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
+
+# type: noise_params
+# mgflat_np_cave2 = 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
+
+#### Mapgen fractal
+
+# Choice of 18 fractals from 9 formulas.
+# 1 = 4D "Roundy" mandelbrot set.
+# 2 = 4D "Roundy" julia set.
+# 3 = 4D "Squarry" mandelbrot set.
+# 4 = 4D "Squarry" julia set.
+# 5 = 4D "Mandy Cousin" mandelbrot set.
+# 6 = 4D "Mandy Cousin" julia set.
+# 7 = 4D "Variation" mandelbrot set.
+# 8 = 4D "Variation" julia set.
+# 9 = 3D "Mandelbrot/Mandelbar" mandelbrot set.
+# 10 = 3D "Mandelbrot/Mandelbar" julia set.
+# 11 = 3D "Christmas Tree" mandelbrot set.
+# 12 = 3D "Christmas Tree" julia set.
+# 13 = 3D "Mandelbulb" mandelbrot set.
+# 14 = 3D "Mandelbulb" julia set.
+# 15 = 3D "Cosine Mandelbulb" mandelbrot set.
+# 16 = 3D "Cosine Mandelbulb" julia set.
+# 17 = 4D "Mandelbulb" mandelbrot set.
+# 18 = 4D "Mandelbulb" julia set.
+# type: int min: 1 max: 18
+# mgfractal_fractal = 1
+
+# Iterations of the recursive function.
+# Controls the amount of fine detail.
+# type: int
+# mgfractal_iterations = 11
+
+# Approximate (X,Y,Z) scale of fractal in nodes.
+# type: v3f
+# mgfractal_scale = (4096.0, 1024.0, 4096.0)
+
+# (X,Y,Z) offset of fractal from world centre in units of 'scale'.
+# Used to move a suitable spawn area of low land close to (0, 0).
+# The default is suitable for mandelbrot sets, it needs to be edited for julia sets.
+# Range roughly -2 to 2. Multiply by 'scale' for offset in nodes.
+# type: v3f
+# mgfractal_offset = (1.79, 0.0, 0.0)
+
+# W co-ordinate of the generated 3D slice of a 4D fractal.
+# Determines which 3D slice of the 4D shape is generated.
+# Has no effect on 3D fractals.
+# Range roughly -2 to 2.
+# type: float
+# mgfractal_slice_w = 0.0
+
+# Julia set only: X component of hypercomplex constant determining julia shape.
+# Range roughly -2 to 2.
+# type: float
+# mgfractal_julia_x = 0.33
+
+# Julia set only: Y component of hypercomplex constant determining julia shape.
+# Range roughly -2 to 2.
+# type: float
+# mgfractal_julia_y = 0.33
+
+# Julia set only: Z component of hypercomplex constant determining julia shape.
+# Range roughly -2 to 2.
+# type: float
+# mgfractal_julia_z = 0.33
+
+# Julia set only: W component of hypercomplex constant determining julia shape.
+# Has no effect on 3D fractals.
+# Range roughly -2 to 2.
+# type: float
+# mgfractal_julia_w = 0.33
+
+# type: noise_params
+# mgfractal_np_seabed = -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0
+
+# type: noise_params
+# mgfractal_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
+
+# type: noise_params
+# mgfractal_np_cave1 = 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
+
+# type: noise_params
+# mgfractal_np_cave2 = 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
+
+#### Mapgen Valleys
+
+#mg_valleys_spflags = altitude_chill,humid_rivers
+# "altitude_chill" makes higher elevations colder, which may cause biome issues.
+# "humid_rivers" modifies the humidity around rivers and in areas where water would tend to pool. It may interfere with delicately adjusted biomes.
+#
+#mg_valleys_altitude_chill = 90 # the altitude at which temperature drops by 20C
+#mg_valleys_large_cave_depth = -33 # Depth below which you'll find large caves.
+#mg_valleys_lava_features = 0 # Creates unpredictable lava features in caves. These can make mining difficult. Zero disables them. (0-10)
+#mg_valleys_massive_cave_depth = -256 # Depth below which you'll find massive caves.
+#mg_valleys_river_depth = 4 # how deep to make rivers
+#mg_valleys_river_size = 5 # how wide to make rivers
+#mg_valleys_water_features = 0 # Creates unpredictable water features in caves. These can make mining difficult. Zero disables them. (0-10)
+#
+#mg_valleys_np_filler_depth = 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0
+#
+# River noise -- rivers occur close to zero
+#mg_valleys_np_rivers = 0, 1, (256, 256, 256), -6050, 5, 0.6, 2.0
+#
+# Caves and tunnels form at the intersection of the two noises
+#mg_valleys_np_cave1 = 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0
+#mg_valleys_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
+#
+#mg_valleys_np_massive_caves = 0, 1, (768, 256, 768), 59033, 6, 0.63, 2 # Massive caves form here.
+#
+# Base terrain height
+#mg_valleys_np_terrain_height = -10, 50, (1024, 1024, 1024), 5202, 6, 0.4, 2.0
+#
+# Raises terrain to make valleys around the rivers
+#mg_valleys_np_valley_depth = 5, 4, (512, 512, 512), -1914, 1, 1.0, 2.0
+#
+# Slope and fill work together to modify the heights
+#mg_valleys_np_inter_valley_fill = 0, 1, (256, 512, 256), 1993, 6, 0.8, 2.0
+#mg_valleys_np_inter_valley_slope = 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0
+#
+# Amplifies the valleys
+#mg_valleys_np_valley_profile = 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0
+
## Security
# Prevent mods from doing insecure things like running shell commands.