Package fr.neatmonster.nocheatplus.checks.chat.analysis.engine.processors

Examples of fr.neatmonster.nocheatplus.checks.chat.analysis.engine.processors.FlatWords$FlatWordsSettings


    // NOTE: These settings should be compared to the per player settings done in the EnginePlayerConfig constructor.
    if (config.getBoolean(ConfPaths.CHAT_TEXT_GL_WORDS_CHECK, false)){
      FlatWordsSettings settings = new FlatWordsSettings();
      settings.maxSize = 1000;
      settings.applyConfig(config, ConfPaths.CHAT_TEXT_GL_WORDS);
      processors.add(new FlatWords("glWords",settings));
    }
    if (config.getBoolean(ConfPaths.CHAT_TEXT_GL_PREFIXES_CHECK , false)){
      WordPrefixesSettings settings = new WordPrefixesSettings();
      settings.maxAdd = 2000;
      settings.applyConfig(config, ConfPaths.CHAT_TEXT_GL_PREFIXES);
View Full Code Here


  public final List<WordProcessor> processors = new ArrayList<WordProcessor>(5);

  public EnginePlayerData(ChatConfig cc) {
    EnginePlayerConfig config = cc.textEnginePlayerConfig;
    if (config.ppWordsCheck)
      processors.add(new FlatWords("ppWords", config.ppWordsSettings));
    if (config.ppPrefixesCheck)
      processors.add(new WordPrefixes("ppPrefixes", config.ppPrefixesSettings));
    if (config.ppSimilarityCheck)
      processors.add(new SimilarWordsBKL("ppSimilarity", config.ppSimilaritySettings));
  }
View Full Code Here

TOP

Related Classes of fr.neatmonster.nocheatplus.checks.chat.analysis.engine.processors.FlatWords$FlatWordsSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.