A Metamod plugin that provides a VConsole server for GoldSrc HLDS, enabling remote console access using the Source 2 VConsole protocol.
- VConsole protocol server compatible with CS2RemoteConsole clients
- Captures all server console output including engine commands (
status,stats, etc.) - Remote command execution
- Configurable port and bind address
- Connection limiting (default: 1 connection, port closes when connected)
- Optional logging
Requires Docker for cross-platform builds.
# Build Docker image (first time only)
./build-docker.sh
# Build the plugin
./build.sh
# Build for specific architecture
METAMOD_VCONSOLE_ARCH=x86 ./build.sh # 32-bit (for classic HLDS)
METAMOD_VCONSOLE_ARCH=x64 ./build.sh # 64-bitOutput: ./build-x86/Debug/bin/libmetamod-vconsole.so
- Copy
libmetamod-vconsole.soto<game>/addons/metamod-vconsole/dlls/ - Copy
config.inito<game>/addons/metamod-vconsole/ - Add to
<game>/addons/metamod/plugins.ini:linux addons/metamod-vconsole/dlls/libmetamod-vconsole.so
Edit config.ini:
[vconsole]
# Port for VConsole server (default: 29000)
port=29000
# Bind address (default: 0.0.0.0 for all interfaces)
# Use 127.0.0.1 to only allow local connections
bind=0.0.0.0
# Maximum concurrent connections (default: 1)
# Set to 0 for unlimited
max_connections=1
# Enable logging to server console (default: 1)
# Set to 0 to disable [VConsole] log messages
logging=1./package.sh x86 # Creates release/metamod-vconsole_x86.tar.gz
./package.sh x64 # Creates release/metamod-vconsole_x64.tar.gz
./package.sh both # Creates bothA test client is included:
cd tests
./run_test.sh -p 29000 -c "status"
./run_test.sh --helpThis project is licensed under the GNU General Public License v3.0.