public void Init(RiskyIPChecker plugin) { this.plugin = plugin; // IP Risk Checker this.smIPTrust = new Dictionary <string, System.Decimal>(); this.smIPCountry = new Dictionary <string, string>(); this.smIPQueue = new List <string>(); this.smCurUpdateCount = this.plugin.GetConfigInt(RiskyIPChecker.CONFIG_IP_WHITELIST); // Rounds // end }
public void Init(RiskyIPChecker plugin) { this.plugin = plugin; // IP Risk Checker this.smIPTrust = new Dictionary <string, System.Decimal>(); this.smIPCountry = new Dictionary <string, string>(); this.smIPQueue = new List <string>(); this.smUpdateIPTrustEvery = this.plugin.GetConfigInt("trusted_ips_reset_every"); // Rounds this.smCurUpdateCount = smUpdateIPTrustEvery; // Rounds // end }
public int smCurUpdateCount; // Rounds // end public IPChecker(RiskyIPChecker plugin) { this.Init(plugin); }