promotional bannermobile promotional banner

CurseBan

Bans users that curse too much

File Details

CurseBan 2.3.2

  • R
  • Mar 2, 2012
  • 36.86 KB
  • 1.7K
  • CB 1.1-R6

File Name

CurseBan.jar

Supported Versions

  • CB 1.1-R6

2.3.2 release notes

  • Updated to R6 (Compiled against 1.2.3-R01)
  • Removed deprecated API
  • Now removing users with 0 points from the list

2.3.1b release notes merged

  • Added support for regex
  • Switched around some stuff in the config file: <<code yaml>>literal-match: <true/false><</code> became <<code yaml>>matching: <default/default-ignorecase/literal/literal-ignorecase/regex/regex-all-lower><</code> Old entries should be automatically converted

About the new matching types;

  • default: Just your regular old matching (will also match ass in grass, etc)
  • literal: Will match only whitespace-seperated words (ass, but not dumbass)
  • regex; Will match according to these rules: http://www.regular-expressions.info/tutorial.html

The suffix -ignorecase (or -all-lower for regex) enables case-insensitive matching. For regex, all letters in the pattern should be lowercase if the -all-lower option is used.

/cb add handles things a little bit different. Simply put one of the following characters followed by a ':' (colon) in front of the curse
i: for default-ignorecase
l: for literal
li: for literal-ignorecase
r: for regex
ra: for regex-all-lower

Put nothing in front for default matching