Private server API
-
How do I authenticate to private server API endpoints? I'm using private server shipped with Steam client. It exposes endpoints like http://127.0.0.1:21025/api/auth/me, so there should be some way to use these. There is https://github.com/screepsmods/screepsmod-auth, but it has broken the server when I tried to install it.
-
@methodiacal its a bug, but you can just reinstall screeps:
npm install isolated-vm # vm first to solve a bug during install
npm install screeps # install screeps
npx screeps init # init screeps
npm install screepsmod-auth # install auth
npm screeps install # reinstall screeps, because the screepsmod-auth will deinstall shit
npx creeeps start # to start the private server