Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

World Generation

Server Owner

The table below contains a list of Map Generation Commands available for Server Owners.

WARNING

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

These commands are extremely volatile!

You may break your server while using these commands!


We recommend caution when using these commands as they may break map generation and result in some very broken maps.

Keep in mind, GPORTAL will store any previously entered generation commands to the server config file, so if you would like to reset them to default, make sure to re-add the default values in the boot commands section.


For example, if you set server.minriverdist = 30, the server will remember that and apply it, even through wipes and resets. You must manually set it back to 600 (default) in the boot commands section, in order to get things back to normal.

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

TypeCommandInputDescriptionDefault
👢env.oceanlevel"number"Defines the level of the ocean plane.

0 = Normal sea-level

1-500 = Elevated sea-level - This is not recommended as it covers the whole map in water

501+ = Deactivated ocean
- This is best for completely removing the ocean
- This will allow submarines to "fly", as the sea-level is now ~160 units in the sky (at oceanlevel 501)
- This will remove the requirement for oxygen tanks and other underwater gear
- Boats/Kayaks are now unusable
- Players are now able to walk to the underwater labs but cannot access it in this fashion
- Still accessible normally with subs
0

Advanced Generation Commands

These parameters cannot be changed after server startup and will be used to generate a unique hash that differentiates map saves from each other.

This means that even if the seed and size of the map are the same, different map saves might be generated if other map generation parameters are changed.

