Skip to content

About

SCP: Secret Laboratory server plugin for WindowsGSM with LocalAdmin V2. Maintained by PapaGordon for MeFriendos.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

SCP: Secret Laboratory

WindowsGSM.SCPSL

Run an SCP: Secret Laboratory dedicated server with WindowsGSM.

Latest MeFriendos WindowsGSM Version 0.1.2 MIT License

This plugin installs and updates the SCP: Secret Laboratory dedicated server through SteamCMD and runs it through Northwood's LocalAdmin. It's based on the original plugin by Oscar Hurst, with the start and stop handling rewritten for the current LocalAdmin V2.

Using our MeFriendos WindowsGSM? Then you don't need this plugin. SCP:SL is built in there, with the same code. Just pick SCP: Secret Laboratory Dedicated Server under Install. This plugin is for other WindowsGSM builds.

What it does

  • Installs and updates the server (Steam app 996560). No Steam account needed.
  • Starts LocalAdmin.exe with the port from WindowsGSM, the way Northwood intends it.
  • Shows LocalAdmin and game output in Embed Console, where you can also type commands.
  • Stops the server with LocalAdmin's exit command.
  • Doesn't accept Northwood's EULA for you and doesn't apply for server verification. Both are your decision.

What you need

  • 64-bit Windows and a WindowsGSM build that can load plugins. We test with the current MeFriendos WindowsGSM.
  • The runtimes SCP:SL needs, such as .NET Framework 4.8 and the Visual C++ Redistributable. Check Northwood's hosting guide for the current list and supported Windows versions.

Install

  1. Download the ZIP from the latest release.
  2. Copy the whole SCPSL.cs folder into <WindowsGSM>\plugins\.
  3. Click Reload Plugins or restart WindowsGSM.
  4. Pick SCP: Secret Laboratory Dedicated Server and click Install.
  5. Keep port 7777 or choose another free UDP port.
  6. Start the server. LocalAdmin asks you to accept Northwood's EULA. Read it and accept it in the console yourself.
  7. Set up your server in %APPDATA%\SCP Secret Laboratory\config\<port>\ (see below).
  8. Open the UDP port in the Windows firewall and on your router.

Settings

Default
Game port 7777 (UDP)
Start parameters --useDefault
Server status in WindowsGSM Not available, there's no query

WindowsGSM passes Server Port to LocalAdmin as the first argument. Don't put a port into the start parameters, the server won't start then and tells you why. The start parameters are for LocalAdmin options. --useDefault skips LocalAdmin's setup wizard on the first start. It does not accept the EULA.

Each new SCP:SL server in WindowsGSM gets a port one higher than the previous one.

Game settings

SCP:SL keeps its settings per port in the profile of the Windows user that runs WindowsGSM:

%APPDATA%\SCP Secret Laboratory\config\<port>\config_gameplay.txt

The most important fields for a public server:

server_name: MeFriendos | EU | DE/EN | 16+
server_ip: auto
max_players: 20
contact_email: YOUR_CONTACT_EMAIL

The Server Name and Max Players in WindowsGSM don't change these. They're only used inside WindowsGSM.

Console and stopping

With Embed Console on, the plugin adds --printStd --noSetCursor --disableTrueColor to the start parameters, unless you already have them. That way LocalAdmin also shows the game's output and it displays cleanly in WindowsGSM. Commands you type there go to LocalAdmin.

Stop sends LocalAdmin's exit command and waits up to 20 seconds. If the server still runs, it tries again through LocalAdmin's window and waits another 20 seconds. Only then is the process ended. That's safer than ending SCPSL.exe directly, because LocalAdmin takes care of the game process.

Accepting the EULA without a prompt

The plugin never adds --acceptEULA. If you've read and accepted Northwood's EULA and want the server to start without asking, add that LocalAdmin option to the start parameters yourself.

Ports and firewall

SCP:SL only needs the game port over UDP, by default 7777. TCP isn't needed for normal play.

The plugin doesn't create or remove firewall rules. Use WindowsGSM's Auto Firewall if your build has it, or open the port yourself. Open only that UDP port instead of allowing LocalAdmin.exe or SCPSL.exe as a whole. Router port forwarding is always up to you.

Plugins with LabAPI

Current SCP:SL server builds come with Northwood's LabAPI for server plugins. This WindowsGSM plugin doesn't install or change LabAPI. Its files are usually in %APPDATA%\SCP Secret Laboratory\LabAPI\. Only use plugins that match your SCP:SL version, and check what they do before installing them.

Server verification

The plugin only installs and runs the server. To get your server verified by Northwood, fill in the server info and contact fields, make sure the UDP port is reachable, read the current Community Server Guidelines and apply through Northwood's verification process yourself.

Troubleshooting

"File not found" for LocalAdmin.exe or SCPSL.exe. The installation is incomplete. Run Update with validation.

"Server Port must be a number between 1 and 65535". Check the port in WindowsGSM.

"Do not put the SCP:SL port in Server Start Param". Remove the number at the start of the start parameters. WindowsGSM passes the port itself.

The server doesn't appear in the browser or nobody can join. Check server_name and server_ip in config_gameplay.txt, the UDP port in the firewall and your router forwarding.

Links

This is a community plugin. It's not affiliated with or endorsed by Northwood Studios, the WindowsGSM project, Oscar Hurst or any third-party plugin developer.

License

The original plugin by Oscar Hurst is under the MIT License. Its copyright notice stays in LICENSE, together with the notice for our changes. You can use, change and share the plugin, also commercially, as long as the copyright and license notice stay with it.

The game icon is the original Steam artwork, converted to PNG. It has its own rights, see artwork credits.

About

SCP: Secret Laboratory server plugin for WindowsGSM with LocalAdmin V2. Maintained by PapaGordon for MeFriendos.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages