fixed issue with status response erroring when incorrect length

view angle vector parse fail is now a handled exception
change local host check to byte array to make it faster than comparing string
kick command now requires moderator level or higher
tempban now requires administrator level or higher
hopefully fixed negative SPM bug
pipelined the events and consolidated them to run through GameEventHandler
uniform console colors
This commit is contained in:
RaidMax
2018-04-26 01:13:04 -05:00
parent ece519251a
commit 99390f1f35
26 changed files with 526 additions and 355 deletions

View File

@ -72,9 +72,9 @@ namespace IW4MAdmin.Plugins.Welcome
}
}
public Task OnUnloadAsync() => Utilities.CompletedTask;
public Task OnUnloadAsync() => Task.CompletedTask;
public Task OnTickAsync(Server S) => Utilities.CompletedTask;
public Task OnTickAsync(Server S) => Task.CompletedTask;
public async Task OnEventAsync(GameEvent E, Server S)
{