mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add ServerCommandRequestExecuteEvent implementation
This commit is contained in:
@ -1606,6 +1606,12 @@ namespace IW4MAdmin
|
||||
});
|
||||
}
|
||||
|
||||
public override Task<string[]> ExecuteCommandAsync(string command, CancellationToken token = default) =>
|
||||
Utilities.ExecuteCommandAsync(this, command, token);
|
||||
|
||||
public override Task SetDvarAsync(string name, object value, CancellationToken token = default) =>
|
||||
Utilities.SetDvarAsync(this, name, value, token);
|
||||
|
||||
public override async Task TempBan(string reason, TimeSpan length, EFClient targetClient, EFClient originClient)
|
||||
{
|
||||
// ensure player gets kicked if command not performed on them in the same server
|
||||
|
Reference in New Issue
Block a user