A Brick Hill legacy server written from the ground up in Node.js.
It allows you to host Brick Hill servers efficiently, and headlessly (VPS hosting, etc). It comes with a fully-packed scripting API that lets you do things the legacy server normally couldn't do.
It can load .brk files to the client extremely fast, but at the same time being memory and CPU efficient. Allowing for long-term 24/7 hour hosting.
This does not provide any additional functionality to the legacy client.
ie. The client will not gain any FPS improvements.
-
You need Node.js (8+) (Download it here: https://nodejs.org/en/download/).
-
Download and extract the template here.
-
Open your folder in the file explorer, and in the top bar type "cmd" and press enter. Example:
-
Run
npm i node-hill@latest
, this will install the needed dependencies for node-hill. -
[OPTIONAL] Run
npm explore node-hill -- npm run sync-account
if you are hosting on a VPS. This lets you login to your account from your VPS. This will sync your VPS IP to your Brick Hill account. -
Edit
./start.js
to replace gameId with your proper gameId, port, etc. -
Finally, start your server by clicking on
launch_server.bat
or runningnode ./start.js
.
You must port forward if you want other players to be able to play your game. The recommended port for Brick Hill is: 42480.
Can be found here: https://brickhill.gitlab.io/open-source/node-hill/.