Private Server

From Screeps Wiki
Jump to: navigation, search

This article is a stub. You can help Screeps Wiki by editing to add more information.


This article is a stub. You can help Screeps Wiki by editing to add more information.
The Screeps private server is a private server created by the devs and highly modifiable by the community.

It consists of several segmented modules detailed below. And you can access their source codes at the bottom of this page.
The modules are as follows:


launcher launches the rest of the processes, and it includes the server control GUI.
It is also an optional modules as any user can write their own launcher or launch modules manually.
Doing the latter gives far more control regarding the server operations.


storage contains a LokiJS-based database, a key-value storage, and a Pub/Sub mechanism.
The rest of the processes connect to storage to exchange data.
It is where your servers game lives including map data, player data, etc...


backend contains an HTTP server accessed by clients and a CLI server for administration.
This allows for server administrators to execute commands and also the primary way to interact with mods if they have an intractable element.


engine is the game core. It executes game scripts and interacts with game world objects.


driver is a link between the environment-independent engine (that is shared for the official server, standalone server, and in-browser simulation) and the immediate environment that hosts the game engine.
You can replace this module with your own one, if you wish to use another method of storing and handling data.


common is a shared code base with useful utilities.



Common Tasks

Public Servers

Server mods[edit]

-Mods collection on github:
-DeathTech's mods:
More to be added when more links get published.

DeathTech's version of GCL to CPU made by iKlem is not the official one.
For the official version of GCLtoCPU please refer to iKlem's github page (or you can find it in the devs tracked repositories displayed above.)
Please use "" for gcltocpu. Unless you want deathtech's chronjob version.

Source Code[edit] Main Repo, mostly a meta-package and wrapper for the rest. Electron/CLI launcher Webserver/API module Core Engine, this is shared with the public server Storage module, acts as a communications hub for all other modules Shared module that other modules use to connect to storage This is the driver for the engine.