Merge 7f072f0461
into 02a0da538b
This commit is contained in:
commit
d704343754
|
@ -669,6 +669,14 @@ namespace BattleBitAPI.Server
|
|||
{
|
||||
Kick(player.SteamID, reason);
|
||||
}
|
||||
public void Ban(ulong steamID)
|
||||
{
|
||||
ExecuteCommand("ban " + steamID);
|
||||
}
|
||||
public void Ban(Player<TPlayer> player)
|
||||
{
|
||||
Ban(player.SteamID);
|
||||
}
|
||||
public void Kill(ulong steamID)
|
||||
{
|
||||
ExecuteCommand("kill " + steamID);
|
||||
|
|
|
@ -186,6 +186,10 @@ namespace BattleBitAPI
|
|||
if (IsConnected)
|
||||
GameServer.Kick(this, reason);
|
||||
}
|
||||
public void Ban()
|
||||
{
|
||||
GameServer.Ban(this);
|
||||
}
|
||||
public void Kill()
|
||||
{
|
||||
if (IsConnected)
|
||||
|
|
Loading…
Reference in New Issue