Make a config.json
file with the following values:
port
: the port the server will run onroomprefix
: The prefix the server will use on all depth roomsseed
: the seed that will be sent to all playersitemSharing
: if item sharing should be enabledaccounts
: a set of authorized player keys
{
"port": 5800,
"roomprefix": "spdnet",
"seed": 123456789,
"itemSharing": true,
"accounts": [
{ "key": "1234567890", "nick": "player1" },
{ "key": "abcdefghij", "nick": "player2" }
]
}
npm run start