A simple Metamod plugin that allows you to filter out console prints with regular expressions. Supports both Windows and Linux.
// Write regular expression in here to prevent them from being printed in the console
.*UNEXPECTED LONG FRAME DETECTED.*
.*weapon services didn't find a shoot position.*
.*generating substitute command \d+ from \d+.*- Download the latest release from the releases page
- Extract the contents of the archive to your server's
addonsdirectory - Edit the
addons/cleanercs2/config.cfgfile to your liking (see the example config above)
conclear_reload- Reloads the configuration file
Local builds require a static build of re2 and git submodules to be initialized recursively via git submodule update --init --recursive.
Requires Xmake.
xmakeRequires AMBuild on PATH.
mkdir build && cd build
python3 ../configure.py --enable-optimize --re2-root /opt/re2
ambuilddocker compose run --rm --build buildTo build without compose:
docker build -t cleanercs2-build .
docker run --rm -v "$PWD/output:/output" cleanercs2-build