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
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