How to Host (Tutorial for the don't know how)

[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
03:23 PM 08/04/2021
Also I know this is a repost, but the last 3 threads died and users dont know

Today I will be poorly telling you how to host your very first game on Brick-Hill!

Before we begin, we are going to assume you already have a .brk file, and a set on site. If you already have the node-hill template with the brk, start.js, launch_client.bat and other stuff, skip ahead!

First, you'll want to go here. https://brickhill.gitlab.io/open-source/node-hill/
You'll need to make sure you have node.js installed, and then make sure to download and extract the Node-Hill template ( https://cdn.discordapp.com/attachments/705586171052294184/743879528065269870/Node-hill-8.4.0-Template.zip )

After you download and extract the zip file, have it somewhere on your computer.
Next, take your .brk file (the file that your game map is contained in) and put it in the maps folder of the template!

Any scripts you have coded in .js will go in the user_scripts folder!

Next, we are going to do the part that allows you to host games off your device!
This takes a few steps so I'll list it with numbers
1) Open up cmd prompt
2) Type 'ipconfig' into cmd prompt (without the single quotes)
3) copy your default gateway
4) paste your default gateway into your browser
5) log in to your router's online admin panel
6) (it's different depending on your router so this may not work) go to the advanced settings tab and go to 'Port Forwarding/Port Triggering'
For reference, here is a cropped picture of what it looks like on my router https://media.discordapp.net/attachments/624765476932943883/753460899792027778/unknown.png
7) Next, there should be buttons with stuff like 'edit service'. Click on 'add custom service'.
8) Pick whatever name you wish for the service. Set the external port range to any number (I suggest 42480! If you want to host another game, you need to use a different port like 42481)
9) Change the internal ip address to the internal ip address of your device

Now you are done with setting up the service!

Next, open up the start.js file from the node-hill template with any text editor.
Change the 'gameId' part to the id for your set. Next, change the 'port' to the number you chose for the external port range.
Change 'local' to false (change to true when testing in workshop!) so that others can play when you host.
Change the 'map' attribute to whatever you named your .brk file.
And now, you are almost done!

Now, click on the file explorer's url bar while inside the node-hill template and type cmd!

This will open up cmd prompt directly inside of the folder.

What you want to do now, is type 'npm install node-hill@latest' and run that command.
This will install node-hill.

Once node-hill is done downloading, run the command 'node .\start.js' and it should say 'Posted to [insert game link here' !

I hope this helped yall, if anything was unclear or you have any questions, feel free to ask me!


top meme
Joined 20/07/2019
Posts 9,979
03:24 PM 08/04/2021
What is diz nonsense burh


[SET] Kqpa
Joined 01/04/2018
Posts 21,499
03:24 PM 08/04/2021
thanks, I'll bookmark this


[CtRm] PleaseSubToNinfo
Joined 07/10/2019
Posts 24,739
03:24 PM 08/04/2021
its a pain in the butt


[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
03:25 PM 08/04/2021
Quote from top meme , 03:24 PM 08/04/2021
What is diz nonsense burh
Telling people how to host games since its pretty frequent to see posts asking how you make/publish/play/host games


[Greek] Echelon
Joined 11/01/2021
Posts 370
03:27 PM 08/04/2021
sorry dude that put time into writing the tutorial but im not reading all that


[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
03:40 PM 08/04/2021
Quote from Echelon , 03:27 PM 08/04/2021
sorry dude that put time into writing the tutorial but im not reading all that
Well then you don't have to. And if you weren't going to have anything relevant why even reply at all?


[SGT] AX3L
Joined 13/03/2018
Posts 6,549
12:24 AM 09/04/2021
This is a pain. Thanks tho


[Code] Chlps
Joined 12/01/2021
Posts 129
08:21 AM 09/04/2021
Tbh never saw someone post something helpful like this and people keep getting toxic over that I mean good work on the tutorial dude 👏


[P00R] Wix Boy
Joined 09/02/2020
Posts 6
02:25 AM 15/04/2021
Sucks that you have to port forward. great tutorial tho


[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
04:29 AM 02/05/2021
bumping so people see

1 2