NewGameData
satisfactory-dedicated-server-sdk
Defined in: src/Interfaces/NewGameData.ts:34
Represents the configuration data required to start a new Satisfactory game session.
This interface is used when creating a fresh world on a dedicated server. It defines session metadata, map details, onboarding flow, and optional advanced game settings.
Example
const newGame: NewGameData = {
SessionName: "FactoryWorld1",
MapName: "Desert",
StartingLocation: "NorthGrasslands",
SkipOnboarding: true,
AdvancedGameSettings: {
// Example from AdvancedGameSettings interface
ResourceSinkMultiplier: 2,
},
CustomOptionsOnlyForModding: {
myModSetting: "enabled",
}
};
Properties
AdvancedGameSettings?
optionalAdvancedGameSettings:null|AdvancedGameSettings
Defined in: src/Interfaces/NewGameData.ts:39
Optional advanced game settings for world generation and rules.
CustomOptionsOnlyForModding?
optionalCustomOptionsOnlyForModding:null|Record<string,any>
Defined in: src/Interfaces/NewGameData.ts:40
Extra mod-specific options. Keys and values depend on the mods installed.
MapName?
optionalMapName:null|string
Defined in: src/Interfaces/NewGameData.ts:36
The map to load. If omitted or null, the default map is used.
SessionName
SessionName:
string
Defined in: src/Interfaces/NewGameData.ts:35
The name of the session. Required.
SkipOnboarding?
optionalSkipOnboarding:null|boolean
Defined in: src/Interfaces/NewGameData.ts:38
Whether to skip the onboarding/tutorial sequence. Defaults to false if not provided.
StartingLocation?
optionalStartingLocation:null|string
Defined in: src/Interfaces/NewGameData.ts:37
The player’s initial spawn location. If null, the server default is applied.