TypeBiome CommandsInputDescriptionDefault
👢--biome.fade"number"Size of transition area between biomes.0.05
👢--biome.percentage_arid"number"Defines how much of the map will be covered in the Arid (Desert) type biome. Range is 0→1 (0%→100%) NOTE: These values combined must equal 10.4
👢--biome.percentage_temperate"number"Defines how much of the map will be covered in the Temperate type biome. Range is 0→1 (0%→100%) NOTE: These values combined must equal 10.15
👢--biome.percentage_tundra"number"Defines how much of the map will be covered in the Tundra type biome. Range is 0→1 (0%→100%) NOTE: These values combined must equal 10.15
👢--biome.percentage_artic"number"Defines how much of the map will be covered in the Arctic type biome. Range is 0→1 (0%→100%) NOTE: These values combined must equal 10.3
👢--biome.loot_fade"number"Size of transition area between tiers.0.05
👢--biome.loot_tier0"number"Size of tier 0 biome on the island.0.3
👢--biome.loot_tier1"number"Size of tier 1 biome on the island.0.3
👢--biome.loot_tier2"number"Size of tier 2 biome on the island.0.4
👢--biome.override_tier0"number"If set to > 0, overrides the transition from the tier 0 biome, ignoring the loot_fade amount.1
👢--biome.override_tier1"number"If set to > 0, overrides the transition from the tier 1 biome, ignoring the loot_fade amount.-1
👢--biome.override_tier2"number"If set to > 0, overrides the transition from the tier 2 biome, ignoring the loot_fade amount.-1
TypeDecor CommandsInputDescriptionDefault
👢--decor.decor_spawn_slope"number"The maximum slope that can be marked as Decor topology40
👢--decor.place_cliffs"0/1"Toggles the generation of decorative cliffs on the map.1
👢--decor.jutting_cliff_distance"number"Target distance between large coastal rocks.20
👢--decor.jutting_cliff_dithering"number"Range to randomise the distance between large coastal rocks.15
👢--decor.place_rock_formations"0/1"Toggles the generation of decorative rocks on the map.1
👢--decor.costal_rocks_large_distance"number"Target distance between large coastal rocks.50
👢--decor.costal_rocks_large_dithering"number"Range to randomise the distance between large coastal rocks.10
👢--decor.costal_rocks_distance"number"Target distance between coastal rocks.5
👢--decor.costal_rocks_dithering"number"Range to randomise the distance between coastal rocks.0
👢--decor.rock_formation_large_density"number"Density of large rock formations in the arid, temperate and tundra biomes.300
👢--decor.rock_formation_arctic_density"number"Density of large rock formations in the arctic biome.1500
👢--decor.rock_formation_medium_density"number"Density of medium rock formations throughout the island.50
👢--decor.rock_formation_arid_density"number"Density of rock formations in arid biome.50
👢--decor.rock_formation_small_arctic_density"number"Density of small rock formations in arctic biome.5000
👢--decor.rock_formation_small_arid_density"number"Density of small rock formations in arid biome.2000
👢--decor.river_rocks_distance"number"Target distance between river rocks.15
👢--decor.river_rocks_dithering"number"Range to randomise the distance between river rocks.1
👢--decor.shore_ice_distance"number"Target distance between ice sheets.9
👢--decor.shore_ice_dithering"number"Range to randomise the distance between shore ice.0
👢--decor.ice_sheets_distance"number"Target distance between ice sheets.1
👢--decor.ice_sheets_dithering"number"Range to randomise the distance between ice sheets.2
👢--decor.ice_berg_density"number"Density of icebergs.350
👢--decor.underwater_formation_density"number"Density of underwater rock formations.125
👢--river.enable_river"0/1"Toggles the generation of rivers on the map. 1
👢--road.enable_road"0/1"Toggles the generation of roads on the map.1
TypeSpawn CommandsInputDescriptionDefault
👢--spawn.loot"number"Density of loot barrels and trash piles that spawn on the map.22
👢--spawn.mushroom"number"Density of mushrooms that spawn on the map.72
👢--spawn.stone"number"Density of metal, stone and sulfur collectables.144
👢--spawn.divesites"number"Density of dive sites.7
👢--spawn.wood"number"Density of wood collectable.36
👢--spawn.junkpiles_water"number"Density of water junkpiles.7
👢--spawn.junkpiles"number"Density of junkpiles.25
👢--spawn.driftwood"number"Density of driftwood.2250
👢--spawn.logs_dry"number"Density of dead logs in the tundra biome.2250
👢--spawn.logs_snow"number"Density of dead logs in the artic biome.2250
👢--spawn.logs_wet"number"Density of dead logs in the temperate biome.2250
👢--spawn.arctic_forest_snow"number"Density of dead pine trees in the artic biome.10000
👢--spawn.arctic_forest"number"Density of pine sapling in the artic biome.1000
👢--spawn.arid_palms_dense"number"Density of short, medium and tall palm trees in the arid biome, specifically around rivers, lakes and the beachside.5000
👢--spawn.arid_palm_beach"number"Density of short and small palm trees in the arid biome on the beachside, lakeside and riverside.9000
👢--spawn.arid_palms_light"number"Density of short and small palm trees in the arid biome around the field, cliff, beachside, forestside, riverside and lakeside.600
👢--spawn.arid_palms_superdense"number"Density of short, medium and tall palm trees in the arid biome around beach, forest and cliffs.10000
👢--spawn.arid_cactus"number"Density of cactuses.2000
👢--spawn.tundra_forest"number"Density of birch, douglas fir, pine and dead pine trees in the tundra.12500
👢--spawn.tundra_forest_small"number"Density of birch, douglas fir and pine trees spawning in the tundra forestside.13000
👢--spawn.temp_beachforest_small"number"Density of small birch trees in the temperate biome.7000
👢--spawn.temp_field_large"number"Density of oak trees in the temperate biome.200
👢--spawn.temp_field_small"number"Density of american beech, birch, oak and pine treeds in the temperate biome around fields and cliffsides.3000
👢--spawn.temp_forest_deciduous"number"Density of american beech and birch in the temperate biome10000
👢--spawn.temp_forest_small_deciduous"number"Density of small birch and american beech trees in the temperate biome around the forestside.7500
👢--spawn.temp_forest"number"Density of american beech, birch, douglas fir and pin trees in the temperate biome in the forest.10000
👢--spawn.temp_forest_small"number"Density of douglas fir and pine trees in the temperate biome around the forestside.5000
👢--spawn.arctic_forest_saplings"number"Density of pine sapling in the artic biome.7500
👢--spawn.tundra_forest_saplings"number"Density of pine sapling in the tundra biome.6000
👢--spawn.bushes_temp_field"number"Density of spicebush and willow bushes in the temperate biome around the field and cliffside.2000
👢--spawn.bushes_temp_forest"number"Density of spicebush and willow bushes in the temperate biome in the forest.750
👢--spawn.bushes_temp_forestside"number"Density of spicebush and willow bushes in the temperate biome around the forestside.7500
👢--spawn.bushes_temp_waterside"number"Density of spicebush and willow bushes in the temperate biome around the beach, lake and riverside.10000
👢--spawn.bushes_tundra_field"number"Density of spicebush in the tundra biome.2000
👢--spawn.tundra_field_pines"number"Density of pine trees and saplings in the tundra biome.2250
👢--spawn.tundra_field"number"Density of birch and dead pine trees in the tundra biome around the field and cliffsides.800
👢--spawn.bushes_arid_desert"number"Density of mormon tea and creosote bushes in the arid biome.7000
👢--spawn.bushes_arid_dry"number"Density of dry creosote bushes in the arid biome.500
👢--spawn.bushes_arid_grass"number"Density of creosote bushes in the arid biome.5000
👢--spawn.bushes_arid_ocotillo"number"Density of the octillo bushes in the arid biome.500
👢--spawn.bushes_arctic_field"number"Density of willow bushes in the artic biome in the field.2000
👢--spawn.bushes_arctic_forest"number"Density of spicebush and willow bushes in the artic biome in the forest.2000
👢--spawn.bushes_arctic_forestside"number"Density of spicebush and willow bushes in the artic biome in the forestside.10000
👢--spawn.bushes_arctic_railside"number"Density of spicebush and willow bushes in the arctic biome in the plains.20000
👢--spawn.bushes_arid_dry_railside"number"Density of dry creosote bushes in the arid biome in the plains.20000
👢--spawn.bushes_temp_railside"number"Density of spicebush and willow bushes in the temperate biome in the plains.25000
👢--spawn.bushes_tundra_railside"number"Density of spicebush in the tundra biome in the plains.15000
👢--spawn.stone_halloween"number"Density of metal, sulfur and stone collectables during Halloween and Halloween portal event.144
👢--spawn.wood_halloween"number"Density of wood collectables during Halloween and Halloween portal event.36
👢--spawn.bone_halloween"number"Density of the bone collectable during the Halloween and Halloween portal event.144
👢--spawn.wood_pile"number"Density of woodpiles across the temperate, tundra and arctic biomes.480
TypeTerrain CommandsInputDescriptionDefault
👢--terrain.elevation_plain"number"Height of the plains.0.050
👢--terrain.elevation_hill"number"Multiplier for hill elevation.0.500
👢--terrain.elevation_mountain"number"Multiplier for mountain elevation0.000
👢--terrain.fade_plain"number"Steepness of terrain transition for plains elevation.0.250
👢--terrain.fade_hill"number"Steepness of terrain transition for hills.0.750
👢--terrain.fade_mountain"number"Steepness of terrain transition for mountains.2.750
👢--terrain.center_bump"number"Height of the bump added to the center of the terrain.1.0
👢--terrain.beach_slope"number"Slope of the beach.0.002
👢--terrain.center_falloff"number"Used to calculate the fade out from the "center" of the map.800.0
👢--terrain.center_padding"number"Used to calculate the size of the "center" of the map.0.10
👢--terrain.border_falloff"number"The fade of the terrain border. Also affects the shape amplitude of the island.800.0
👢--terrain.border_padding"number"The size of the border of the terrain.0.0
👢--terrain.ocean_level0"number"Minimum height of the coastline.-0.1
👢--terrain.ocean_level1"number"Maximum height of the coastline0.1

