Catalog News Guides Community For contributors
Everything for CS 1.6 / CSS / CS:GO servers - Plugins | Builds | Models | Maps » Everything for CS:GO » CS:GO plugins » LAN Command Pipe: documentation for the lan_pipe.sp plugin

LAN Command Pipe: documentation for the lan_pipe.sp plugin

10.11.2026, 19:35adminViews: 1Comments: 0
LAN Command Pipe: documentation for the lan_pipe.sp plugin

About this content

LAN Command Pipe — a SourceMod plugin for local command exchange between a game and tools on the same computer. It reads lines from a file, executes them as server commands, or returns requested status to a log. The repository provides the source file tools/src/lan_pipe.sp; це не готовий бінарний плагін і не підтвердження успішної збірки.

Features

  • Polls the command file at a specified interval and passes ordinary lines to the server console via ServerCommand().
  • Supports querying a CVAR value using the prefix ?, as well as status queries ~status і ~players.
  • Writes results to a separate text log with timestamps. Status data includes the map, number of players and bots, time, team scores, and freeze time; player data includes slot, name, team, alive status, and bot indicator.
  • After processing at least one command line, clears the file so those lines are not executed again.

The README explains that a file channel is used instead of RCON: the mentioned CS:GO Legacy build does not have connectionless RCON, and the external tool and game can exchange data through a shared disk.

Requirements and security

The source code specifies SourceMod dependencies sourcemod і cstrikeThe project is intended for local and LAN use with CS:GO Legacy; the README requires launching the game with the parameter -insecure, so that unsigned DLLs from addons. Do not use this tool in official matches or on other people's servers.

The command file is a server-command execution channel, effectively a local code-execution channel. Keep it only on a computer under your control. To stop polling, set sm_lanpipe_enable 0.

Installation

The project README suggests running python toolscsgotool.py install to install a third-party plugin pack; before that, you can use python toolscsgotool.py install --dry-run. This is the described way to work with the pack, not an instruction for building specifically lan_pipe.sp. The archive contains source code, so the availability of a ready-made lan_pipe.smx is not guaranteed.

Configuration

The plugin creates configuration variables with the following initial values:

  • sm_lanpipe_enable — 1, polling enabled.
  • sm_lanpipe_interval — 0.2 seconds; the valid range is from 0.05 to 5.0.
  • sm_lanpipe_file — data/lan_pipe.txt, path relative to addons/sourcemod.
  • sm_lanpipe_log — data/lan_exec.log, path relative to addons/sourcemod.
  • sm_lanpipe_version — plugin version; in the source code this is 1.3.0.

Command file format

Each line is processed separately. Empty lines, as well as lines beginning with #, ; or //, are ignored. Example queries:

?mp_freezetime
~status
~players
mp_freezetime 5

The first line reads a CVAR value, the next ones query match status and the player list, and the last passes a command to the server. Results appear in the file specified by sm_lanpipe_log.

Downloads

Version: v1.0.1.

The ZIP contains the source repository; a ready-made build is not guaranteed. Plugin file: tools/src/lan_pipe.sp.

Similar content

Comments (0)

New content by email

Subscription with email confirmation. No more than one email per day. Unsubscribe via the link in any email.

Join the community

Register · Reset password