MCSF (My Christian Swear Filter) [100% Customizable] icon

MCSF (My Christian Swear Filter) [100% Customizable] -----

MCSF is a swear filter that lets users disable or enable filtering




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 page
----------, Apr 28, 2021


Changes
  • the isclean method now requires array 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
  • PlaceholderAPI support! You can now use placeholders from PAPI in MCSF messages!
    • This only works for players, if the console receives a message with PAPI placeholders nothing will happen.
Fixes:
  • Fixed issue with globalSwears generating lag whenever filtering occurs (was creating new regex each time a word was cleaned)
  • Fixed issue with both book and sign 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
For more information please see this page
----------, Jan 11, 2021









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 support
----------, Jun 1, 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.
----------, May 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)
  • You can now disable any command argument, all are enabled by default.
----------, May 20, 2020

Minor bug fixes, added a few null checks that could be the cause of some issues with other plugins that modify chat
----------, May 6, 2020

- Modified add / remove so now you don't need to have MySQL enabled to use it.
- Added the possibility of a custom command instead of /mcsf
- Added an experimental regex option which is enabled by default
- Added users being saved into database along with the swear list
- Readded book filtering with the help of BookAPI
- Readded metrics (Forgot to the last update)
- Added the possibility of only showing help messages if the user has permission to use the command
- Other various bug fixes and features I can't think of at the moment
NOTES:
If using a custom command please be aware that you might notice this when you attempt to type it into the in-game chat bar [​IMG]
If you come across any issues/bugs please message me or post an issue on Github! Thank you <3
----------, May 5, 2020

- Modified add / remove so now you don't need to have MySQL enabled to use it.
- Added the possibility of a custom command instead of /mcsf
- Added an experimental regex option which is enabled by default
- Added users being saved into database along with the swear list
- Readded book checking back with the help of BookAPI
- Readded metrics (Forgot to the last update)
- Added the possibility of only showing help messages if the user has permission to use the command
- Other various bug fixes and features I can't think of at the moment
NOTES:
If using a custom command please be aware that you might notice this when you attempt to type it into the in-game chat bar [​IMG]
If you come across any issues/bugs please message me or post an issue on Github! Thank you <3
----------, May 5, 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 DM
----------, Apr 27, 2020

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 permissions
----------, Apr 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)
----------, Apr 13, 2019

- MCSF now supports the 1.8 version of Minecraft
- miscalculation issues
----------, Mar 7, 2018

Resource Information
Author:
----------
Total Downloads: 2,540
First Release: Mar 5, 2018
Last Update: Apr 28, 2021
Category: ---------------
All-Time Rating:
14 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings