-
Notifications
You must be signed in to change notification settings - Fork 1
AntiCurse
AntiCurse prevents bad words from being seen in a chat message advanced, by replacing the bad word with some predefined characters. The function can be fully customized inside the configuration file.
A certain action after a player cursing can be defined inside the configuration file in future updates.
This section teaches you how to configure AntiCurse inside a configuration file. Using command for configuring is discouraged, so a tutorial for that is not provided on the official wiki.
Replaced String will be used when a message consists of bad word(s). Every character of the bad word will be replaced with the Replaced String. For example, if the Replaced String is "hi", and if "badword" is a bad word, when a message consists of "badword", "badword" in the message becomes "hihihihihihihi". Make sure to add quotation marks for the value.
This version tells the plugin whether it should cancel a message which consists of a bad word, or replace the bad word with another string. Setting to true cancels the message. Do not add brackets for the value because it is not a string.
There is a list of badwords under the configuration section "anticurse" in the configuration file. The plugin will consider the words inside the list as badwords. You do not need quotation marks for every element inside the list.