Cheshire Posted May 24, 2020 Share Posted May 24, 2020  [6.2] Profanity Filter  Description: This patch adds a basic profanity filter that is configurable through the server in a file called filteredwords.json. This filter is applied to the following things:  Chat Usernames Character names  It's nothing fancy, and supports basic features such as wildcards on words. Word of warning, adding an insanely long list WILL slow down your server, as it checks against each entry on the list.  The updated version of this mod can automatically mute players for sending multiple filtered chat messages. This can be configured through the server configuration file, under Chat Options. There is language file support for the mute reason.  Credits: This was based on the work of James Montemagno. Found his class while searching for an answer to a question asked on the forum, and started writing a class based on his work. Ended up using two of his methods, why reinvent the wheel.  Media:  Spoiler Word List  Word list in action    Downloads: [Download]  Updates: [Download] - Adds the profanity check to user and character names and modifies a method that checks if any filtered words are in a given string. [Download] - Add the ability to mute people automatically after sending a certain amount of filtered chat message. [Download] - Fixes two small dumbs of me in the last update.  Built and tested for 0.6.2.420  Setup:  The following steps are REQUIRED before this will work properly! Download and install the main patch file Download and install any update patches IN THE ORDER THEY ARE LISTED. Compile and run the server, it should automatically generate the required configuration file! Close down your server, add the words you want to the filter and start your server again. Chat like no one has ever chat before! Kamus, Blestro, Justn and 2 others 5 Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2020 Share Posted May 24, 2020 It's giving me this error when running git apply: "error: unrecognized input" Link to comment Share on other sites More sharing options...
Cheshire Posted May 24, 2020 Author Share Posted May 24, 2020 Which of the two files is doing that? Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2020 Share Posted May 24, 2020 The main one Link to comment Share on other sites More sharing options...
Cheshire Posted May 24, 2020 Author Share Posted May 24, 2020 Most odd, can you try this version @The Bunny Gamer? Maybe something got corrupt somewhere? Â https://www.ascensiongamedev.com/resources/filehost/4c35d6f1f856af35bbda4c066c19c9d7.patch Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2020 Share Posted May 24, 2020 Works, thanks!! Link to comment Share on other sites More sharing options...
Doug Posted May 25, 2020 Share Posted May 25, 2020 @joyce I like to use this, but how to install the pack? Link to comment Share on other sites More sharing options...
Cheshire Posted May 25, 2020 Author Share Posted May 25, 2020 32 minutes ago, Doug said: @joyce I like to use this, but how to install the pack? Â I believe you might have missed the following: Â Â Link to comment Share on other sites More sharing options...
Doug Posted May 25, 2020 Share Posted May 25, 2020 new to .net, and everything in the section including this importing.  I read, and can do everything.  But how do I download the pack into a .git? @Joyce  Edited: Oh I have to download Github Desktop, Didn't know that was a thing lol. but I download it. Link to comment Share on other sites More sharing options...
Cheshire Posted May 25, 2020 Author Share Posted May 25, 2020 Sorry but that's outside the scope of this topic. Â You should probably read the documentation and make a topic regarding any questions you have based on that. Link to comment Share on other sites More sharing options...
Doug Posted May 25, 2020 Share Posted May 25, 2020 @joyce True, and I see more on this git situation for adding codes/packs to help me in the future. Â But for now if anyone uses words that aren't PG13 I warn them with a Mute, and if it keeps happening I just ban them. Link to comment Share on other sites More sharing options...
Guest Posted May 25, 2020 Share Posted May 25, 2020 I wonder if it would be possible to make a whitelist with this? Link to comment Share on other sites More sharing options...
Cheshire Posted May 25, 2020 Author Share Posted May 25, 2020 4 hours ago, The Bunny Gamer said: I wonder if it would be possible to make a whitelist with this?  Maybe? I'm not sure that's as universally useful as a blacklist though. So if anyone wishes to do that, that's on them.  Update [Download] - Adds the profanity check to user and character names and modifies a method that checks if any filtered words are in a given string. Justn 1 Link to comment Share on other sites More sharing options...
Guest Posted May 26, 2020 Share Posted May 26, 2020 Can confirm, latest update works Link to comment Share on other sites More sharing options...
Cheshire Posted August 15, 2020 Author Share Posted August 15, 2020 Small little update, added the ability for the filter to automatically mute people when they use filtered words repeatedly. The settings for this can be configured through the server config file. Note that the profanity count on a player resets when they log out and back in. The mute however, does not.    Downloads (two because I did a dumb)  Update part 1. Update part 2. Kamus, Shenmue and wishy 3 Link to comment Share on other sites More sharing options...
Daywalkr Posted July 22, 2021 Share Posted July 22, 2021 Any chance of an update on this guy? Would be useful; patch seems to fail on latest prerelease these days. Link to comment Share on other sites More sharing options...
Cheshire Posted July 22, 2021 Author Share Posted July 22, 2021 I'm thinking of redoing this as a plugin to be honest. Â EDIT: @Daywalkr I've turned it into a plugin:Â https://github.com/Cheshire92/Intersect-Plugins Once we get a plugin board I'll post a compiled version of it. Link to comment Share on other sites More sharing options...
Daywalkr Posted July 29, 2021 Share Posted July 29, 2021 Rad @Cheshire! Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now