A plugin and mod loader for the Space Engineers (SE1) Dedicated Server,
built on Pulsar — the game-client plugin
loader — which is vendored as a git submodule. Pulsar provides the plugin
model, configuration, network and compiler infrastructure; Magnetar adds the
server host: headless launch of the dedicated server, daemon mode, lifecycle
control, chat commands, and the PluginSdk server plugins compile against.
Magnetar ships two launchers that drop in for SpaceEngineersDedicated.exe:
| Launcher | Runtime | Platforms |
|---|---|---|
MagnetarLegacy |
.NET Framework 4.8 | Windows only |
MagnetarInterim |
.NET 10 (via dotnet-compat) | Windows + Linux |
On Windows both launchers are built; on Linux only MagnetarInterim
(.NET 10).
Compatibility plugins are loaded implicitly:
- dotnet-compat for .NET 10 compatibility
- linux-compat for Linux compatibility
Command-line flags are unified with Pulsar: the plugin-loader flags are
Pulsar's own, plus Magnetar's server-specific flags (-daemon, -config,
-ds64, consent control, …); client-only options do not apply. Configuration,
profile and source files use Pulsar's current formats.
You can register new plugins by making PRs to the MagnetarHub.
Quasar is a separate control plane with a Web UI that can manage and control multiple Magnetar instances from one place. Each Magnetar reports structured status and logs; Quasar orchestrates them.
MagnetarConfig is a cross-platform terminal UI (Terminal.Gui, Turbo Vision
look) that configures and operates one Magnetar-managed Dedicated Server
instance: edit the global SpaceEngineers-Dedicated.cfg, per-world session
settings and mod lists, create/delete/activate worlds, manage plugins and
profiles, start/stop/reload the daemonized server (PID-file status), and read
the game and Magnetar logs. It ships in both bundles as MagnetarConfig.exe
(Windows) / MagnetarConfig.bin (Linux) next to the launchers. See the
Config tool user manual.
Magnetar's version is the vendored Pulsar version plus a build component:
2.3.3.0 is the first Magnetar build on Pulsar 2.3.3, and 2.3.3.1 would be a
Magnetar-only release on the same Pulsar base. Release tags and bundle names use
all four components; -version prints the first three.
Clone with the Pulsar submodule and build the solution:
git clone --recurse-submodules https://github.com/CometWorks/magnetar
cd magnetar
dotnet build -c Release Magnetar.slnxEvery build deploys a portable install tree (default: %APPDATA%\Magnetar
on Windows, ~/.config/Magnetar on Linux). Magnetar itself is portable:
its configuration lives next to the binaries and the install folder can be
moved anywhere. On Linux the native runtime libraries are downloaded by the
linux-compat plugin on first launch.
See Building for details.
| Page | What's in it |
|---|---|
| Install & Releases | Prebuilt bundles, what to download, installing. |
| Docker | Running the dedicated server in a container, building the image. |
| Usage | Running the launcher, daemon mode, handoff to the DS. |
| Stopping and restarting | What each stop and restart command does on Linux, on Windows and under Quasar. |
| Configuration | Config/install dirs, DS detection, environment variables. |
| Config tool | MagnetarConfig user manual: edit config/worlds/mods/plugins, start/stop, logs. |
| Config tool internals | Design and implementation of MagnetarConfig: file formats, architecture, state machines, testing. |
| Plugins | Plugin hubs and the trust boundary. |
| Managed preparation | Compile and export managed plugin bundles and SDK defaults without starting a server. |
| Building | Per-platform build, dependency staging, packaging, releases. |
| Repository layout | What lives where in the source tree. |
Discord for support and developer discussion. GitHub issues and PRs for bug reports and contributions.
Managed clusters can use canonical plugin configuration.
PluginSdk shared-state services provide opt-in durable records and owner-routed requests. The example plugin uses the same API in standalone and clustered deployments.
Validate the plugin against this checkout's SDK without deploying it:
bash Build/validate-error-reporting.sh /path/to/error-reporting compiles both
net48 and net10.0, recording source state and exact artifact hashes under
Build/validation/plugin/. Linux can compile the Framework target using NuGet
reference assemblies; Windows runtime validation remains a separate check.
Release symbol collection takes the staged runtime explicitly:
python3 Build/collect-symbols.py symbols stage/Magnetar. Only PDBs whose adjacent
binary exactly matches a shipped binary are collected. Recheck extracted assets
with python3 Build/collect-symbols.py --verify symbols stage/Magnetar.
The symbol manifest records source commit, uncommitted state and shipped paths.
error-reporting is a required core plugin on every server runtime. It captures local structured
Error/Critical and fatal incidents before game startup. Offline deployments must include its
compiled plugin alongside the compatible PluginSdk. Quasar.Host supplies
ERROR_REPORTING_DIRECTORY and ERROR_REPORTING_CONTEXT for per-run collection; standalone
capture remains local. Required installation does not grant external sharing consent.
Fatal handlers clean up the PID record and then return to runtime/OS exception handling, allowing
configured native and managed crash dumps to be produced. Dump capture policy is supplied by the
supervisor; the plugin never forces process exit. Release builds publish separate
MagnetarSymbolsForLinux-*.7z and MagnetarSymbolsForWindows-*.7z archives with matching binary
hashes and the source commit. Keep these with each deployed release for crash symbolication.
AGPL v3 only (AGPL-3.0-only).
Your own plugins can stay closed when they use the interfaces we document for
third-party use. See the plugin exception for details.
See the licensing guide for scope and source requirements.
PluginSdk and the listed examples are also available under MIT.
Alternative licensing is available case by case.