Bleeper
About Bleeper
Bleeper will be another filtering plugin. From the few plugins I've tried, they have hardly worked. At all. Or they were just glitchy. So I wrote this. This plugin will allow you to filter 3 lists of words: Words that will be filtered (replaced with the "magic" text, somewhat for fun), words that will be replaced with other words (seemingly what people prefer for filter plugins), and finally, words to be emhpasized (in bold text).
Config Stuff!
Effects
There will be config options for various effects that can be applied to any word in any of these lists such as:
- Hurt - Simply deals the specified amount of damage to the player. If they use more than one listed word, it'll add the damage of all the words, then deal the total amount.
- Ignite - Ignites the player for the specified time. Like the Hurt, the time for each word used is added together.
- Explode - Basically blows up the person. There will be an option to disable block damage for this; disabled by default. If disabled, the person will take the damage a normal TNT would do without armor. If enabled, armor will affect the damage value
- Boom - More for emphasized words, this creates the explosion effect without the damage.
- Smite - Strikes the person with lightning. This instantly does 10 damage (Half the life bar). There will be an option in the config to disable lightning-fire for this, even if it is disabled, this may still create a fake fire until the Bukkit API is updated to deal with that bug, but the fire won't do any harm.
- Lightning - Also for emphasis, this is an entirely fake lightning strike.
- Death - This will override any of the above options and cause the player to die instantly.
- When using commands, these effects can be aliased ( h, i, e, b, s, l, d ) - NOT case-sensitive.
Other Options
- raw-console - This will enable/disable whether the console will see the unfiltered text.
- warn-users - Issues a warning to users who use a listed word. May set up different messages for each list of words.
- warn-message - Currently the only option for what message to warn users with. Since it doesn't make much since to warn people for using emphasized words, it's highly likely I'll add specific messages for each list of words.
- defaults - The options under this will specify what settings to apply to words added with /bleep <word> - This is mainly for convenience. There will be more complex commands for adding words with specific settings via commands.
- enable-
#
- There will be an enable option for each of the word lists in case you want to disable one or more of the modules. I intend to make commands to toggle these. - regex-
#
- There will be an option to enable a regex filter for each word list to more thoroughly check for listed words. If these are disabled, Bleeper will only find exact matches (not case sensitive). - Filter, Replace, and Emphasize - These options will contain the word lists and effect options for each word.
Other Notes & Caveats
- I do not intend to make this plugin ban or kick people, it'll strictly be a filter plugin unless there's a strong demand for the ban/kick features. Even if it is implemented, there will be options specific to those features. Although it'll just complicate the plugin and config.yml.
- Currently there's a bug where using color codes will cause the word to bypass the filter (Which I'm trying to solve before I release the plugin).