1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 07:40:54 -05:00

Added CommandArgument class to generate syntax for commands. changed Command constructor

tweaked help command
/pubbans is working properly now
plugins properties changed to expression
This commit is contained in:
RaidMax
2017-11-15 15:04:13 -06:00
parent 89381bcc7d
commit a56f386644
17 changed files with 391 additions and 189 deletions

View File

@ -57,15 +57,9 @@ namespace EventAPI
return resp;
}
public string GetContentType()
{
return "application/json";
}
public string GetContentType() => "application/json";
public bool Visible()
{
return false;
}
public bool Visible() => false;
}
class Events : IPlugin
@ -77,23 +71,11 @@ namespace EventAPI
int flaggedMessages;
List<string> flaggedMessagesText;
public String Name
{
get { return "Event API Plugin"; }
}
public String Name => "Event API Plugin";
public float Version
{
get { return 1.0f; }
}
public float Version => 1.0f;
public string Author
{
get
{
return "RaidMax";
}
}
public string Author => "RaidMax";
public async Task OnLoadAsync(IManager manager)
{