ChatNanny

0 Downloads

Simple server plugin that will block chat messages that contain too many capital letters.

There are two configuration settings (in config.yml) that control the limits:

  • max-caps - the maximum number of capital letters allowed (default is 10)
  • max-percent - the percentage of capital letters allowed in the message (default is 75)

Note that both settings always apply the limits allowed. However, if you don't want to restrict the number of capital letters, set the max-caps to a large number, such as 1000. Likewise, if you don't want to restrict capital letters by percentage, set max-percent to 100.

You may also change the message that is displayed to a user when they reach the limit:

  • message: Message not sent! Too many CAPITAL letters!

The source is in the jar file.

Feel free to comment and/or make suggestions.