node-hill-mbrickplayer
v0.8.1
Published
A Multi-Brick legacy server written in node.js. (rewrite for support of all additions by Malte0621's client.)
Downloads
2
Readme
What is this?
A Multi-Brick legacy server written from the ground up in Node.js. (Custom Build by Malte0621)
What is the difference?
The difference between this and the normal node-hill is the fact that this custom build has featrues that does not exists in the normal node-hill nor client.
Current custom-build features:
- Sounds
- Full XYZ rotation axis support (This means your maps CAN to follow the new brk format., replace
+ROT
with+ROT 0,0,
) - Replicated physics (WIP)
- GUIs
- Materials (This means your maps CAN to follow the new brk tag.,
+MAT
. Example:+MAT bricks
) - Decals (textures) (This means your maps CAN to follow the new brk tag.,
+DECAL
. Example:+DECAL https://example.com/texture.png
) - Tweens (tweening) - for bricks
- Sitting
- Climbing
- Emotes (WIP)
- Videos
What does this do?
It allows you to host Multi-Brick 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.
What does this NOT do?
This does not provide any additional functionality to the legacy client.
ie. The client will not gain any FPS improvements.
Automatic Client Installation:
Download the client installer/uninstaller from here, then run it as admin and click the big install button.
MANUAL Client Installation:
Download the auto updater / launcher from here and download the required sound dll from here.
Put the sound dll in
%appdata%\Multi-Brick\
and put the launcher inC:\Program Files (x86)\Multi-Brick
, make sure to rename the old one first. (Do not replace old one, use it as a backup.)Now simply join a game that runs my server. (or if still working, other servers too.)
Errors and fixes:
Error defining an external function.
: Restarting your computer usually fixes this. (It is a dll load error caused by windows.)
Error defining an external function.
: Could also be caused by a windows issue that doesn't fix when you reboot, if that's the case. Make a directory in %appdata%\Multi-Brick
call it overrides
and create a file called nosounds
(or download the file here and put it in the overrides
folder. (Or uninstall the client .-., and reutrn to normal bh.. :/)
Installation:
Download Node.js 8 or above at https://nodejs.org/en/download/
Download and extract the template here.
Open the extracted folder in the file explorer, and in the top bar type "cmd" and press enter.
Install node-hill-mbrickplayer using the command
node-hill-mbrickplayer@latest
in cmd/terminal (make sure your're in the template folder with cmd/terminal.), as this will install the needed dependencies for node-hill to function.Edit the
start.js
file to fill in your appropriate server information.
You will need to add your host key for the set you want to host. This can be found under the set's settings page.Finally, start your server by launching
launch_server.bat
or by runningnode ./start.js
.
Additional information
You must port forward if you want other players to be able to play your game. The recommended port for Multi-Brick is: 42480.
You are able to bundle your map/scripts into a single .bbrk file by launching your server with the --bundle option.
For example: node .\start.js --bundle
For more information on bundling check out nh-bundle.
Documentation
Can be found here: https://example.com/.