Beispiel #1
0
 public void banOffline(BanOffline ban)
 {
     _client.SendCommand("addBan " + ban.guid + " " + ban.duration + " " + ban.reason);
     if (ban.name != "")
     {
         if (_form != null)
         {
             _form.Log("Banned " + ban.name + " from the server! (GUID)", LogType.Console, false);
         }
     }
     else
     {
         if (_form != null)
         {
             _form.Log("Banned " + ban.guid + " from the server! (GUID)", LogType.Console, false);
         }
     }
 }
Beispiel #2
0
 public void banOffline(BanOffline ban)
 {
     _client.SendCommand("addBan " + ban.guid + " " + ban.duration + " " + ban.reason);
     if (ban.name != "")
     {
         if (_form != null) _form.Log("Banned " + ban.name + " from the server! (GUID)", LogType.Console, false);
     }
     else
     {
         if (_form != null) _form.Log("Banned " + ban.guid + " from the server! (GUID)", LogType.Console, false);
     }
 }
Beispiel #3
0
 public void banOffline(BanOffline ban)
 {
     rcon.banOffline(ban);
 }