RSSy MYGO.pl Opublikowano Kwiecień 20, 2018 o 04:54 RSSy Udostępnij Opublikowano Kwiecień 20, 2018 o 04:54 [TF2] Regex Filterv2.1.0 Description: A plugin created by Keith Warren [Sky Guardian], modified and maintained by myself. This plugin is pretty much a direct upgrade to this: https://forums.alliedmods.net/showthread.php?t=71867. Check out the documentation there, since I feel they've done a nice job of detailing it. One difference is that this plugin allows the use of "namefilter" and "commandfilter" in the config file, not just "chatfilter" I have also included a method of replacing matched name and chat filters through the use of "replace" "remove". It's more explanatory by looking at the config I use. For more thorough information, please see my github for this project: https://github.com/JoinedSenses/TF2-Regex-Filter To compile, you will need MoreColors and Sourcemod-miscFYI: The "blank" section at the top of the config is intended. There is some weird bug occuring when it is removed, more than likely due to the funky characters used. If you'd like to see a demo, you can hang out in irc.gamesurge.net #ecj-test, or request an invite to my discord.What this plugin does: Serves as a filter for names, chat, and commands using a config which allows for regex. Only tested in TF2 If you are unfamilair with regex, check out these websites: http://www.rexegg.com/regex-quickstart.html https://www.regular-expressions.info/ https://regex101.com This plugin has included features which integrate the use of SourceIRC when connecting multiple servers. Included IRC Features: * Method to relay 'connect' messages to a main IRC channel * Method to relay filtered names and chat messages to a seperate channel for debugging/analysis. * IRC relayed messages are formatted specifically with Discord in mind if a relay bot is used (Servers -> IRC -> Discord) ConVars:sm_regexfilters_status "1" // Enable/Disable plugin sm_regexfilters_config_path "configs/regexfilters/" // Don't touch. Config path of filters sm_regexfilters_check_chat "1" // Enable chat checking sm_regexfilters_check_commands "1" // Enable command checking sm_regexfilters_check_names "1" // Enable name checking sm_regexfilters_irc_enabled "0" // Enable use of IRC relay sm_regexfilters_irc_main "" // Public server 'connect' messages are relayed to. Dont include the # sm_regexfilters_irc_filtered "" // Hidden channel for filtered message and name relay. Don't include the # Installation: * Install regexfiltering.smx into your plugins folder. * Either install the included config to addons/sourcemod/configs/regexfilters/ or create your own at that location. * Optional: Install and setup SourceIRC for the IRC relay functionality https://forums.alliedmods.net/showthread.php?p=1204192To Do: None at the moment besides maintaining the regexfilters.cfg Changelog: v2.1.0 [4/20/18] Initial public release . Attached Files Get Plugin or Get Source (regexfiltering.sp - 25.1 KB) regexfiltering.smx (22.9 KB) regexfilters.cfg (13.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
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ę