Skip to content

Server Setup

Coke And Code edited this page Jul 5, 2023 · 4 revisions

Prerequisites

Setting it Up

  • Get the source of the unearthed repository (or use this ZIP)
  • From command line go to unearthed/unearthed-standalone
  • Run npm i to install the dependencies

This will have installed a test version of chrome that will run the server for us.

Starting the Server

  • From unearthed/unearthed-standalone run npm run server

The server should start and show a banner.

Running Mods

Mods (either zips or .js) files can be placed in the unearthed/unearthed-standalone/mods directory. When the server starts it reads all the files in this directory and installs them as mods on the server.

Resetting the Server

The unearthed/unearthed-standalone/session contains the session storage for the server. If you delete this directory it'll clear the session and reset the server to defaults.

Clone this wiki locally