
Run docker run -restart=unless-stopped -name MyScreepsServer -v /srv/screeps:/screeps -p 21025:21025 screepers/screeps-launcher. Create config file in an empty folder ( /srv/screeps is used for this example). Your server should be up and running! Connect to it using the steam client:Ĭhoose the Private Server tab and connect using those options:ĭocker builds are published to Dockerhub as screepers/screeps-launcher Run docker-compose restart screeps to reboot the private server. Unless you want to poke around, use Ctrl-d to exit the cli. In the CLI, run system.resetAllData() to initialize the database. This is a command-line interface to control your new private server. Run docker-compose exec screeps screeps-launcher cli. Wait until it is done starting the docker images and settle on mongo status messages. Run docker-compose up to start the services. Remove environments (line 2-5) in config.yml, since they are defined in docker-compose.yml. The docker-compose.yml example can be used as-is, but the config.yml requires some customization. Create an empty folder with both a config.yml (don't forget to add screepsmod-mongo!) and a docker-compose.yml (see examples). You might have to fiddle with the docker advanced settings to allow enough CPU to run the server smoothly. Install docker (look on the left to find the correct platform). This is the easiest way to get a private server working on windows and using mongo + redis. There is also an example docker-compose.yml that starts a server + mongo. screeps-launcher restore Restores a backup (Warning: Completely replaces existing data). screeps-launcher backup Creates a backup. screeps-launcher cli Launch a screeps cli. screeps-launcher upgrade Upgrades all packages (screeps, mods, bots, etc).
screeps-launcher apply Applies the current config.yml without starting the server.
There are several extra arguments that can be used to manage the install: You can use screeps-launcher cli in the same folder for CLI access Other options It completes instantly, restart the server after. If you installed screepsmod-mongo, run screeps-launcher cli in another shell, and run system.resetAllData() to init the DB.Users reported problems when set too low. Simplebot: screepsbot-zeswarm serverConfig: # This section requires screepsmod-admin-utils to work welcomeText: | My Cool Server constants: # Used to override screeps constants TEST_CONSTANT: 123 tickRate: 1000 # In milliseconds. screepsmod-mongo # You must install and start `mongodb` and `redis` before this mod will work bots: SteamKey: keyFromStep3 mods: # Recommended mods