Giter Club home page Giter Club logo

cleanercs2's Introduction

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

cleanercs2's People

Contributors

poggicek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cleanercs2's Issues

Recompile needed

I hate to make such a trivial ask, as I have been meaning to learn how to compile metamod based plugins... but would you mind updating the release to be compatible with the latest version of metamod? I find this plugin very useful and miss having a clean server console <3

Not Detecting

I want to stop this message from flooding server console

26.218750 Long frame (WarmupPeriod): 20.10ms elapsed, 0.30ms sim time, 1 ticks, 1678..1678.
33.750000 Long frame (WarmupPeriod): 22.36ms elapsed, 0.26ms sim time, 1 ticks, 2160..2160.
33.984375 Long frame (WarmupPeriod): 16.83ms elapsed, 16.62ms sim time, 1 ticks, 2175..2175.
44.796875 Long frame (WarmupPeriod): 20.10ms elapsed, 0.26ms sim time, 1 ticks, 2867..2867.
66.000000 Long frame (WarmupPeriod): 27.14ms elapsed, 0.32ms sim time, 1 ticks, 4224..4224.
69.187500 Long frame (WarmupPeriod): 19.78ms elapsed, 0.26ms sim time, 1 ticks, 4428..4428.
75.375000 Long frame (WarmupPeriod): 20.05ms elapsed, 0.28ms sim time, 1 ticks, 4824..4824.

My Config

// Write regular expression in here to prevent them from being printed in the console

.*Long frame (WarmupPeriod).*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.