mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 08:38:19 -05:00
Branch for IW4X practically everything refactored
This commit is contained in:
59
Chat Monitor Plugin/Main.cs
Normal file
59
Chat Monitor Plugin/Main.cs
Normal file
@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SharedLibrary;
|
||||
|
||||
|
||||
namespace ChatMonitor
|
||||
{
|
||||
public class Main : IPlugin
|
||||
{
|
||||
|
||||
|
||||
public string Author
|
||||
{
|
||||
get
|
||||
{
|
||||
return "RaidMax";
|
||||
}
|
||||
}
|
||||
|
||||
public float Version
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Chat Monitor Plugin";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void onLoad()
|
||||
{
|
||||
lastClear = DateTime.Now;
|
||||
flaggedMessages = 0;
|
||||
flaggedMessagesText = new List<string>();
|
||||
}
|
||||
|
||||
public void onUnload()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public void onTick(Server S)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public void onEvent(Event E, Server S)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user