MCSF (My Christian Swear Filter) [100% Customizable]
5.1MCSF is a swear filter that lets users disable or enable filtering
5.1latestMinor update 5.1Apr 28, 2021 Changes · the isclean method now requires Pattern value instead of using only utils#getSwears(), now it is possible to only filter global messages · There is now a local cache of sizes for swears, whitelist, and global information. I now compare this to the raw file and if it differs, update · Added possibility of only punishing players if they have flagged global filters · Removed Sign Filtering Support · Removed ability to disable whitelist checking, if you wish to have it disabled just set the whitelist list to be empty · Player Only Filtering now relies upon recipients and is set to only be called last, to let all other plugins have first go · Removed Custom Regex options in config, you may now add custom regex as you would a normal swear: · To do this, you need to add a prefix like so: /mcsf add regex:REGEX or /mcsf global regex:REGEX · This now means custom regex is now cross-server compatible · PlaceholderAPI support! You can now use placeholders from PAPI in MCSF messages! · Some placeholders have been added for other plugins to use, check the last bit in the README.md! · Removed users option from config and it is now set into an SQLLite database. · User data is now stored and managed in a new User class. · This version has a huge revamp of the filtering methods, causing no delay from messages on my test server. · This version now has the SQL data in a separate folder, so you can share the config.yml without sharing the credentials of MySQL aswell. · This version adds the possibility of double filtering a string, if enabled strings will be filtered twice before returning to users. · This prevents users from bypassing the filter by putting a swear inside of a swear E.G: sh shit it would return to user as sh **** it · if this is enabled, it would be filtered and shown as sh **** it Fixes: · Fixed issue with globalSwears generating lag whenever filtering occurs (was creating new regex each time a word was cleaned) · Fixed issue with book checks not globally filtering · Made it so that custom regex could be globally filtered, though this will disallow the use of TYPE parameters · Fixed issue with swears.yml appearing to be empty due to a variable being filled and checked before it finished · Fixed issue with special characters and spaces not successfully being filtered in some cases Notes Enabling only player filtering strips all hovering and special effects added to that message. The only way to keep these is to use ProtocolLib and have Player only filtering disabled. For more information please see this page5.0Major update 5.0Jan 11, 2021 For more information please see this page4.4Minor 4.4Aug 30, 2020 4.3Minor 4.3Aug 17, 2020 4.2Minor 4.2Jul 25, 2020 4.1Minor 4.1Jul 11, 2020 4.0Major update 4.0Jul 7, 2020 Read more here!3.5Minor update 3.5 (1.16)Jun 27, 2020 3.4Minor update 3.4Jun 9, 2020 3.3Minor 3.3Jun 1, 2020 Changes: · Shortened the time it takes to filter a string · Modified isclean method so it returns true if a string contains blacklisted words • This only affects settings.experimental_regex, return value stays the same otherwise · New console_motd provides console with plugin data • You may disable this through settings.console_motd or modify it through variables.console_motd · New swear count config addition, counts the number of times swears have been filtered · Debug option added in the config, slipped my mind the last update • You can modify this through settings.debug (disabled by default) • Debug strings aren't modifiable since they contain some useful information that only the console would see · Punish players who swear with any command! • This requires both settings.force and settings.punish_players to be true • MCSF.bypass allows users to not be punished · Fixed an issue where DiscordSRV messages were being affected by italics and underscores. • Until I find a way to filter experimental webhook messages for DiscordSRV, they will remain unfiltered · In-game update notifications on join whenever there is a new update • Permission to receive updates is MCSF.update • Disable this under settings.update_notification_ingame, default is true Notes Hi thank you for using my plugin, I just wanted to ask you that if you come across any issues please message me or post them through the issues portion of the GitHub repository Once I feel that the experimental regex is stable enough, I'm going to remove the setting option and make the regex portion the only method to filter strings. Thank you for your continued support3.2Minor 3.2May 20, 2020 Hello! It's been a while, but here is another update. If you come across any issues, please message me on here! Thank you · Added version command (MCSF.version) · Added update check, each time the server restarts console will receive a message regarding a potential update (settings.updatecheck) · Added a reset command that sets the database information to what you have currently set in config. This command is irreversible. · No longer needed to have MySQL API installed on your server to use MySQL (But still uses MySQL API) · Now supports utf8 so non-standard characters will be filtered. · Sign check is now back, though it could still present issues. It's disabled by default (settings.signcheck) (1.10+) · You can now disable any command argument, all are enabled by default.3.1Minor 3.1May 6, 2020 Minor bug fixes, added a few null checks that could be the cause of some issues with other plugins that modify chat3.0Major updateApr 27, 2020 - Removed Book filtering (working on alternate methods to filter) - Removed sign filtering (major lag) - MySQL support via MySQL API (thank you Vagdedes) - Redone a lot of code to make sure this plugin stays as reliable as it can be. - Should now support 1.8 - 1.15.2 Thank you for waiting Things have been hectic, book filtering should return soon! if you have any issues please shoot me a DM2.0MCSF (1.13.2+) MajorApr 14, 2019 MCSF (1.13.2+): · MYSQL support · DiscordSRV support · Signs that contain swears are filtered · Bstats for metrics · Books that contain swears are filtered · Signs that contain swears are filtered · Default enabled swear filter · Force enable swear filter · Console can be notified when player's swear filter changes · Check the status of a player's swear filter (/mcsf status <player>) (Somewhat of a recode) -- had to reupload because some issue with permissions1.0MCSF - added 1.8 support (Minor)Mar 7, 2018 - MCSF now supports the 1.8 version of Minecraft - miscalculation issues
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta