Giter VIP home page Giter VIP logo

badnamedetector's Introduction

BadNameDetector

Detects if a user has a predefined "bad name" and replaces it according to configs.

Default Configs

public bool IsEnabled { get; set; } = true;

[Description("If the name of a user is an EXACT match, the events of the plugin will trigger.")]
public List<string> PerfectBadNameComparisons { get; private set; } = new List<string>();

[Description("If the name of a user CONTAINS the strings provided, the events of the plugin will trigger.")]
public List<string> ContainsBadNameComparisons { get; private set; } = new List<string>();

[Description("If 'EnableCustomNameGenerations' is not enabled, this will be the name set to any users who's names are replaced.")]
public string StaticNameValue { get; private set; } = "BadNameUser{count}";

[Description("Allows for the use of custom name replacements rather than the static one above.")]
public bool EnableCustomNameGenerations { get; private set; } = true;

[Description("Names to replace previosuly naughty ones if the config above is enabled.")]
public List<string> NameReplacements { get; private set; } = new List<string>
{
    "Nice Neighbor",
    "Good Guy",
    "David",
    "Anonymous Apple",
    "Happy Kitten",
    "Keyboard Warrior",
    "Fancy Pants",
    "Politically Correct Fellow",
    "Innocent Ringtop",
    "Galapagosian Treasurechest",
    "Cuddly Huger",
    "Radical Marshmallow",
    "Soup95"
};

[Description("To find special characters in names that may be used to buffer bad words and remove them.")]
public bool RemoveSpecialCharacters { get; private set; } = true;

[Description("Replace 4 with A(a), 3 with E(e), 1 with I(i), etc.")]
public bool ReplaceNumbersWithWords { get; private set; } = true;

badnamedetector's People

Contributors

neil925 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.