packages/slave/slave.js
/**
	 * Start Factorio server
	 *
	 * Launches the Factorio server for this instance with the given save.
	 *
	 * @param {String} saveName - Name of save game to load.
	 */
Start Factorio server
Launches the Factorio server for this instance with the given save.

@param {String} saveName - Name of save game to load.
Start Factorio server Launches the Factorio server for this instance with the given save . @param { String } saveName - Name of save game to load .
async start(saveName) {
		this.server.on("rcon-ready", () => {
			this.logger.verbose("RCON connection established");
		});
		this.server.on("exit", () => this.notifyExit());
		this._loadedSave = saveName;
		await this.server.start(saveName);
		if (this.config.get("factorio.enable_save_patching")) {
			await this.server.disableAchievements();
			await this.updateInstanceData();
		}
		await this.sendSaveListUpdate();
		await libPlugin.invokeHook(this.plugins, "onStart");
		this.notifyStatus("running");
	}
async start ( saveName ) { this . server . on ( "rcon-ready" , ( ) => { this . logger . verbose ( "RCON connection established" ) ; } ) ; this . server . on ( "exit" , ( ) => this . notifyExit ( ) ) ; this . _loadedSave = saveName ; await this . server . start ( saveName ) ; if ( this . config . get ( "factorio.enable_save_patching" ) ) { await this . server . disableAchievements ( ) ; await this . updateInstanceData ( ) ; } await this . sendSaveListUpdate ( ) ; await libPlugin . invokeHook ( this . plugins , "onStart" ) ; this . notifyStatus ( "running" ) ; }
Start Factorio server
 Launches the Factorio server for this instance with the given save.
Start Factorio server Launches the Factorio server for this instance with the given save .