1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

removed old plugins

added v0.1 of profanity determent plugin
This commit is contained in:
RaidMax
2018-03-28 23:40:57 -05:00
parent 831d9f6efb
commit 433436293a
35 changed files with 211 additions and 4245 deletions

View File

@ -0,0 +1,36 @@
using SharedLibrary.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using SharedLibrary;
namespace ProfanityDeterment
{
class Configuration : IBaseConfiguration
{
public List<string> OffensiveWords { get; set; }
public bool EnableProfanityDeterment { get; set; }
public string ProfanityWarningMessage { get; set; }
public string ProfanityKickMessage { get; set; }
public int KickAfterInfringementCount { get; set; }
public IBaseConfiguration Generate()
{
OffensiveWords = new List<string>()
{
"nigger",
"nigga",
"fuck"
};
EnableProfanityDeterment = Utilities.PromptBool("Enable profanity deterring");
ProfanityWarningMessage = "Please do not use profanity on this server";
ProfanityKickMessage = "Excessive use of profanity";
KickAfterInfringementCount = 2;
return this;
}
public string Name() => "Configuration";
}
}