You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo is a plugin for Minecraft, and I'm going to keep it updated for as long as possible. Currently, this plugin has been tested with Minecraft Java edition versions 1.8.8 through 1.16.4.
3
+
This repo is a plugin for Minecraft, and I'm going to keep it updated for as long as possible. Currently, this plugin
4
+
has been tested with Minecraft Java edition versions 1.8.8 through 1.16.4.
4
5
5
6
Download the latest version from [SpigotMC.org](https://www.spigotmc.org/resources/54115/)
6
7
7
-
MCSF is a swear filter that enables your server to let users personally toggle their filter status. That means users who feel like they don't need to have a swear filter could toggle it on/off whenever they please.
8
+
MCSF is a swear filter that enables your server to let users personally toggle their filter status. That means users who
9
+
feel like they don't need to have a swear filter could toggle it on/off whenever they please.
10
+
8
11
# FEATURES:
12
+
9
13
***Per player toggling**:
10
-
* Giving players the option to disable or enable the swear filter whenever they wish
11
-
***DiscordSRV support**:
12
-
* This allows you to filter discord messages along with server chat messages.
13
-
* Optionally you may surround blacklisted words with spoilers.
14
-
***Punishments**:
15
-
* This allows you to punish players if they swear by executing commands.
16
-
***Whitelists**:
17
-
* This is optional but will enable you to remove words from being filtered.
18
-
***Custom regex support**:
19
-
* This allows you to add custom regex.
20
-
* By default, an IP and a domain regex would remove any matches and enable it through the config!
21
-
***UTF-8 support**:
22
-
* This allows you to use special characters in your blacklist so that the filter could also filter languages like Chinese!
23
-
***MySQL support**:
24
-
* MySQL, if enabled, would save both the swears and whitelist values into the database of choice along with user information.
25
-
***Customizability**:
26
-
* This is probably one of the most important, but you may modify every message seen by the player!
27
-
***Multiple languages files**:
28
-
* MCSF supports multiple languages!
29
-
* You can find language files in MCSF/locales/; you may choose which one you'd like to use by changing settings.language to the file name of the language that you'd like to use :)
30
-
***RGB support**:
31
-
* Any message sent by MCSF may have RGB using this format: &#RRGGBB
32
-
***Cooldowns**:
33
-
* By default, all MCSF messages have a time delay of 5 seconds.
34
-
* A 5 second delay would mean players can only use MCSF commands every 5 seconds
35
-
* You can disable this with the permission MCSF.bypass or set the cooldown to 0.
36
-
***Global blocking**:
37
-
* This allows you to block specific words for everyone even if the player's filter is disabled.
14
+
* Giving players the option to disable or enable the swear filter whenever they wish
15
+
***DiscordSRV support**:
16
+
* This allows you to filter discord messages along with server chat messages.
17
+
* Optionally you may surround blacklisted words with spoilers.
18
+
***Punishments**:
19
+
* This allows you to punish players if they swear by executing commands.
20
+
***Whitelists**:
21
+
* This is optional but will enable you to remove words from being filtered.
22
+
***Custom regex support**:
23
+
* This allows you to add custom regex.
24
+
* If you wish to use this, please read the bottom of this page!
25
+
***UTF-8 support**:
26
+
* This allows you to use special characters in your blacklist so that the filter could also filter languages like
27
+
Chinese!
28
+
***MySQL support**:
29
+
* MySQL, if enabled, would save both the swears and whitelist values into the database of choice along with user
30
+
information.
31
+
***Customizability**:
32
+
* This is probably one of the most important, but you may modify every message seen by the player!
33
+
***Multiple languages files**:
34
+
* MCSF supports multiple languages!
35
+
* MCSF supports multiple languages!
36
+
* You can find language files in MCSF/locales/; you may choose which one you'd like to use by changing
37
+
settings.language to the file name of the language that you'd like to use :)
38
+
***RGB support**:
39
+
* Any message sent by MCSF may have RGB using this format: &#RRGGBB
40
+
***Cooldowns**:
41
+
* By default, all MCSF messages have a time delay of 5 seconds.
42
+
* A 5 second delay would mean players can only use MCSF commands every 5 seconds
43
+
* You can disable this with the permission MCSF.bypass or set the cooldown to 0.
44
+
***Global blocking**:
45
+
* This allows you to block specific words for everyone even if the player's filter is disabled.
38
46
39
47
# REQUIRMENTS:
40
48
41
49
(Optional: for global filtering) ProtocolLib
42
50
Java 8+
51
+
43
52
# COMMANDS:
44
53
45
-
***/MCSF toggle [player]***(Permission: MCSF.use.toggle & MCSF.modify.others if toggling other users)*
**(OPTIONAL):** If you plan on using [DiscordSRV](https://www.spigotmc.org/resources/18494/), you must first download the plugin and then add them to your server and then restart the server.
113
+
**(OPTIONAL):** If you plan on using [DiscordSRV](https://www.spigotmc.org/resources/18494/), you must first download
114
+
the plugin and then add them to your server and then restart the server.
106
115
107
116
## Example Regex Test:
117
+
108
118
https://regex101.com/r/pvMY0o/1
109
119
110
120
# CUSTOM REGEX:
111
-
You can add custom regex for both global and normal filtering by adding them as normal swears.
112
-
For a string to be recognised as regex, it must be valid for Java and have the prefix regex:
121
+
122
+
You can add custom regex for both global and normal filtering by adding them as normal swears. For a string to be
123
+
recognised as regex, it must be valid for Java and have the prefix regex:
0 commit comments