Terrain noise parameters have 4 values - octaves, frequency, amplitude, offset.

The syntax for these commands are as follows:

Example:

--terrain.noise_base_shape oct=6,freq=0.3,amp=0.5,offset=0

Where\ oct is the amount of times the noise calculation is run on that particular area of the map

freq is the frequency of noise applied

amp is the amplitude of noise applied

offset is the distance from y=0 that the noise is applied

TypeTerrain Noise CommandsInputDescriptionDefault
👢--terrain.noise_base_shape"numbers"The noise applied to generate the shape of the island.oct=6,freq=0.3,amp=0.5,offset=0
👢--terrain.noise_base_land"numbers"The noise applied to generate the height of the terrain.oct=6,freq=1,amp=4,offset=-0.4
👢--terrain.noise_base_lake"numbers"The noise applied to generate lakes.oct=6,freq=0.5,amp=0.3,offset=-0.15
👢--terrain.noise_south_plain"numbers"The noise applied to generate plains in the south of the island.oct=8,freq=1,amp=0.025,offset=-0.02
👢--terrain.noise_south_hill"numbers"The noise applied to generate hills in the south of the island.oct=8,freq=1,amp=0.03,offset=-0.02
👢--terrain.noise_north_plain"numbers"The noise applied to generate plains in the north of the island.oct=8,freq=1,amp=0.025,offset=0
👢--terrain.noise_north_hill"numbers"The noise applied to generate hills in the north of the island.oct=8,freq=1,amp=0.03,offset=0
👢--terrain.noise_mid_plain"numbers"The noise applied to generate plains in the middle of the island.oct=8,freq=1,amp=0.035,offset=-0.01
👢--terrain.noise_mid_hill"numbers"The noise applied to generate hills in the middle of the island.oct=8,freq=1,amp=0.04,offset=-0.01
👢--terrain.noise_mountain"numbers"The noise applied to generate mountains.oct=8,freq=1,amp=0.07,offset=0

Flat Maps

For a flat map, enter the following into the Boot Commands section of your server page:

--terrain.noise_base_shape oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_base_land oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_base_lake oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_south_plain oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_south_hill oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_north_plain oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_north_hill oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_mid_plain oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_mid_hill oct=1,freq=0.00,amp=0.000,offset=0.000

--terrain.noise_mountain oct=1,freq=0.00,amp=0.000,offset=0.000