Node-Hill not working?????

[macg] Iue
Joined 25/12/2019
Posts 345
02:45 PM 27/06/2020
I'm trying to get this game up and running, I've done port forwarding and all that, but now I'm stuck on this one step.
hosting it.
I edited the start.js file to my setID (17407) but it still says "{"error":"You are not the owner"}"
I'm confused so any help would be appreciated (:


SmartLion
Joined 16/04/2017
Posts 1,970
07:23 PM 27/06/2020
Try running this command
npm explore node-hill -- npm run sync-account
then try running your server again and see if it errors or not


[BHSM] oofihatelife
Joined 20/06/2020
Posts 553
01:56 PM 07/07/2020
Quote from SmartLion , 07:23 PM 27/06/2020
Try running this command
npm explore node-hill -- npm run sync-account
then try running your server again and see if it errors or not
How do u host servers?


[TLVK] Edge.
Joined 19/05/2020
Posts 2,266
03:11 PM 07/07/2020
Quote from oofihatelife , 01:56 PM 07/07/2020
Quote from SmartLion , 07:23 PM 27/06/2020
Try running this command
npm explore node-hill -- npm run sync-account
then try running your server again and see if it errors or not

How do u host servers?
We need a hosting tutorial for public use... oh wait, THERE IS ONE!


https://brickhill.gitlab.io/open-source/node-hill/


[BHSM] oofihatelife
Joined 20/06/2020
Posts 553
01:45 PM 08/07/2020
How to start hosting

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.

Finally, start your server with node .\start.js.


[TLVK] Edge.
Joined 19/05/2020
Posts 2,266
02:11 PM 08/07/2020
Quote from oofihatelife , 01:45 PM 08/07/2020
How to start hosting

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.

Finally, start your server with node .\start.js.
IMPORTANT!! Run cd your node-hill directory before running npm command!

1