Skip to content

Allows you to filter out console prints with regular expressions

License

Notifications You must be signed in to change notification settings

Source2ZE/CleanerCS2

Repository files navigation

CleanerCS2

A simple Metamod plugin that allows you to filter out console prints with regular expressions. Supports both Windows and Linux.

Example config

// 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+.*

Installation

  1. Download the latest release from the releases page
  2. Extract the contents of the archive to your server's addons directory
  3. Edit the addons/cleanercs2/config.cfg file to your liking (see the example config above)

Commands

  • conclear_reload - Reloads the configuration file

Building from source

Xmake is used to build the project.

  1. Clone the repository and its submodules
  2. Run xmake in the root directory of the repository