Skip to content

banyamesterseg/RegexFilter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimal, yet full-blown, chat filter solution based on Regular Expressions

This plugin is a remake and extension of FloydATC's RegexFilter This plugin was originally developed by HazeDev of EQUARE Studios according to my specifications

Notice: this plugin does no filtering ON ITS OWN; you'll have to set up the patterns yourself

Features

  • Replace text in chat for moderation or for fun
  • Deny sending messages matching filter
  • Warn players about what they just said
  • Notify staff (or anyone, really, it's permission-based)
  • Execute commands regarding players (eg. autokick)
  • Exempt staff from filters (again, permissions)
  • PCRE-compatible engine (java.util.regex)
  • YAML config
  • Include other files to make your filters more manageable

Commands

  • /regexfilter reload: reloads the config, requires the relevant permission (or OP)

Permissions

  • regexfilter.exempt: don't apply any filters whatsoever - NB this currently blocks side effects also
  • regexfilter.exempt.<group>: don't apply specific filters - you can specify permission leaf node names in the config
  • regexfilter.notify.<group>: alert on specific matches - you can specify permission leaf node names in the config
  • regexfilter.reload

Configuration

see included config.yml for details and examples

Upcoming features

  • JSON (/tellraw) support
  • More commands
    • in-game modification of filters (add/remove/edit)
    • on-line testing (test)
  • Automatic reload of config on save
  • Multiple outcomes (chance results)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%