Skip to content

ItsMajestiX/ServerModManager

Repository files navigation



Build Status

ServerModManager

A package manager for SCP: Secret Laboratory

So apparently the official SMod team is working on something similar to this. When it releases, I’ll archive this and switch over to the official version. Until then, the project isn’t going anywhere.

SeverModManager is designed to make installing SMod2 packages easier. It’s modeled after pip, so if you have worked with that, you’re good to go.

Install by simply running scpman install packagename, and remove with scpman remove packagename. When it’s time to update, just run scpman update packagename. Simple!

Dependencies are automatically taken care of, so you don’t have to install everything one at a time.

Uses .NET Core, so it can be run on Windows and Linux (and maybe even OS X…)

CI Builds

If you want fresh off the press packages, get them here under the most recent build as artifacts. Releases do nothing, so don’t go there.

Install

Create a new folder at the same level as sm_plugins and unzip the files there. Now you’re good to go!

Packages

See here for a list of currently available packages

Note on JSON

The JSON format will change a lot, so it’s a good idea to get every new release. I’ll freeze the format in v1.0, but untill then, things are subject to change without warning.

About Testing Server

The directory TestingServer is a directory you can use to debug the program without needing to download from the repository. Just install Python 3 and run server.bat.

To Do

  • Futureproof JSON
  • Install from file of requirements
  • Add incompatibilities
  • Fix bug where download finishes before loading bar displays
  • Follow ERROR, WARNING, and INFO conventions more strictly
  • Make updater script

For Modders

Get your mod added to the list! DM me on discord at MajestiX#7652.

Credits

Newtonsoft.JSON (JSON processing)

Pastel (colored command line text)

Special thanks to VirtualBrightPlayz for making the packing I tested on in the begining: dclassmadneess

Written with StackEdit.