screepers / screeps-launcher

Launcher for the Screeps Private Server
MIT License
133 stars 34 forks source link

Set server password #22

Closed amaennel closed 3 years ago

amaennel commented 3 years ago

Hi,

is there currently a way to set the password of the private server ? I have found no option for that in the examples nor in the config loading code.

Thanks :)

AlinaNova21 commented 3 years ago

Just set it in the ENV variables, although be aware the server password makes it harder to use any API tools

# config.yml
env:
  backend:
    SERVER_PASSWORD: password
amaennel commented 3 years ago

Ok thank you :) I couldnt find this env variable anywhere in the documentation for the private server, sorry for asking.