start.js does not work..(changed key for security)

[dp6] perez
Joined 18/03/2022
Posts 95
06:10 PM 11/06/2023
const nh = require('node-hill')

nh.startServer({
hostKey: I6LCu5OkgyUj7BxFVCSuKRttjVIj6z959eNUBTzak2wKo1OQANeKn1xtB4GUlGxS, // Your host key here (can be found under the settings of the set.)

gameId: 47095 // Your game id here

port: 42480, // Your port id here (default is 42480)

local: true, // Whether or not your server is local

mapDirectory: './maps/', // The path to your maps folder.

map: 'farmhouse.brk', // The file name of your .brk

scripts: './user_scripts', // Your .js files path

// Add npm / built-in node.js modules here
modules: [
//"discord.js"
]
})

// For more help: https://brickhill.gitlab.io/open-source/node-hill/interfaces/gamesettings.html


[dp6] perez
Joined 18/03/2022
Posts 95
06:15 PM 11/06/2023
it just automatically closes when i run the server start bat...... idk what is going on. it worked before i modified it


[dp6] perez
Joined 18/03/2022
Posts 95
12:57 AM 12/06/2023
EDIT


THIS WAS SOLVED

1