- The steam private server has a few limitations, one being that getting non-workshop mods to work is a huge headache.
- The npm version is much better, but requires care in installing everything correctly.
Therefore, the goal of this is to simplify the entire process making it much easier to use.
No need to manually npm install
anything, its handled automatically
- Download a release from the Releases Page
- Drop into an empty folder or your PATH
- Get your Steam API key
- Create config.yml (All fields are optional! You can pass STEAM_KEY as an environment variable)
steamKey: keyFromStep3
mods: # Recommended mods
- screepsmod-auth
- screepsmod-admin-utils
- screepsmod-mongo # You must install and start `mongodb` and `redis` before this mod will work
bots:
simplebot: screepsbot-zeswarm
serverConfig: # This section requires screepsmod-admin-utils to work
welcomeText: |
<h1 style="text-align: center;">My Cool Server</h1>
constants:
TEST_CONSTANT: 123
tickRate: 1000
- Open a shell to folder
- Run
screeps-launcher
- If you installed
screepsmod-mongo
, runscreeps-launcher cli
in another shell, and runsystem.resetAllData()
to init the DB. It completes instantly, restart the server after. - Done!
You can use screeps-launcher cli
in the same folder for CLI access
There are several extra arguments that can be used to manage the install:
screeps-launcher apply
Applies the current config.yml without starting the server.screeps-launcher upgrade
Upgrades all packages (screeps, mods, bots, etc)screeps-launcher cli
Launch a screeps cli
Docker builds are published to Dockerhub as screepers/screeps-launcher
Quickstart:
- Create config file in an empty folder (
/srv/screeps
is used for this example) - Run
docker run --restart=unless-stopped --name MyScreepsServer -v /srv/screeps:/screeps -p 21025:21025 screepers/screeps-launcher
- Done!
There is also an example docker-compose.yml that starts a server + mongo
Don't forget to add screepsmod-mongo
to your config.yml
and run system.resetAllData()
on first use.