4.0.2 • Published 1 year ago

satisfactory-mod-manager-api v4.0.2

Weekly downloads
7
License
GPL-3.0
Repository
github
Last release
1 year ago

Satisfactory Mod Manager API

API which handles installing and uninstallin Satisfactory mods, mod loader, and more.

Features

  • Find the Satisfactory game installed through multiple stores
  • Easily install mods and their dependencies
  • Checks for compatibility between mods, their dependencies, and the game version
  • Independent mod profiles that can be exported/imported
  • Files are cached so uninstalling and reinstalling a mod takes no time

Examples

import { getInstalls, createProfile } from 'satisfactory-mod-manager-api';
getInstalls().then(async ({ installs, invalidInstalls }) => {
  const gameInstall = installs[0];
  await gameInstall.installMod('AreaActions');            // Install the latest compatible version
  await gameInstall.installMod('RefinedPower', '1.0.0');  // Or a specific version
  
  await gameInstall.setProfile('vanilla');                // Mods cannot be installed in the vanilla profile 
  await gameInstall.installMod('UtilityMod');             // So this will throw an error
  
  await gameInstall.setProfile('modded');                 // Change back to the default "modded" profile
  createProfile('newProfile');                            // But other profiles can be created too, either empty
  createProfile('newProfile2', 'modded');                 // Or copying the contents of an existing one
  await gameInstall.setProfile('newProfile2');            // Switch to the newly created profile
  
  console.log(gameInstall.mods);                          // Print the list of installed mods (AreaActions)
  
  await gameInstall.disableMod('AreaActions');            // Now the list will be empty, since the mod
  console.log(gameInstall.mods);                          // is disabled, thus not in the game directory
});
4.0.2

1 year ago

4.0.1

2 years ago

4.0.0

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago