A Starsector mod that shows a list of factions and their relationship with the player on the main navigation screen.
- Game version: 0.98a-RC8
- Mod ID:
factionrelationships - Dependencies: LazyLib and LunaLib (required; enable them in the launcher).
- Install LazyLib and LunaLib in your Starsector
modsfolder if you have not already. - Download the latest release (or build from source; see below).
- Extract the mod folder into your Starsector
modsdirectory. - Enable the mod (and LazyLib, LunaLib) in the game launcher.
Your mods folder should contain something like:
mods/FactionRelationships/
├── mod_info.json
├── config/
│ └── faction_relationships_config.json # deprecated; settings via Mod Settings
├── data/
│ └── config/
│ └── LunaSettings.csv
└── jars/
└── FactionRelationships.jar
Configure the mod in-game via Mod Settings (press F2 in campaign): max factions shown, text size, overlay keybind (toggle or hold-to-view), and optional “show only hostile factions” filter, optional "show only factions in current system" (and in hyperspace: show full list or none), relationship-change display in overlay (duration configurable, default 30 seconds), optional auto-show overlay when a relationship changes, and optional auto-hide overlay after a set number of seconds (when > 0, applies whenever the overlay is shown: hotkey, location change, or relationship change). No need to edit JSON files.
Use this checklist for every release so update checks keep working:
- Keep versions in sync:
FactionRelationships/mod_info.json->"version": "X.Y.Z"FactionRelationships/FactionRelationships.version->modVersion.major/minor/patch = X/Y/Z
- Keep
masterVersionFileinFactionRelationships/FactionRelationships.versionpointing to the raw GitHub URL for that same file on your default branch. - Ensure the mod package includes both:
FactionRelationships/FactionRelationships.versionFactionRelationships/data/config/version/version_files.csvwith:
version file
FactionRelationships.version- Build with
FactionRelationships/compile.bat(this produces bothdist/FactionRelationships-X.Y.Z.zipanddist/FactionRelationships.zip). - Attach
FactionRelationships.zipto the GitHub release ifdirectDownloadURLuses.../releases/latest/download/FactionRelationships.zip. - Publish the release tag matching the same version (
vX.Y.Z) so local installs can detect an update correctly.
- Requirements: JDK 17, a Starsector 0.98a install (for API JARs), and LunaLib and LazyLib installed in your game
modsfolder (the build script needs their JARs). - Build: From the repo root, run
FactionRelationships\compile.bat.
CopyFactionRelationships\compile.local.example.battoFactionRelationships\compile.local.batand setGAME_DIRto your Starsector path (and optionallyLUNALIB/LAZYLIBif you use versioned mod folders). - Details: See FactionRelationships/COMPILATION.md for full build steps, project layout, and manual compile commands.
This project is licensed under the MIT License — see the LICENSE file.
