For the most part, servers need it so that there are more opportunities to do something on the client.
The installation is very simple - you just need to transfer the B2M folder to your addons folder:
1. Download ZIP archive of B2M on this page
2. Open archive
3. Open your game folder
4. Open garrysmod/addons folder (create if not exist)
5. Drop folder b2m_master in /addons
rustup override set nightly
py build
or
python build
cargo build --target i686-pc-windows-msvc // win32
cargo build --target x86_64-pc-windows-msvc // win64
cargo build --target i686-unknown-linux-gnu // linux (x32)
cargo build --target x86_64-unknown-linux-gnu // linux64
if not b2m.Require("chttp") then
print("Binary module chttp cannot be loaded")
return
end
b2m install chttp * --server-only // installing module only on server
b2m install chttp * --client-only // installing module only on client
b2m install chttp 1.0.0 // installing chttp with version 1.0.0 on client and server