Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[ANY] Universal Chat Filter (Version 0.9.6, 2016-10-01)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Universal Chat Filter (Version 0.9.6, 2016-10-01)

A universal chat filter plugin using regular expressions. You can trigger text replacements, name replacements, colors, server commands, and even sounds with it. Thus you can use it as a guardian over your server's chat language as well a fun replacement tool and even for kicking annoying LMAOBox players (much faster than the VAC system). Oh, and anti CAPS is possible as well.

Needs the Simple Chat Processor (Redux) plugin! Which you can find here: https://forums.alliedmods.net/showthread.php?p=1820365

Features
  • Regex filter expression -> filter chat entries by (or player names) by using regular expressions. If you don't know what this is, take a look e.g. here: http://www.regular-expressions.info/tutorial.html
  • Additional filter conditions -> you can specify additional filter conditions like members of a certain team, (non) admins, members of custom chatfilter groups, or exceeding a specified CAPS-letter-to-non-CAPS-letter ratio.
  • Flexible replacements -> choose whether to block a chat entry completely or just replace it - or parts of it. You can use regex grouping tags in replacements, too.
  • Color replacement options -> you can assign colors in your replacement expressions. (If your game supports this - sorry, CS:GO players!)
  • Color flow replacement options -> use not only plain colors but 'rainbow-like' color flows in your replacement. Like this: chatfilter_colorflow2.gif
  • Sound replacement options -> you can even play sounds as a replacement or as a part of it!
  • Trigger actions -> use the penalty point system to trigger any server command at (almost) any point.

Commands

The only essential thing is to set up a proper chatfilter config file (chatfilter.cfg). Then anything else will happen automatically. For maintenance or information reasons you can use these commands:
  • sm_chatfilter_reload-> reload the chatfilter.cfg file.
  • sm_chatfilter_reset <name|#userid> \[<section id>\]-> reset a players penalty points. You can add a config section number if you only want to erase the points for a certain section. (See below: Configuration)
  • sm_chatfilter_status-> show plugin details and a table of all players' information.
  • sm_chatfilter_group <name|#userid> <group>-> assign a player to a group (that has been defined in the config file - see below).
  • sm_chatfilter_ungroup <name|#userid>-> erase the group assignment for a player.

CVars
  • chatfilter_version-> the plugin's version, obviously...
  • sm_chatfilter_enabled-> 1/0 for enabling or disabling the chatfilter. (Default 1)
  • sm_chatfilter_admins-> 0/1 for disabling or enabling the chatfilter on admins. (Default 0)
  • sm_chatfilter_keep_penalty-> 1/0 for keeping or resetting a player's penalty points on reconnect. (Default 1)
  • sm_chatfilter_loglevel-> 0/1/2: 0 = no logging / 1 = log only triggered actions to the sourcemod log file / 2 = log actions and replacements. (Default 1)

Installation

First: Install the Simple Chat Processor (Redux) plugin by minimoney1! https://forums.alliedmods.net/showthread.php?p=1820365

Then copy the chatfilter.smx into your SourceMod 'plugins' directory and put the chatfilter.cfg into the 'configs' directory. Take a look inside the chatfilter.cfg and modify it to your needs!

The config file:
Spoiler


Download

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...