/spd-server

Primary LanguageJavaScript

Config

Make a config.json file with the following values:

  1. port: the port the server will run on
  2. roomprefix: The prefix the server will use on all depth rooms
  3. seed: the seed that will be sent to all players
  4. itemSharing: if item sharing should be enabled
  5. accounts: a set of authorized player keys

Example

{
	"port": 5800,
	"roomprefix": "spdnet",
	"seed": 123456789,
	"itemSharing": true,
	"accounts": [
		{ "key": "1234567890", "nick": "player1" },
		{ "key": "abcdefghij", "nick": "player2" }
	]
}

Running

npm run start